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  int module;
26  int sector;
27  int zside;
28  float channel;
29 
31  float energy ;
32  float time;
33  float energyInEachChannel[14][16];
34  float totEnergy;
35 
36 
37  float allEnergyModule[14];
38  float allEnergySector[16];
39 
41  struct{
42  MonitorElement* meRECHIT_E_all ; //-- energy of all hits
43  MonitorElement* meRECHIT_T_all ; //-- time of all hits
44  MonitorElement* meRECHIT_MAP_CHAN_E; //-- energy vs channel plot
45  MonitorElement* meRECHIT_E_modules; //-- energy in modules
46  MonitorElement* meRECHIT_E_sectors; //-- energy in sectors
47  MonitorElement* meRECHIT_E_relative_modules; //-- relative energy in modules
48  MonitorElement* meRECHIT_E_relative_sectors; //-- relative energy in sectors
49  MonitorElement* meRECHIT_N_modules; //-- number of rechits in modules
50  MonitorElement* meRECHIT_N_sectors; //-- number of rechits in sectors
52  MonitorElement* meRECHIT_N_event; //-- number of rechits per event
53  std::map<HcalCastorDetId, MonitorElement*> meRECHIT_E, meRECHIT_T; //-- complicated per-channel histogram setup
54  } castorHists ;
55 
57 
58 };
59 
60 #endif
MonitorElement * meRECHIT_E_all
MonitorElement * meRECHIT_T_all
MonitorElement * meRECHIT_E_modules
float energyInEachChannel[14][16]
MonitorElement * meEVT_
MonitorElement * meRECHIT_E_sectors
MonitorElement * meRECHIT_N_modules
void setup(const edm::ParameterSet &ps, DQMStore *dbe)
MonitorElement * meRECHIT_E_relative_sectors
MonitorElement * meRECHIT_MAP_CHAN_E
struct CastorRecHitMonitor::@188 castorHists
MonitorElement * meRECHIT_E_relative_modules
MonitorElement * meRECHIT_N_sectors
MonitorElement * meRECHIT_N_event
void processEvent(const CastorRecHitCollection &castorHits)
std::map< HcalCastorDetId, MonitorElement * > meRECHIT_E
std::map< HcalCastorDetId, MonitorElement * > meRECHIT_T
MonitorElement * meCastorRecHitsOccupancy