CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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  public:
28  PixelMaxVsf(std::vector<std::vector<std::string> > &tableMat);
30 
31  void writeASCII(std::string dir = "") const override;
32  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
34  int version,
36  std::ofstream *out,
37  std::ofstream *out1 = nullptr,
38  std::ofstream *out2 = nullptr) const override;
39  void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const override;
40  void writeXMLTrailer(std::ofstream *out,
41  std::ofstream *out1 = nullptr,
42  std::ofstream *out2 = nullptr) const override;
43 
44  bool getVsf(PixelROCName roc, unsigned int &Vsf) const;
45 
46  void setVsf(PixelROCName roc, unsigned int Vsf);
47 
48  private:
49  std::map<PixelROCName, unsigned int> rocs_;
50  };
51 
52 } // namespace pos
53 /* @} */
54 #endif
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaxVsf.cc:204
This file contains the base class for &quot;pixel configuration data&quot; management.
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaxVsf.cc:147
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelMaxVsf.h:32
void setVsf(PixelROCName roc, unsigned int Vsf)
Definition: PixelMaxVsf.cc:124
This file contains the base class for &quot;pixel configuration data&quot; management.
tuple key
prepare the HTCondor submission files and eventually submit them
PixelMaxVsf(std::vector< std::vector< std::string > > &tableMat)
Definition: PixelMaxVsf.cc:21
std::map< PixelROCName, unsigned int > rocs_
Definition: PixelMaxVsf.h:49
bool getVsf(PixelROCName roc, unsigned int &Vsf) const
Definition: PixelMaxVsf.cc:112
This class implements..
This class implements..
Definition: PixelROCName.h:23
tuple filename
Definition: lut2db_cfg.py:20
This is the documentation about PixelMaxVsf...
Definition: PixelMaxVsf.h:26
void writeASCII(std::string dir="") const override
Definition: PixelMaxVsf.cc:126
This class stores the name and related hardware mappings for a ROC.