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 
16 class MonitorElement;
17 class DQMStore;
18 class TrackerTopology;
20 {
21  public:
22 
23  static int getMEList(std::string name, std::vector<std::string>& values);
24  static bool checkME(std::string element, std::string name, std::string& full_path);
25  static int getMEList(std::string name, std::string& dir_path, std::vector<std::string>& me_names);
26 
27  static void split(const std::string& str, std::vector<std::string>& tokens,
28  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* dqm_store, std::vector<std::string>& m_ids);
34  static void getMEValue(MonitorElement* me, std::string & val);
35  static bool goToDir(DQMStore * dqm_store, std::string name);
36  static void setBadModuleFlag(std::string & hname, uint16_t& flg);
37  static void getBadModuleStatus(uint16_t flag, std::string& message);
38  static void getTopFolderPath(DQMStore* dqm_store, std::string top_dir, std::string& path);
39 };
40 
41 #endif
static bool goToDir(DQMStore *dqm_store, std::string name)
static int getMEList(std::string name, std::vector< std::string > &values)
static void getTopFolderPath(DQMStore *dqm_store, std::string top_dir, std::string &path)
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 void getModuleFolderList(DQMStore *dqm_store, std::vector< std::string > &m_ids)
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)
tuple status
Definition: ntuplemaker.py:245