CMS 3D CMS Logo

SiPixelConfigParser.h
Go to the documentation of this file.
1 #ifndef SiPixelConfigParser_H
2 #define SiPixelConfigParser_H
3 
11 #include <fstream>
12 #include <map>
13 #include <string>
14 #include <vector>
15 
16 #include <boost/property_tree/xml_parser.hpp>
17 #include <boost/property_tree/ptree.hpp>
18 
20 public:
21  // Constructor
23 
25 
26  // get List of MEs for TrackerMap
27  bool getMENamesForTrackerMap(std::string &tkmap_name, std::vector<std::string> &me_names);
28  bool getFrequencyForTrackerMap(int &u_freq);
29  bool getMENamesForTree(std::string &structure_name, std::vector<std::string> &me_names);
30  bool getMENamesForBarrelSummary(std::string &structure_name, std::vector<std::string> &me_names);
31  bool getMENamesForEndcapSummary(std::string &structure_name, std::vector<std::string> &me_names);
32  bool getMENamesForFEDErrorSummary(std::string &structure_name, std::vector<std::string> &me_names);
33  bool getFrequencyForBarrelSummary(int &u_freq);
34  bool getFrequencyForEndcapSummary(int &u_freq);
35  bool getMENamesForGrandBarrelSummary(std::string &structure_name, std::vector<std::string> &me_names);
36  bool getMENamesForGrandEndcapSummary(std::string &structure_name, std::vector<std::string> &me_names);
37  bool getFrequencyForGrandBarrelSummary(int &u_freq);
38  bool getFrequencyForGrandEndcapSummary(int &u_freq);
39  bool getMessageLimitForQTests(int &u_freq);
40  bool getSourceType(int &u_freq);
41  bool getCalibType(int &u_freq);
42 
43 private:
44  boost::property_tree::ptree config_;
45 };
46 
47 #endif
SiPixelConfigParser::getCalibType
bool getCalibType(int &u_freq)
Definition: SiPixelConfigParser.cc:154
SiPixelConfigParser::getSourceType
bool getSourceType(int &u_freq)
Definition: SiPixelConfigParser.cc:147
SiPixelConfigParser::getFrequencyForEndcapSummary
bool getFrequencyForEndcapSummary(int &u_freq)
Definition: SiPixelConfigParser.cc:103
SiPixelConfigParser::getFrequencyForGrandBarrelSummary
bool getFrequencyForGrandBarrelSummary(int &u_freq)
Definition: SiPixelConfigParser.cc:126
SiPixelConfigParser::getMENamesForFEDErrorSummary
bool getMENamesForFEDErrorSummary(std::string &structure_name, std::vector< std::string > &me_names)
Definition: SiPixelConfigParser.cc:86
SiPixelConfigParser::SiPixelConfigParser
SiPixelConfigParser()
Definition: SiPixelConfigParser.cc:11
SiPixelConfigParser::getFrequencyForBarrelSummary
bool getFrequencyForBarrelSummary(int &u_freq)
Definition: SiPixelConfigParser.cc:96
SiPixelConfigParser::getMENamesForTrackerMap
bool getMENamesForTrackerMap(std::string &tkmap_name, std::vector< std::string > &me_names)
Definition: SiPixelConfigParser.cc:45
SiPixelConfigParser::getMENamesForBarrelSummary
bool getMENamesForBarrelSummary(std::string &structure_name, std::vector< std::string > &me_names)
Definition: SiPixelConfigParser.cc:71
SiPixelConfigParser::config_
boost::property_tree::ptree config_
Definition: SiPixelConfigParser.h:44
SiPixelConfigParser::getMENamesForGrandBarrelSummary
bool getMENamesForGrandBarrelSummary(std::string &structure_name, std::vector< std::string > &me_names)
Definition: SiPixelConfigParser.cc:110
SiPixelConfigParser::getFrequencyForTrackerMap
bool getFrequencyForTrackerMap(int &u_freq)
Definition: SiPixelConfigParser.cc:52
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
SiPixelConfigParser
Definition: SiPixelConfigParser.h:19
SiPixelConfigParser::getDocument
void getDocument(std::string filename)
Definition: SiPixelConfigParser.cc:16
SiPixelConfigParser::getMENamesForTree
bool getMENamesForTree(std::string &structure_name, std::vector< std::string > &me_names)
Definition: SiPixelConfigParser.cc:61
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelConfigParser::getMENamesForGrandEndcapSummary
bool getMENamesForGrandEndcapSummary(std::string &structure_name, std::vector< std::string > &me_names)
Definition: SiPixelConfigParser.cc:118
SiPixelConfigParser::getMENamesForEndcapSummary
bool getMENamesForEndcapSummary(std::string &structure_name, std::vector< std::string > &me_names)
Definition: SiPixelConfigParser.cc:78
SiPixelConfigParser::getFrequencyForGrandEndcapSummary
bool getFrequencyForGrandEndcapSummary(int &u_freq)
Definition: SiPixelConfigParser.cc:133
SiPixelConfigParser::getMessageLimitForQTests
bool getMessageLimitForQTests(int &u_freq)
Definition: SiPixelConfigParser.cc:140