Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:17

0001 //
0002 // This class provide a base class for the
0003 // pixel mask data for the pixel FEC configuration
0004 // This is a pure interface (abstract class) that
0005 // needs to have an implementation.
0006 //
0007 // All applications should just use this
0008 // interface and not care about the specific
0009 // implementation
0010 //
0011 //
0012 
0013 #include "CalibFormats/SiPixelObjects/interface/PixelTrimBase.h"
0014 #include "CalibFormats/SiPixelObjects/interface/PixelConfigBase.h"
0015 #include <vector>
0016 #include <iostream>
0017 
0018 using namespace pos;
0019 
0020 PixelTrimBase::PixelTrimBase(std::string description, std::string creator, std::string date)
0021     : PixelConfigBase(description, creator, date) {}
0022 
0023 PixelTrimBase::~PixelTrimBase() {}
0024 
0025 void PixelTrimBase::setOverride(PixelTrimOverrideBase* override) { trimOverride_ = override; }
0026 
0027 std::ostream& operator<<(std::ostream& s, const PixelTrimBase& trim) {
0028   s << trim.getTrimBits(0) << std::endl;
0029 
0030   return s;
0031 }