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;
22 {
23  public:
24 
25  static int getMEList(std::string name, std::vector<std::string>& values);
26  static bool checkME(std::string element, std::string name, std::string& full_path);
27  static int getMEList(std::string name, std::string& dir_path, std::vector<std::string>& me_names);
28 
29  static void split(const std::string& str, std::vector<std::string>& tokens,
30  const std::string& delimiters=" ");
31  static void getMEStatusColor(int status, int& rval, int&gval, int& bval);
32  static void getDetectorStatusColor(int status, int& rval, int&gval, int& bval);
33  static void getMEStatusColor(int status, int& icol, std::string& tag);
34  static int getMEStatus(MonitorElement* me);
35  static int getMEStatus(MonitorElement* me, int& bad_channels);
36  static void getModuleFolderList(DQMStore* dqm_store, std::vector<std::string>& m_ids);
37  static void getMEValue(MonitorElement* me, std::string & val);
38  static bool goToDir(DQMStore * dqm_store, std::string name);
39  static void getSubDetectorTag(uint32_t det_id, std::string& subdet_tag);
40  static void setBadModuleFlag(std::string & hname, uint16_t& flg);
41  static void getBadModuleStatus(uint16_t flag, std::string& message);
42  static void getTopFolderPath(DQMStore* dqm_store, std::string type, std::string& path);
43 };
44 
45 #endif
static void setBadModuleFlag(std::string &hname, uint16_t &flg)
type
Definition: HCALResponse.h:22
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 void getSubDetectorTag(uint32_t det_id, std::string &subdet_tag)
static bool checkME(std::string element, std::string name, std::string &full_path)
int path() const
Definition: HLTadd.h:3
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)
string message
Definition: argparse.py:126
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)