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 {
30  class PixelTrimCommon : public PixelTrimBase {
31  public:
33 
34  //Build the commands needed to configure ROCs
35  //on control link
36 
38  PixelNameTranslation* trans,
39  const PixelMaskBase& pixelMask) const override;
40 
41  void writeBinary(std::string filename) const override;
42 
43  void writeASCII(std::string filename) const override;
44  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
48  void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream* out) const override { ; }
49  void writeXML(std::ofstream* out) const override { ; }
50  void writeXMLTrailer(std::ofstream* out) const override { ; }
51 
52  private:
53  std::vector<PixelROCName> rocname_;
54  std::vector<unsigned int> trimbits_;
55  };
56 } // namespace pos
57 #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:72
void writeXMLTrailer(std::ofstream *out) const override
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelTrimBase.h:62
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:63
This is the documentation about PixelNameTranslation...
This class implements..
Definition: PixelTrimBase.h:45
void writeXML(std::ofstream *out) const override
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override