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 
40  PixelNameTranslation* trans,
41  const PixelMaskBase& pixelMask) const;
42 
43  void writeBinary(std::string filename) const;
44 
45  void writeASCII(std::string filename) const ;
47  virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const {;}
48  virtual void writeXML( std::ofstream *out) const {;}
49  virtual void writeXMLTrailer( std::ofstream *out) const {;}
50 
51 
52  private:
53 
54  std::vector<PixelROCName> rocname_;
55  std::vector<unsigned int> trimbits_;
56 
57  };
58 }
59 #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..
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
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
This class implements..
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
This class implements..
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...
tuple filename
Definition: lut2db_cfg.py:20
This class implements..
Definition: PixelTrimBase.h:46
virtual void writeXMLTrailer(std::ofstream *out) const