1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef SiStripConfigParser_H
#define SiStripConfigParser_H
/** \class SiStripConfigParser
* *
* Class that handles the SiStrip Quality Tests
*
* \author Suchandra Dutta
*/
#include <vector>
#include <fstream>
#include <string>
#include <map>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/property_tree/ptree.hpp>
class SiStripConfigParser {
public:
// Constructor
SiStripConfigParser();
void getDocument(std::string filepath);
// get List of MEs for TrackerMap
bool getMENamesForSummary(std::map<std::string, std::string>& me_names);
bool getFrequencyForSummary(int& u_freq);
private:
boost::property_tree::ptree config_;
};
#endif
|