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 
7 
8 #define RECHITMON_TIME_MIN -250
9 #define RECHITMON_TIME_MAX 250
10 
19 
20  public:
22 
24 
25  void setup();
26  void beginRun(const edm::Run& run, const edm::EventSetup& c);
27  void endRun(const edm::Run& run, const edm::EventSetup& c);
28  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
29  const edm::EventSetup& c);
30  void endJob();
31  void cleanup();
32  void reset();
33  void zeroCounters();
34 
35  void analyze(const edm::Event&, const edm::EventSetup&);
36 
37  void processEvent(const HBHERecHitCollection& hbHits,
38  const HORecHitCollection& hoHits,
39  const HFRecHitCollection& hfHits,
40  int BCN,
41  const edm::Event& iEvent
42  );
43 
44  void processEvent_rechit( const HBHERecHitCollection& hbheHits,
45  const HORecHitCollection& hoHits,
46  const HFRecHitCollection& hfHits,
47  bool passedHcalHLT,
48  bool passedMinBiasHLT,
49  int BCN);
50  private:
51 
52  void fill_Nevents();
53 
59 
60  double ETThreshold_;
65 
67 
68  // Basic Histograms
71 
78 
79  unsigned int occupancy_[85][72][4]; // will get filled when rechit found
80  unsigned int occupancy_thresh_[85][72][4]; // filled when above given energy
81  double energy_[85][72][4]; // will get filled when rechit found
82  double energy2_[85][72][4]; // will get filled when rechit found
83  double energy_thresh_[85][72][4]; // filled when above given
84  double energy2_thresh_[85][72][4]; // filled when above given
85  double time_[85][72][4]; // will get filled when rechit found
86  double time_thresh_[85][72][4]; // filled when above given energy
87 
90  double HB_occupancy_[260];
91  double HB_occupancy_thresh_[260];
94  double HE_occupancy_[260];
95  double HE_occupancy_thresh_[260];
98  double HO_occupancy_[218];
99  double HO_occupancy_thresh_[218];
102  double HFenergyLong_[200];
103  double HFenergyLong_thresh_[200];
106  double HFenergyShort_[200];
110  double HF_occupancy_[174];
111  double HF_occupancy_thresh_[174];
112  double HFlong_occupancy_[865];
114  double HFshort_occupancy_[865];
116 
117  int HEflagcounter_[32];
118  int HBflagcounter_[32];
119  int HOflagcounter_[32];
120  int HFflagcounter_[32];
121 
122  // Diagnostic plots
123 
126 
135 
138 
143 
148 
153 
158 
163 
168 
176 
181 
184 
186 
191 
196 
202 
205 
207 
213 
217 
225 
231 
233 
237  std::vector <std::string> HcalHLTBits_;
238  std::vector <std::string> MinBiasHLTBits_;
239 };
240 
241 #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
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
void endRun(const edm::Run &run, const edm::EventSetup &c)
MonitorElement * h_HE_HcalHLT_energydifference
MonitorElement * h_rechitiphi
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:32
MonitorElement * h_TriggeredEvents
MonitorElement * h_LumiPlot_SumHT_HFPlus_vs_HFMinus
HcalLogicalMap * logicalMap
double energy_[85][72][4]