Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:40

0001 #ifndef SiStripConfigParser_H
0002 #define SiStripConfigParser_H
0003 
0004 /** \class SiStripConfigParser
0005  * *
0006  *  Class that handles the SiStrip Quality Tests
0007  * 
0008  *  \author Suchandra Dutta
0009   */
0010 
0011 #include <vector>
0012 #include <fstream>
0013 #include <string>
0014 #include <map>
0015 
0016 #include <boost/property_tree/xml_parser.hpp>
0017 #include <boost/property_tree/ptree.hpp>
0018 
0019 class SiStripConfigParser {
0020 public:
0021   // Constructor
0022   SiStripConfigParser();
0023 
0024   void getDocument(std::string filepath);
0025 
0026   // get List of MEs for TrackerMap
0027   bool getMENamesForSummary(std::map<std::string, std::string>& me_names);
0028   bool getFrequencyForSummary(int& u_freq);
0029 
0030 private:
0031   boost::property_tree::ptree config_;
0032 };
0033 
0034 #endif