CMS 3D CMS Logo

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
pos::PixelMaxVsf::rocs_
std::map< PixelROCName, unsigned int > rocs_
Definition: PixelMaxVsf.h:49
pos::PixelMaxVsf::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaxVsf.cc:204
pos
Definition: PixelAliasList.h:18
PixelROCName.h
This class stores the name and related hardware mappings for a ROC.
pos::PixelConfigBase
This file contains the base class for "pixel configuration data" management.
Definition: PixelConfigBase.h:32
pos::PixelMaxVsf::PixelMaxVsf
PixelMaxVsf(std::vector< std::vector< std::string > > &tableMat)
Definition: PixelMaxVsf.cc:21
PixelConfigBase.h
This file contains the base class for "pixel configuration data" management.
pos::PixelMaxVsf::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelMaxVsf.h:32
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
pos::PixelMaxVsf::setVsf
void setVsf(PixelROCName roc, unsigned int Vsf)
Definition: PixelMaxVsf.cc:124
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelConfigKey
This class implements..
Definition: PixelConfigKey.h:20
pos::PixelMaxVsf::writeASCII
void writeASCII(std::string dir="") const override
Definition: PixelMaxVsf.cc:126
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
pos::PixelROCName
This class implements..
Definition: PixelROCName.h:23
PointingDoubleMultiSkim_cfg.out2
out2
Definition: PointingDoubleMultiSkim_cfg.py:85
PointingDoubleMultiSkim_cfg.out1
out1
Definition: PointingDoubleMultiSkim_cfg.py:57
PixelMapPlotter.roc
roc
Definition: PixelMapPlotter.py:498
pos::PixelMaxVsf::getVsf
bool getVsf(PixelROCName roc, unsigned int &Vsf) const
Definition: PixelMaxVsf.cc:112
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
crabWrapper.key
key
Definition: crabWrapper.py:19
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
pos::PixelMaxVsf
This is the documentation about PixelMaxVsf...
Definition: PixelMaxVsf.h:26
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
pos::PixelMaxVsf::writeXMLHeader
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