CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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{
37 
38  public:
39 
43 
44  virtual ~PixelMaskBase();
45 
47 
48  virtual const PixelROCMaskBits& getMaskBits(int ROCId) const =0;
49 
51 
52 
53  virtual void writeBinary(std::string filename) const =0;
54 
55  virtual void writeASCII(std::string filename) const =0;
56  virtual void writeXML( pos::PixelConfigKey key, int version, std::string path) const {;}
58  int version,
60  std::ofstream *out,
61  std::ofstream *out1 = NULL,
62  std::ofstream *out2 = NULL
63  ) const {;}
64  virtual void writeXML( std::ofstream *out,
65  std::ofstream *out1 = NULL ,
66  std::ofstream *out2 = NULL ) const {;}
67  virtual void writeXMLTrailer( std::ofstream *out,
68  std::ofstream *out1 = NULL,
69  std::ofstream *out2 =NULL
70  ) const {;}
71 
72  friend std::ostream& operator<<(std::ostream& s, const PixelMaskBase& mask);
73 
74  private:
75 
76  //Hold pointer to the mask override information.
78 
79 
80  };
81 }
82 /* @} */
83 #endif
This class implements..
This file contains the base class for &quot;pixel configuration data&quot; management.
std::string description()
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
Definition: PixelMaskBase.h:57
virtual void writeXML(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
Definition: PixelMaskBase.h:64
#define NULL
Definition: scimark2.h:8
This file contains the base class for &quot;pixel configuration data&quot; management.
virtual const PixelROCMaskBits & getMaskBits(int ROCId) const =0
void setOverride(PixelMaskOverrideBase *)
This class implements..
virtual void writeXML(pos::PixelConfigKey key, int version, std::string path) const
Definition: PixelMaskBase.h:56
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
This class implements..
virtual void writeASCII(std::string filename) const =0
tuple out
Definition: dbtoconf.py:99
PixelMaskBase(std::string description, std::string creator, std::string date)
std::string date()
This is the documentation about PixelMaskOverrideBase...
PixelMaskOverrideBase * maskOverride_
Definition: PixelMaskBase.h:77
virtual ~PixelMaskBase()
std::string creator()
This class implements..
This class implements..
Definition: PixelROCName.h:23
tuple filename
Definition: lut2db_cfg.py:20
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
Definition: PixelMaskBase.h:67
virtual void writeBinary(std::string filename) const =0
friend std::ostream & operator<<(std::ostream &s, const PixelMaskBase &mask)