CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripUtility.h
Go to the documentation of this file.
1 #ifndef SiStripUtility_H
2 #define SiStripUtility_H
3 
13 #include <vector>
14 #include <fstream>
15 #include <string>
16 #include <map>
17 #include <stdint.h>
18 
19 class MonitorElement;
20 class DQMStore;
21 class TrackerTopology;
23 {
24  public:
25 
26  static int getMEList(std::string name, std::vector<std::string>& values);
27  static bool checkME(std::string element, std::string name, std::string& full_path);
28  static int getMEList(std::string name, std::string& dir_path, std::vector<std::string>& me_names);
29 
30  static void split(const std::string& str, std::vector<std::string>& tokens,
31  const std::string& delimiters=" ");
32  static void getMEStatusColor(int status, int& rval, int&gval, int& bval);
33  static void getDetectorStatusColor(int status, int& rval, int&gval, int& bval);
34  static void getMEStatusColor(int status, int& icol, std::string& tag);
35  static int getMEStatus(MonitorElement* me);
36  static int getMEStatus(MonitorElement* me, int& bad_channels);
37  static void getModuleFolderList(DQMStore* dqm_store, std::vector<std::string>& m_ids);
38  static void getMEValue(MonitorElement* me, std::string & val);
39  static bool goToDir(DQMStore * dqm_store, std::string name);
40  static void getSubDetectorTag(uint32_t det_id, std::string& subdet_tag, const TrackerTopology* tTopo);
41  static void setBadModuleFlag(std::string & hname, uint16_t& flg);
42  static void getBadModuleStatus(uint16_t flag, std::string& message);
43  static void getTopFolderPath(DQMStore* dqm_store, std::string type, std::string& path);
44 };
45 
46 #endif
static void setBadModuleFlag(std::string &hname, uint16_t &flg)
type
Definition: HCALResponse.h:21
long int flag
Definition: mlp_lapack.h:47
static void getMEValue(MonitorElement *me, std::string &val)
static void getDetectorStatusColor(int status, int &rval, int &gval, int &bval)
static void getBadModuleStatus(uint16_t flag, std::string &message)
static void split(const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ")
static bool checkME(std::string element, std::string name, std::string &full_path)
const std::string subdet_tag("SubDet")
unsigned long long int rval
Definition: vlib.h:23
static void getMEStatusColor(int status, int &rval, int &gval, int &bval)
static int getMEStatus(MonitorElement *me)
static int getMEList(std::string name, std::vector< std::string > &values)
static void getSubDetectorTag(uint32_t det_id, std::string &subdet_tag, const TrackerTopology *tTopo)
tuple status
Definition: ntuplemaker.py:245
static void getModuleFolderList(DQMStore *dqm_store, std::vector< std::string > &m_ids)
static bool goToDir(DQMStore *dqm_store, std::string name)
static void getTopFolderPath(DQMStore *dqm_store, std::string type, std::string &path)