CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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{
31 
32  public:
33 
35 
36  //Build the commands needed to configure ROCs
37  //on control link
38 
41  const PixelMaskBase& pixelMask) const;
42 
43  void writeBinary(std::string filename) const;
44 
45  void writeASCII(std::string filename) const ;
49  std::ofstream *out,
50  std::ofstream *out1 = NULL,
51  std::ofstream *out2 = NULL
52  ) const {;}
53  virtual void writeXML( std::ofstream *out) const {;}
54  virtual void writeXMLTrailer( std::ofstream *out) const {;}
55 
56 
57  private:
58 
59  std::vector<PixelROCName> rocname_;
60  std::vector<unsigned int> trimbits_;
61 
62  };
63 }
64 #endif
std::vector< unsigned int > trimbits_
void writeBinary(std::string filename) const
PixelTrimCommon(std::string filename)
std::vector< PixelROCName > rocname_
void writeASCII(std::string filename) const
This class implements..
#define NULL
Definition: scimark2.h:8
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
This class provides a translation from the naming documents standard to specify the ROC to the corres...
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
tuple path
else: Piece not in the list, fine.
This class implements..
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
This class implements..
tuple out
Definition: dbtoconf.py:99
virtual void writeXML(std::ofstream *out) const
void generateConfiguration(PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, const PixelMaskBase &pixelMask) const
This class provides a base class for the pixel trim data for the pixel FEC configuration.
This is the documentation about PixelNameTranslation...
list key
Definition: combine.py:13
tuple filename
Definition: lut2db_cfg.py:20
This class implements..
Definition: PixelTrimBase.h:46
virtual void writeXMLTrailer(std::ofstream *out) const