CMS 3D CMS Logo

PixelTrimBase.cc
Go to the documentation of this file.
1 //
2 // This class provide a base class for the
3 // pixel mask data for the pixel FEC configuration
4 // This is a pure interface (abstract class) that
5 // needs to have an implementation.
6 //
7 // All applications should just use this
8 // interface and not care about the specific
9 // implementation
10 //
11 //
12 
15 #include <vector>
16 #include <iostream>
17 
18 using namespace pos;
19 
21  : PixelConfigBase(description, creator, date) {}
22 
24 
26 
27 std::ostream& operator<<(std::ostream& s, const PixelTrimBase& trim) {
28  s << trim.getTrimBits(0) << std::endl;
29 
30  return s;
31 }
void setOverride(PixelTrimOverrideBase *trimOverride)
This file contains the base class for "pixel configuration data" management.
static void trim(std::string &s)
This file contains the base class for "pixel configuration data" management.
PixelTrimOverrideBase * trimOverride_
Definition: PixelTrimBase.h:85
~PixelTrimBase() override
friend std::ostream & operator<<(std::ostream &s, const PixelTrimBase &mask)
This class provides a base class for the pixel trim data for the pixel FEC configuration.
This class implements..
Definition: PixelTrimBase.h:45
PixelTrimBase(std::string description, std::string creator, std::string date)
virtual PixelROCTrimBits getTrimBits(int ROCId) const =0