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 {;}
50  void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const override {;}
51  void writeXML( std::ofstream *out) const override {;}
52  void writeXMLTrailer( std::ofstream *out) const override {;}
53 
54 
55  private:
56 
57  std::vector<PixelROCName> rocname_;
58  std::vector<unsigned int> trimbits_;
59 
60  };
61 }
62 #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, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTrimBase.h:82
void writeXMLTrailer(std::ofstream *out) const override
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelTrimBase.h:67
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.
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTrimBase.h:71
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