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 beginRun(const edm::EventSetup& iSetup);
16  void processEvent(const CastorRecHitCollection& castorHits);
17  void reset();
18 
19 private:
20 
22  // float occThresh_;
23  int ievt_;
24 
26  int module;
27  int sector;
28  int zside;
29  float channel;
30 
32  float energy ;
33  float time;
34  float energyInEachChannel[14][16];
35  float totEnergy;
36 
37 
38  float allEnergyModule[14];
39  float allEnergySector[16];
40 
42  struct{
43  MonitorElement* meRECHIT_E_all ; //-- energy of all hits
44  MonitorElement* meRECHIT_T_all ; //-- time of all hits
45  MonitorElement* meRECHIT_MAP_CHAN_E; //-- energy vs channel plot
46  MonitorElement* meRECHIT_E_modules; //-- energy in modules
47  MonitorElement* meRECHIT_E_sectors; //-- energy in sectors
48  MonitorElement* meRECHIT_E_relative_modules; //-- relative energy in modules
49  MonitorElement* meRECHIT_E_relative_sectors; //-- relative energy in sectors
50  MonitorElement* meRECHIT_N_modules; //-- number of rechits in modules
51  MonitorElement* meRECHIT_N_sectors; //-- number of rechits in sectors
53  MonitorElement* meRECHIT_N_event; //-- number of rechits per event
54  std::map<HcalCastorDetId, MonitorElement*> meRECHIT_E, meRECHIT_T; //-- complicated per-channel histogram setup
55  } castorHists ;
56 
58 
59 };
60 
61 #endif
MonitorElement * meRECHIT_E_all
MonitorElement * meRECHIT_T_all
MonitorElement * meRECHIT_E_modules
float energyInEachChannel[14][16]
MonitorElement * meEVT_
struct CastorRecHitMonitor::@280 castorHists
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
void beginRun(const edm::EventSetup &iSetup)
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