CMS 3D CMS Logo

PixelTrimAllPixels.h
Go to the documentation of this file.
1 #ifndef PixelTrimAllPixels_h
2 #define PixelTrimAllPixels_h
3 
11 #include <string>
12 #include <vector>
18 
19 namespace pos {
32  public:
34  PixelTrimAllPixels(std::vector<std::vector<std::string> > &tableMat);
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 { ; }
48  int version,
50  std::ofstream *out,
51  std::ofstream *out1 = nullptr,
52  std::ofstream *out2 = nullptr) const override;
53  void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const override;
54  void writeXMLTrailer(std::ofstream *out,
55  std::ofstream *out1 = nullptr,
56  std::ofstream *out2 = nullptr) const override;
57 
58  PixelROCTrimBits getTrimBits(int ROCId) const override;
59 
61 
62  private:
63  std::vector<std::string> rocname_;
64  std::vector<PixelROCTrimBits> trimbits_;
65  };
66 } // namespace pos
67 /* @} */
68 #endif
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
void writeASCII(std::string filename) const override
This class provides a translation from the naming documents standard to specify the ROC to the corres...
std::vector< std::string > rocname_
key
prepare the HTCondor submission files and eventually submit them
std::vector< PixelROCTrimBits > trimbits_
This class implements..
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
This class implements..
void generateConfiguration(PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const override
PixelTrimAllPixels(std::string filename)
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This class provides a base class for the pixel trim data for the pixel FEC configuration.
This is the documentation about PixelNameTranslation...
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This class implements..
Definition: PixelROCName.h:23
This class implements..
PixelROCTrimBits getTrimBits(int ROCId) const override
This class implements..
Definition: PixelTrimBase.h:45
void writeBinary(std::string filename) const override
This class stores the name and related hardware mappings for a ROC.