CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <stdint.h>
15 
17 
18 class MonitorElement;
19 class TrackerTopology;
21 {
22  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,
29  const std::string& delimiters=" ");
30  static void getMEStatusColor(int status, int& rval, int&gval, int& bval);
31  static void getMEStatusColor(int status, int& icol, std::string& tag);
32  static int getMEStatus(MonitorElement* me);
33  static int getMEStatus(MonitorElement* me, int& bad_channels);
34  static void getModuleFolderList(DQMStore::IBooker & ibooker, DQMStore::IGetter & igetter, std::vector<std::string>& m_ids);
35  static void getMEValue(MonitorElement* me, std::string & val);
36  static bool goToDir(DQMStore::IBooker & ibooker, DQMStore::IGetter & igetter, std::string name);
37  static void setBadModuleFlag(std::string & hname, uint16_t& flg);
38  static void getBadModuleStatus(uint16_t flag, std::string& message);
39  static void getTopFolderPath(DQMStore::IBooker & ibooker, DQMStore::IGetter & igetter, std::string top_dir, std::string& path);
40 };
41 
42 #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=" ")
static void getBadModuleStatus(uint16_t flag, std::string &message)
static bool goToDir(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, std::string name)
unsigned long long int rval
Definition: vlib.h:22
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)
static void getTopFolderPath(DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, std::string top_dir, std::string &path)
tuple status
Definition: mps_update.py:57