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 
20 
21  public:
22 
25  bool readConfiguration();
26 
27  void create(const edm::ParameterSet & tkmapPset,
28  const edm::ESHandle<SiStripFedCabling>& fedcabling,
29  DQMStore* dqm_store, std::string& htype);
30  void createForOffline(const edm::ParameterSet & tkmapPset, DQMStore* dqm_store, std::string& htype);
31 
32 
33  private:
34 
35  void paintTkMapFromAlarm(uint32_t det_id, DQMStore* dqm_store);
36  void paintTkMapFromHistogram(DQMStore* dqm_store, MonitorElement* me, std::string& map_type);
37  void setTkMapFromHistogram(DQMStore* dqm_store, std::string& htype);
38  void setTkMapRange(std::string& map_type);
39  uint16_t getDetectorFlagAndComment(DQMStore* dqm_store, uint32_t det_id, std::ostringstream& comment);
40 
42  std::string tkMapName_;
43 
44  float tkMapMax;
45  float tkMapMin;
46  int nDet;
48 };
49 #endif
void setTkMapFromHistogram(DQMStore *dqm_store, std::string &htype)
void paintTkMapFromHistogram(DQMStore *dqm_store, MonitorElement *me, std::string &map_type)
void paintTkMapFromAlarm(uint32_t det_id, DQMStore *dqm_store)
void createForOffline(const edm::ParameterSet &tkmapPset, DQMStore *dqm_store, std::string &htype)
void create(const edm::ParameterSet &tkmapPset, const edm::ESHandle< SiStripFedCabling > &fedcabling, DQMStore *dqm_store, std::string &htype)
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