CMS 3D CMS Logo

TrackingUtility.h
Go to the documentation of this file.
1 #ifndef TrackingUtility_H
2 #define TrackingUtility_H
3 
10 #include <vector>
11 #include <fstream>
12 #include <string>
13 #include <map>
14 #include <cstdint>
15 
17 
18 class TrackerTopology;
20 public:
23 
24  static int getMEList(std::string name, std::vector<std::string>& values);
25  static bool checkME(std::string element, std::string name, std::string& full_path);
26  static int getMEList(std::string name, std::string& dir_path, std::vector<std::string>& me_names);
27 
28  static void split(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters = " ");
29  static void getMEStatusColor(int status, int& rval, int& gval, int& bval);
30  static void getMEStatusColor(int status, int& icol, std::string& tag);
31  static int getMEStatus(MonitorElement* me);
32  static int getMEStatus(MonitorElement* me, int& bad_channels);
33  static void getModuleFolderList(DQMStore::IBooker& ibooker,
34  DQMStore::IGetter& igetter,
35  std::vector<std::string>& m_ids);
36  static void getMEValue(MonitorElement* me, std::string& val);
37  static bool goToDir(DQMStore::IBooker& ibooker, DQMStore::IGetter& igetter, std::string name);
38  static void setBadModuleFlag(std::string& hname, uint16_t& flg);
39  static void getBadModuleStatus(uint16_t flag, std::string& message);
40  static void getTopFolderPath(DQMStore::IBooker& ibooker,
41  DQMStore::IGetter& igetter,
42  std::string top_dir,
43  std::string& path);
44 };
45 
46 #endif
static void getModuleFolderList(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, std::vector< std::string > &m_ids)
static int getMEList(std::string name, std::vector< std::string > &values)
static bool checkME(std::string element, std::string name, std::string &full_path)
static int getMEStatus(MonitorElement *me)
static void split(const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ")
dqm::harvesting::DQMStore DQMStore
static void getBadModuleStatus(uint16_t flag, std::string &message)
dqm::harvesting::MonitorElement MonitorElement
static bool goToDir(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, std::string name)
static void getMEStatusColor(int status, int &rval, int &gval, int &bval)
static void setBadModuleFlag(std::string &hname, uint16_t &flg)
static void getMEValue(MonitorElement *me, std::string &val)
#define str(s)
static void getTopFolderPath(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, std::string top_dir, std::string &path)