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
pos::PixelTrimCommon::writeXML
void writeXML(std::ofstream *out) const override
Definition: PixelTrimCommon.h:49
pos::PixelFECConfigInterface
This class implements..
Definition: PixelFECConfigInterface.h:23
pos::PixelTrimCommon::writeBinary
void writeBinary(std::string filename) const override
Definition: PixelTrimCommon.cc:134
PixelMaskBase.h
pos::PixelMaskBase
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
pos
Definition: PixelAliasList.h:18
PixelTrimBase.h
This class provides a base class for the pixel trim data for the pixel FEC configuration.
pos::PixelTrimCommon::generateConfiguration
void generateConfiguration(PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const override
Definition: PixelTrimCommon.cc:113
PixelROCTrimBits.h
This class implements..
pos::PixelTrimCommon::writeXMLHeader
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const override
Definition: PixelTrimCommon.h:48
PixelNameTranslation.h
This class provides a translation from the naming documents standard to specify the ROC to the corres...
pos::PixelTrimCommon
This class implements..
Definition: PixelTrimCommon.h:30
pos::PixelTrimBase
This class implements..
Definition: PixelTrimBase.h:45
pos::PixelTrimBase::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: PixelTrimBase.h:63
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
pos::PixelTrimCommon::trimbits_
std::vector< unsigned int > trimbits_
Definition: PixelTrimCommon.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelConfigKey
This class implements..
Definition: PixelConfigKey.h:20
pos::PixelTrimBase::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelTrimBase.h:62
pos::PixelTrimCommon::writeASCII
void writeASCII(std::string filename) const override
Definition: PixelTrimCommon.cc:143
pos::PixelTrimCommon::PixelTrimCommon
PixelTrimCommon(std::string filename)
Definition: PixelTrimCommon.cc:19
pos::PixelTrimCommon::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out) const override
Definition: PixelTrimCommon.h:50
pos::PixelTrimCommon::rocname_
std::vector< PixelROCName > rocname_
Definition: PixelTrimCommon.h:53
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
pos::PixelTrimCommon::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelTrimCommon.h:44
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::PixelTrimBase::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTrimBase.h:72