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  std::string creator,
23  PixelConfigBase(description,creator,date){
24 }
25 
26 
28 
30  trimOverride_=override;
31 }
32 
33 std::ostream& operator<<(std::ostream& s, const PixelTrimBase& trim){
34 
35  s << trim.getTrimBits(0) <<std::endl;
36 
37  return s;
38 
39 }
40 
41 
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:96
~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:46
PixelTrimBase(std::string description, std::string creator, std::string date)
virtual PixelROCTrimBits getTrimBits(int ROCId) const =0