CMS 3D CMS Logo

PixelMaskBase.h
Go to the documentation of this file.
1 #ifndef PixelMaskBase_h
2 #define PixelMaskBase_h
3 
13 #include <vector>
16 #include <string>
17 #include <iostream>
18 
19 namespace pos {
36  class PixelMaskBase : public PixelConfigBase {
37  public:
39 
40  ~PixelMaskBase() override;
41 
43 
44  virtual const PixelROCMaskBits &getMaskBits(int ROCId) const = 0;
45 
47 
48  virtual void writeBinary(std::string filename) const = 0;
49 
50  void writeASCII(std::string filename) const override = 0;
51  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
53  int version,
55  std::ofstream *out,
56  std::ofstream *out1 = nullptr,
57  std::ofstream *out2 = nullptr) const override {
58  ;
59  }
60  void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const override { ; }
61  void writeXMLTrailer(std::ofstream *out,
62  std::ofstream *out1 = nullptr,
63  std::ofstream *out2 = nullptr) const override {
64  ;
65  }
66 
67  friend std::ostream &operator<<(std::ostream &s, const PixelMaskBase &mask);
68 
69  private:
70  //Hold pointer to the mask override information.
72  };
73 } // namespace pos
74 /* @} */
75 #endif
pos::PixelMaskBase::maskOverride_
PixelMaskOverrideBase * maskOverride_
Definition: PixelMaskBase.h:71
pos::PixelConfigBase::date
std::string date()
pos::PixelROCMaskBits
This class implements..
Definition: PixelROCMaskBits.h:24
pos::PixelMaskBase::writeBinary
virtual void writeBinary(std::string filename) const =0
pos::PixelMaskBase
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
pos
Definition: PixelAliasList.h:18
pos::PixelMaskBase::getMaskBits
virtual const PixelROCMaskBits & getMaskBits(int ROCId) const =0
pos::PixelMaskBase::writeASCII
void writeASCII(std::string filename) const override=0
pos::PixelConfigBase
This file contains the base class for "pixel configuration data" management.
Definition: PixelConfigBase.h:32
pos::PixelMaskBase::PixelMaskBase
PixelMaskBase(std::string description, std::string creator, std::string date)
Definition: PixelMaskBase.cc:17
pos::PixelMaskBase::setOverride
void setOverride(PixelMaskOverrideBase *)
Definition: PixelMaskBase.cc:22
alignCSCRings.s
s
Definition: alignCSCRings.py:92
pos::PixelConfigBase::creator
std::string creator()
PixelConfigBase.h
This file contains the base class for "pixel configuration data" management.
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
pos::PixelMaskOverrideBase
This is the documentation about PixelMaskOverrideBase...
Definition: PixelMaskOverrideBase.h:23
pos::PixelMaskBase::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: PixelMaskBase.h:52
pos::PixelConfigKey
This class implements..
Definition: PixelConfigKey.h:20
pos::PixelROCName
This class implements..
Definition: PixelROCName.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelMaskBase::~PixelMaskBase
~PixelMaskBase() override
Definition: PixelMaskBase.cc:20
pos::PixelConfigBase::description
std::string description()
PixelMaskOverrideBase.h
This class implements..
pos::PixelMaskBase::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaskBase.h:61
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
PixelROCMaskBits.h
This class implements..
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
pos::PixelMaskBase::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelMaskBase.h:51
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
crabWrapper.key
key
Definition: crabWrapper.py:19
pos::PixelMaskBase::writeXML
void writeXML(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaskBase.h:60
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
pos::PixelMaskBase::operator<<
friend std::ostream & operator<<(std::ostream &s, const PixelMaskBase &mask)
Definition: PixelMaskBase.cc:24