CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripTrackerMapCreator.h
Go to the documentation of this file.
1 #ifndef _SiStripTrackerMapCreator_h_
2 #define _SiStripTrackerMapCreator_h_
3 
8 
9 #include <fstream>
10 #include <map>
11 #include <vector>
12 #include <string>
13 
14 class DQMStore;
15 class TkDetMap;
16 class TrackerMap;
17 class MonitorElement;
18 namespace edm { class EventSetup; }
19 
21 
22  public:
23 
24  // SiStripTrackerMapCreator();
27  bool readConfiguration();
28 
29  void create(const edm::ParameterSet & tkmapPset,
30  DQMStore* dqm_store, std::string& htype);
31  void createForOffline(const edm::ParameterSet & tkmapPset,
32  DQMStore* dqm_store, std::string& htype);
33 
34 
35  private:
36 
37  void paintTkMapFromAlarm(uint32_t det_id, DQMStore* dqm_store, bool isBad=false, std::map<unsigned int,std::string>* badmodmap=0);
38  void paintTkMapFromHistogram(DQMStore* dqm_store, MonitorElement* me, std::string& map_type);
39  void setTkMapFromHistogram(DQMStore* dqm_store, std::string& htype);
40  void setTkMapFromAlarm(DQMStore* dqm_store);
41  void setTkMapRange(std::string& map_type);
42  void setTkMapRangeOffline();
43  uint16_t getDetectorFlagAndComment(DQMStore* dqm_store, uint32_t det_id, std::ostringstream& comment);
44  void printBadModuleList(std::map<unsigned int,std::string>* badmodmap);
45 
47  std::string tkMapName_;
48  std::string stripTopLevelDir_;
49 
50  float tkMapMax_;
51  float tkMapMin_;
54  std::string ssqLabel_;
55  int nDet;
59 };
60 #endif
void create(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &htype)
void setTkMapFromHistogram(DQMStore *dqm_store, std::string &htype)
edm::ESHandle< SiStripDetCabling > detcabling_
void paintTkMapFromHistogram(DQMStore *dqm_store, MonitorElement *me, std::string &map_type)
void setTkMapFromAlarm(DQMStore *dqm_store)
const edm::EventSetup & eSetup_
void printBadModuleList(std::map< unsigned int, std::string > *badmodmap)
void paintTkMapFromAlarm(uint32_t det_id, DQMStore *dqm_store, bool isBad=false, std::map< unsigned int, std::string > *badmodmap=0)
void createForOffline(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &htype)
SiStripTrackerMapCreator(const edm::EventSetup &eSetup)
void setTkMapRange(std::string &map_type)
uint16_t getDetectorFlagAndComment(DQMStore *dqm_store, uint32_t det_id, std::ostringstream &comment)
#define comment(par)
Definition: vmac.h:162