CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorRecHitMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_CASTORMONITOR_CASTORRECHITMONITOR_H
2 #define DQM_CASTORMONITOR_CASTORRECHITMONITOR_H
3 
7 //#include "DataFormats/HcalRecHit/interface/CastorRecHit.h"
8 
10 public:
13 
14  void setup(const edm::ParameterSet& ps, DQMStore* dbe);
15  void processEvent(const CastorRecHitCollection& castorHits);
16  void reset();
17 
18 private:
19 
21  // float occThresh_;
22  int ievt_;
23 
25  struct{
26  MonitorElement* meRECHIT_E_all ; //-- energy of all hits
27  MonitorElement* meRECHIT_T_all ; //-- time of all hits
28  MonitorElement* meRECHIT_MAP_CHAN_E; //-- energy vs channel plot
29  MonitorElement* meRECHIT_MAP_CHAN_E2D; //-- 2D energy map
30  MonitorElement* meRECHIT_E_modules; //-- energy in modules
31  MonitorElement* meRECHIT_E_sectors; //-- energy in sectors
32  MonitorElement* meRECHIT_N_modules; //-- number of rechits in modules
33  MonitorElement* meRECHIT_N_sectors; //-- number of rechits in sectors
35  std::map<HcalCastorDetId, MonitorElement*> meRECHIT_E, meRECHIT_T; //-- complicated per-channel histogram setup
36  } castorHists ;
37 
39 
40 };
41 
42 #endif
MonitorElement * meRECHIT_E_all
MonitorElement * meRECHIT_T_all
MonitorElement * meRECHIT_E_modules
MonitorElement * meEVT_
MonitorElement * meRECHIT_E_sectors
MonitorElement * meRECHIT_N_modules
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * meRECHIT_MAP_CHAN_E
struct CastorRecHitMonitor::@165 castorHists
MonitorElement * meRECHIT_N_sectors
void processEvent(const CastorRecHitCollection &castorHits)
MonitorElement * meRECHIT_MAP_CHAN_E2D
std::map< HcalCastorDetId, MonitorElement * > meRECHIT_E
std::map< HcalCastorDetId, MonitorElement * > meRECHIT_T
MonitorElement * meCastorRecHitsOccupancy