CMS 3D CMS Logo

PixelTrimCommon.h
Go to the documentation of this file.
1 #ifndef PixelTrimACommon_h
2 #define PixelTrimACommon_h
3 
11 #include <string>
12 #include <vector>
17 
18 namespace pos{
31 
32  public:
33 
35 
36  //Build the commands needed to configure ROCs
37  //on control link
38 
40  PixelNameTranslation* trans,
41  const PixelMaskBase& pixelMask) const override;
42 
43  void writeBinary(std::string filename) const override;
44 
45  void writeASCII(std::string filename) const override ;
46  void writeXML( pos::PixelConfigKey key, int version, std::string path) const override {;}
47  void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const override {;}
48  void writeXML( std::ofstream *out) const override {;}
49  void writeXMLTrailer( std::ofstream *out) const override {;}
50 
51 
52  private:
53 
54  std::vector<PixelROCName> rocname_;
55  std::vector<unsigned int> trimbits_;
56 
57  };
58 }
59 #endif
std::vector< unsigned int > trimbits_
void writeBinary(std::string filename) const override
PixelTrimCommon(std::string filename)
std::vector< PixelROCName > rocname_
This class implements..
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const override
void generateConfiguration(PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const override
This class provides a translation from the naming documents standard to specify the ROC to the corres...
void writeXMLTrailer(std::ofstream *out) const override
void writeASCII(std::string filename) const override
This class implements..
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
This class implements..
This class provides a base class for the pixel trim data for the pixel FEC configuration.
This is the documentation about PixelNameTranslation...
This class implements..
Definition: PixelTrimBase.h:46
void writeXML(std::ofstream *out) const override
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override