CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalRecHitMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_HCALMONITORTASKS_HCALRECHITMONITOR_H
2 #define DQM_HCALMONITORTASKS_HCALRECHITMONITOR_H
3 
6 
7 #define RECHITMON_TIME_MIN -250
8 #define RECHITMON_TIME_MAX 250
9 
16 
17  public:
19 
21 
22  void setup();
23  void beginRun(const edm::Run& run, const edm::EventSetup& c);
24  void endRun(const edm::Run& run, const edm::EventSetup& c);
25  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
26  const edm::EventSetup& c);
27  void endJob();
28  void cleanup();
29  void reset();
30  void zeroCounters();
31 
32  void analyze(const edm::Event&, const edm::EventSetup&);
33 
34  void processEvent(const HBHERecHitCollection& hbHits,
35  const HORecHitCollection& hoHits,
36  const HFRecHitCollection& hfHits,
37  int BCN,
38  const edm::Event& iEvent
39  );
40 
41  void processEvent_rechit( const HBHERecHitCollection& hbheHits,
42  const HORecHitCollection& hoHits,
43  const HFRecHitCollection& hfHits,
44  bool passedHcalHLT,
45  bool passedMinBiasHLT,
46  int BCN);
47  private:
48 
49  void fill_Nevents();
50 
56 
57  double ETThreshold_;
62 
63  // Basic Histograms
66 
73 
74  unsigned int occupancy_[85][72][4]; // will get filled when rechit found
75  unsigned int occupancy_thresh_[85][72][4]; // filled when above given energy
76  double energy_[85][72][4]; // will get filled when rechit found
77  double energy2_[85][72][4]; // will get filled when rechit found
78  double energy_thresh_[85][72][4]; // filled when above given
79  double energy2_thresh_[85][72][4]; // filled when above given
80  double time_[85][72][4]; // will get filled when rechit found
81  double time_thresh_[85][72][4]; // filled when above given energy
82 
85  double HB_occupancy_[260];
86  double HB_occupancy_thresh_[260];
89  double HE_occupancy_[260];
90  double HE_occupancy_thresh_[260];
93  double HO_occupancy_[218];
94  double HO_occupancy_thresh_[218];
97  double HFenergyLong_[200];
98  double HFenergyLong_thresh_[200];
101  double HFenergyShort_[200];
105  double HF_occupancy_[174];
106  double HF_occupancy_thresh_[174];
107  double HFlong_occupancy_[865];
109  double HFshort_occupancy_[865];
111 
112  int HEflagcounter_[32];
113  int HBflagcounter_[32];
114  int HOflagcounter_[32];
115  int HFflagcounter_[32];
116 
117  // Diagnostic plots
118 
121 
130 
133 
138 
143 
148 
153 
158 
163 
171 
176 
179 
181 
186 
191 
197 
200 
202 
208 
212 
220 
226 
229 
231  edm::InputTag l1gtLabel_; // no associated access
233 
238 
239  std::vector <std::string> HcalHLTBits_;
240  std::vector <std::string> MinBiasHLTBits_;
241 };
242 
243 #endif
double HFenergyShort_[200]
MonitorElement * h_rechitieta_100
double time_[85][72][4]
double HB_occupancy_[260]
MonitorElement * h_HOThreshTime
MonitorElement * h_HFP_weightedTime
MonitorElement * h_HFLongShort_vs_LS
MonitorElement * h_HFtimedifference
MonitorElement * h_LumiPlot_timeHT_HFP
MonitorElement * h_HBHE_FlagCorr
MonitorElement * h_HBsizeVsLS
MonitorElement * h_LumiPlot_MinTime_vs_MinHT
double HFshort_occupancy_[865]
EtaPhiHists OccupancyThreshByDepth
MonitorElement * h_HF_HcalHLT_weightedtimedifference
double HF_occupancy_thresh_[174]
MonitorElement * h_HBThreshTime
void processEvent(const HBHERecHitCollection &hbHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, int BCN, const edm::Event &iEvent)
double HFenergyLong_[200]
MonitorElement * h_FlagMap_PULSESHAPE
double HFshort_occupancy_thresh_[865]
MonitorElement * h_HBHEPulseShape_vs_LS
MonitorElement * h_HF_FlagCorr
MonitorElement * h_HOflagcounter
MonitorElement * h_rechitiphi_05
double HEtime_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
MonitorElement * h_rechitieta_10
double HO_occupancy_thresh_[218]
void beginRun(const edm::Run &run, const edm::EventSetup &c)
MonitorElement * h_LumiPlot_timeHFPlus_vs_timeHFMinus
double HBtime_thresh_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
MonitorElement * h_HFThreshTime
MonitorElement * h_rechitieta_25
MonitorElement * h_rechitiphi_10
MonitorElement * h_HFTime
MonitorElement * h_HFThreshOccupancy
MonitorElement * h_FlagMap_TIMEADD
MonitorElement * h_LumiPlot_LS_MinBiasEvents
MonitorElement * h_rechitieta
MonitorElement * h_LumiPlot_SumEnergy_HFPlus_vs_HFMinus
double HF_occupancy_[174]
edm::InputTag l1gtLabel_
MonitorElement * h_HFflagcounter
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
MonitorElement * h_HFM_weightedTime
MonitorElement * h_HBTimeVsEnergy
edm::InputTag hfRechitLabel_
MonitorElement * h_HEOccupancy
MonitorElement * h_LumiPlot_LS_allevents
MonitorElement * h_HEtimedifference
MonitorElement * h_HEM_weightedTime
MonitorElement * h_HE_HcalHLT_weightedtimedifference
MonitorElement * h_FlagMap_TIMEERROR
MonitorElement * h_HF_HcalHLT_energydifference
EtaPhiHists SumEnergyByDepth
MonitorElement * h_HOThreshOccupancy
double HE_occupancy_thresh_[260]
unsigned int occupancy_[85][72][4]
MonitorElement * h_rechitiphi_100
MonitorElement * h_HETime
MonitorElement * h_rechitieta_thresh
EtaPhiHists OccupancyByDepth
MonitorElement * h_HOOccupancy
MonitorElement * h_HFenergydifference
double time_thresh_[85][72][4]
MonitorElement * h_HEsizeVsLS
MonitorElement * h_LumiPlot_BX_MinBiasEvents_notimecut
EtaPhiHists SumTimeThreshByDepth
MonitorElement * h_HOsizeVsLS
int iEvent
Definition: GenABIO.cc:243
MonitorElement * h_LumiPlot_BX_HcalHLTEvents_notimecut
EtaPhiHists SqrtSumEnergy2ThreshByDepth
EtaPhiHists SumTimeByDepth
double HFtimeLong_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
void processEvent_rechit(const HBHERecHitCollection &hbheHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, bool passedHcalHLT, bool passedMinBiasHLT, int BCN)
unsigned int occupancy_thresh_[85][72][4]
MonitorElement * h_HETimeVsEnergy
double HEtime_thresh_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
MonitorElement * h_HEenergydifference
MonitorElement * h_HFTimeVsEnergy
MonitorElement * h_LumiPlot_BX_HcalHLTEvents
double HFtimeShort_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
double HFlong_occupancy_thresh_[865]
MonitorElement * h_HBM_weightedTime
std::vector< std::string > HcalHLTBits_
MonitorElement * h_HFsizeVsLS
EtaPhiHists SqrtSumEnergy2ByDepth
MonitorElement * h_HBOccupancy
MonitorElement * h_HFDigiTime_vs_LS
void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * h_HBHEHPDMult_vs_LS
double energy2_[85][72][4]
MonitorElement * h_HOTime
MonitorElement * h_rechitiphi_25
MonitorElement * h_FlagMap_TIMESUBTRACT
double HOtime_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
double energy2_thresh_[85][72][4]
MonitorElement * h_HEP_weightedTime
MonitorElement * h_FlagMap_LONGSHORT
MonitorElement * h_LumiPlot_BX_allevents
edm::InputTag hltresultsLabel_
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
double energy_thresh_[85][72][4]
std::vector< std::string > MinBiasHLTBits_
MonitorElement * h_HBThreshOccupancy
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
void endRun(const edm::Run &run, const edm::EventSetup &c)
edm::EDGetTokenT< HORecHitCollection > tok_ho_
MonitorElement * h_HE_HcalHLT_energydifference
MonitorElement * h_rechitiphi
edm::EDGetTokenT< edm::TriggerResults > tok_trigger_
MonitorElement * h_LumiPlot_LS_MinBiasEvents_notimecut
MonitorElement * h_HFOccupancy
double HFtime_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
MonitorElement * h_rechitieta_05
double HFtime_thresh_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
#define RECHITMON_TIME_MIN
MonitorElement * h_HEflagcounter
edm::InputTag hbheRechitLabel_
MonitorElement * h_HBTime
MonitorElement * h_rechitiphi_thresh
edm::InputTag hoRechitLabel_
MonitorElement * h_HBP_weightedTime
double HB_occupancy_thresh_[260]
MonitorElement * h_LumiPlot_BX_MinBiasEvents
MonitorElement * h_FlagMap_HPDMULT
#define RECHITMON_TIME_MAX
MonitorElement * h_HOTimeVsEnergy
MonitorElement * h_HEThreshTime
HcalRecHitMonitor(const edm::ParameterSet &ps)
double HFtimeShort_thresh_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
EtaPhiHists SumEnergyThreshByDepth
MonitorElement * h_HEThreshOccupancy
double HE_occupancy_[260]
MonitorElement * h_LumiPlot_LS_HcalHLTEvents_notimecut
MonitorElement * h_LumiPlot_LS_HcalHLTEvents
double HFlong_occupancy_[865]
double HBtime_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
MonitorElement * HFP_HFM_Energy
double HO_occupancy_[218]
double HFtimeLong_thresh_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
MonitorElement * h_FlagMap_DIGITIME
MonitorElement * h_LumiPlot_timeHT_HFM
double HFenergyShort_thresh_[200]
double HFenergyLong_thresh_[200]
MonitorElement * h_HBflagcounter
double HOtime_thresh_[RECHITMON_TIME_MAX-RECHITMON_TIME_MIN]
Definition: Run.h:41
MonitorElement * h_TriggeredEvents
MonitorElement * h_LumiPlot_SumHT_HFPlus_vs_HFMinus
double energy_[85][72][4]