00001 #ifndef SiPixelConfigParser_H 00002 #define SiPixelConfigParser_H 00003 00013 #include "DQMServices/ClientConfig/interface/DQMParserBase.h" 00014 #include <vector> 00015 #include <fstream> 00016 #include <string> 00017 #include <map> 00018 00019 00020 class SiPixelConfigParser : public DQMParserBase { 00021 00022 public: 00023 00024 00025 // Constructor 00026 SiPixelConfigParser(); 00027 00028 // Destructor 00029 ~SiPixelConfigParser(); 00030 00031 // get List of MEs for TrackerMap 00032 bool getMENamesForTrackerMap(std::string& tkmap_name,std::vector<std::string>& me_names); 00033 bool getFrequencyForTrackerMap(int& u_freq); 00034 bool getMENamesForTree(std::string &structure_name, std::vector<std::string>& me_names); 00035 bool getMENamesForBarrelSummary(std::string &structure_name, std::vector<std::string>& me_names); 00036 bool getMENamesForEndcapSummary(std::string &structure_name, std::vector<std::string>& me_names); 00037 bool getMENamesForFEDErrorSummary(std::string &structure_name, std::vector<std::string>& me_names); 00038 bool getFrequencyForBarrelSummary(int& u_freq); 00039 bool getFrequencyForEndcapSummary(int& u_freq); 00040 bool getMENamesForGrandBarrelSummary(std::string &structure_name, std::vector<std::string>& me_names); 00041 bool getMENamesForGrandEndcapSummary(std::string &structure_name, std::vector<std::string>& me_names); 00042 bool getFrequencyForGrandBarrelSummary(int& u_freq); 00043 bool getFrequencyForGrandEndcapSummary(int& u_freq); 00044 bool getMessageLimitForQTests(int& u_freq); 00045 bool getSourceType(int& u_freq); 00046 bool getCalibType(int& u_freq); 00047 private: 00048 00049 }; 00050 00051 #endif