CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
bool getMENamesForTree(std::string &structure_name, std::vector< std::string > &me_names)
bool getMENamesForEndcapSummary(std::string &structure_name, std::vector< std::string > &me_names)
bool getCalibType(int &u_freq)
bool getMENamesForGrandEndcapSummary(std::string &structure_name, std::vector< std::string > &me_names)
boost::property_tree::ptree config_
bool getFrequencyForGrandBarrelSummary(int &u_freq)
bool getFrequencyForEndcapSummary(int &u_freq)
bool getMENamesForFEDErrorSummary(std::string &structure_name, std::vector< std::string > &me_names)
bool getMENamesForGrandBarrelSummary(std::string &structure_name, std::vector< std::string > &me_names)
bool getFrequencyForBarrelSummary(int &u_freq)
bool getFrequencyForGrandEndcapSummary(int &u_freq)
bool getMENamesForTrackerMap(std::string &tkmap_name, std::vector< std::string > &me_names)
bool getMENamesForBarrelSummary(std::string &structure_name, std::vector< std::string > &me_names)
bool getMessageLimitForQTests(int &u_freq)
bool getSourceType(int &u_freq)
tuple filename
Definition: lut2db_cfg.py:20
void getDocument(std::string filename)
bool getFrequencyForTrackerMap(int &u_freq)