CMS 3D CMS Logo

PixelTrimBase.h
Go to the documentation of this file.
1 #ifndef PixelTrimBase_h
2 #define PixelTrimBase_h
3 
18 #include <string>
25 
26 namespace pos {
45  class PixelTrimBase : public PixelConfigBase {
46  public:
48 
49  ~PixelTrimBase() override;
50 
51  void setOverride(PixelTrimOverrideBase* trimOverride);
52 
53  //Build the commands needed to configure ROCs
54  //on control link
55 
56  virtual void generateConfiguration(PixelFECConfigInterface* pixelFEC,
57  PixelNameTranslation* trans,
58  const PixelMaskBase& pixelMask) const = 0;
59  virtual void writeBinary(std::string filename) const = 0;
60 
61  void writeASCII(std::string filename) const override = 0;
62  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
64  int version,
66  std::ofstream* out,
67  std::ofstream* out1 = nullptr,
68  std::ofstream* out2 = nullptr) const override {
69  ;
70  }
71  void writeXML(std::ofstream* out, std::ofstream* out1 = nullptr, std::ofstream* out2 = nullptr) const override { ; }
72  void writeXMLTrailer(std::ofstream* out,
73  std::ofstream* out1 = nullptr,
74  std::ofstream* out2 = nullptr) const override {
75  ;
76  }
77 
78  virtual PixelROCTrimBits getTrimBits(int ROCId) const = 0;
79 
81 
82  friend std::ostream& operator<<(std::ostream& s, const PixelTrimBase& mask);
83 
84  private:
86  };
87 } // namespace pos
88 /* @} */
89 #endif
pos::PixelConfigBase::date
std::string date()
pos::PixelFECConfigInterface
This class implements..
Definition: PixelFECConfigInterface.h:23
pos::PixelTrimOverrideBase
Definition: PixelTrimOverrideBase.h:21
pos::PixelMaskBase
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
pos
Definition: PixelAliasList.h:18
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.
pos::PixelConfigBase
This file contains the base class for "pixel configuration data" management.
Definition: PixelConfigBase.h:32
PixelROCTrimBits.h
This class implements..
PixelFECConfigInterface.h
This class intends to define an abstract interface for the commands to talk to the PixelFEC.
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
alignCSCRings.s
s
Definition: alignCSCRings.py:92
pos::PixelTrimBase::writeASCII
void writeASCII(std::string filename) const override=0
pos::PixelTrimBase
This class implements..
Definition: PixelTrimBase.h:45
pos::PixelConfigBase::creator
std::string creator()
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
pos::PixelTrimBase::writeXML
void writeXML(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTrimBase.h:71
pos::PixelTrimBase::operator<<
friend std::ostream & operator<<(std::ostream &s, const PixelTrimBase &mask)
Definition: PixelTrimBase.cc:27
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelTrimBase::getTrimBits
virtual PixelROCTrimBits getTrimBits(int ROCId) const =0
pos::PixelTrimBase::generateConfiguration
virtual void generateConfiguration(PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const =0
PixelTrimOverrideBase.h
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::PixelROCName
This class implements..
Definition: PixelROCName.h:23
pos::PixelTrimBase::trimOverride_
PixelTrimOverrideBase * trimOverride_
Definition: PixelTrimBase.h:85
pos::PixelTrimBase::setOverride
void setOverride(PixelTrimOverrideBase *trimOverride)
Definition: PixelTrimBase.cc:25
pos::PixelConfigBase::description
std::string description()
PointingDoubleMultiSkim_cfg.out2
out2
Definition: PointingDoubleMultiSkim_cfg.py:85
pos::PixelTrimBase::PixelTrimBase
PixelTrimBase(std::string description, std::string creator, std::string date)
Definition: PixelTrimBase.cc:20
PointingDoubleMultiSkim_cfg.out1
out1
Definition: PointingDoubleMultiSkim_cfg.py:57
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
pos::PixelTrimBase::writeBinary
virtual void writeBinary(std::string filename) const =0
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::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
pos::PixelTrimBase::~PixelTrimBase
~PixelTrimBase() override
Definition: PixelTrimBase.cc:23