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
pos::PixelTrimAllPixels::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTrimAllPixels.cc:296
pos::PixelFECConfigInterface
This class implements..
Definition: PixelFECConfigInterface.h:23
pos::PixelTrimAllPixels::getTrimBits
PixelROCTrimBits getTrimBits(int ROCId) const override
Definition: PixelTrimAllPixels.cc:179
PixelMaskBase.h
pos::PixelTrimAllPixels::writeBinary
void writeBinary(std::string filename) const override
Definition: PixelTrimAllPixels.cc:220
pos::PixelMaskBase
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
pos
Definition: PixelAliasList.h:18
pos::PixelTrimAllPixels::generateConfiguration
void generateConfiguration(PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const override
Definition: PixelTrimAllPixels.cc:190
PixelROCName.h
This class stores the name and related hardware mappings for a ROC.
PixelTrimBase.h
This class provides a base class for the pixel trim data for the pixel FEC configuration.
PixelROCTrimBits.h
This class implements..
PixelNameTranslation.h
This class provides a translation from the naming documents standard to specify the ROC to the corres...
pos::PixelROCTrimBits
This class implements..
Definition: PixelROCTrimBits.h:23
pos::PixelTrimBase
This class implements..
Definition: PixelTrimBase.h:45
pos::PixelTrimAllPixels
Definition: PixelTrimAllPixels.h:31
pos::PixelTrimAllPixels::writeASCII
void writeASCII(std::string filename) const override
Definition: PixelTrimAllPixels.cc:228
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
pos::PixelTrimAllPixels::writeXMLHeader
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTrimAllPixels.cc:241
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelConfigKey
This class implements..
Definition: PixelConfigKey.h:20
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
pos::PixelROCName
This class implements..
Definition: PixelROCName.h:23
pos::PixelTrimAllPixels::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelTrimAllPixels.h:46
PointingDoubleMultiSkim_cfg.out2
out2
Definition: PointingDoubleMultiSkim_cfg.py:85
PointingDoubleMultiSkim_cfg.out1
out1
Definition: PointingDoubleMultiSkim_cfg.py:57
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
pos::PixelTrimAllPixels::trimbits_
std::vector< PixelROCTrimBits > trimbits_
Definition: PixelTrimAllPixels.h:64
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
pos::PixelNameTranslation
This is the documentation about PixelNameTranslation...
Definition: PixelNameTranslation.h:41
crabWrapper.key
key
Definition: crabWrapper.py:19
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
pos::PixelTrimAllPixels::PixelTrimAllPixels
PixelTrimAllPixels(std::string filename)
Definition: PixelTrimAllPixels.cc:80
pos::PixelTrimAllPixels::rocname_
std::vector< std::string > rocname_
Definition: PixelTrimAllPixels.h:63