test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelMaxVsf.h
Go to the documentation of this file.
1 #ifndef PixelMaxVsf_h
2 #define PixelMaxVsf_h
3 
9 #include <map>
10 #include <string>
11 #include <vector>
14 
15 namespace pos{
26  class PixelMaxVsf: public PixelConfigBase {
27 
28  public:
29 
30  PixelMaxVsf(std::vector< std::vector < std::string> > &tableMat);
32 
33  void writeASCII(std::string dir="") const;
35  virtual void writeXMLHeader( pos::PixelConfigKey key,
36  int version,
38  std::ofstream *out,
39  std::ofstream *out1 = NULL,
40  std::ofstream *out2 = NULL
41  ) const ;
42  virtual void writeXML( std::ofstream *out,
43  std::ofstream *out1 = NULL ,
44  std::ofstream *out2 = NULL ) const ;
45  virtual void writeXMLTrailer( std::ofstream *out,
46  std::ofstream *out1 = NULL,
47  std::ofstream *out2 = NULL
48  ) const ;
49 
50  bool getVsf(PixelROCName roc, unsigned int& Vsf) const;
51 
52  void setVsf(PixelROCName roc, unsigned int Vsf);
53 
54  private:
55 
56  std::map<PixelROCName, unsigned int> rocs_;
57 
58  };
59 
60 }
61 /* @} */
62 #endif
This file contains the base class for &quot;pixel configuration data&quot; management.
void setVsf(PixelROCName roc, unsigned int Vsf)
Definition: PixelMaxVsf.cc:140
#define NULL
Definition: scimark2.h:8
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
Definition: PixelMaxVsf.cc:233
This file contains the base class for &quot;pixel configuration data&quot; management.
PixelMaxVsf(std::vector< std::vector< std::string > > &tableMat)
Definition: PixelMaxVsf.cc:22
std::map< PixelROCName, unsigned int > rocs_
Definition: PixelMaxVsf.h:56
bool getVsf(PixelROCName roc, unsigned int &Vsf) const
Definition: PixelMaxVsf.cc:125
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
This class implements..
This class implements..
Definition: PixelROCName.h:23
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
Definition: PixelMaxVsf.cc:171
tuple filename
Definition: lut2db_cfg.py:20
This is the documentation about PixelMaxVsf...
Definition: PixelMaxVsf.h:26
dbl *** dir
Definition: mlp_gen.cc:35
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
Definition: PixelMaxVsf.h:34
void writeASCII(std::string dir="") const
Definition: PixelMaxVsf.cc:148
This class stores the name and related hardware mappings for a ROC.