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(DQMStore::IBooker &);
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 reset();
29  void zeroCounters();
30 
31  void analyze(const edm::Event&, const edm::EventSetup&);
32 
33  void processEvent(const HBHERecHitCollection& hbHits,
34  const HORecHitCollection& hoHits,
35  const HFRecHitCollection& hfHits,
36  int BCN,
37  const edm::Event& iEvent
38  );
39 
40  void processEvent_rechit( const HBHERecHitCollection& hbheHits,
41  const HORecHitCollection& hoHits,
42  const HFRecHitCollection& hfHits,
43  bool passedHcalHLT,
44  bool passedMinBiasHLT,
45  int BCN);
46  private:
47 
48  void fill_Nevents();
49 
55 
56  double ETThreshold_;
61 
62  // Basic Histograms
65 
72 
73  unsigned int occupancy_[85][72][4]; // will get filled when rechit found
74  unsigned int occupancy_thresh_[85][72][4]; // filled when above given energy
75  double energy_[85][72][4]; // will get filled when rechit found
76  double energy2_[85][72][4]; // will get filled when rechit found
77  double energy_thresh_[85][72][4]; // filled when above given
78  double energy2_thresh_[85][72][4]; // filled when above given
79  double time_[85][72][4]; // will get filled when rechit found
80  double time_thresh_[85][72][4]; // filled when above given energy
81 
84  double HB_occupancy_[260];
85  double HB_occupancy_thresh_[260];
88  double HE_occupancy_[260];
89  double HE_occupancy_thresh_[260];
92  double HO_occupancy_[218];
93  double HO_occupancy_thresh_[218];
96  double HFenergyLong_[200];
97  double HFenergyLong_thresh_[200];
100  double HFenergyShort_[200];
104  double HF_occupancy_[174];
105  double HF_occupancy_thresh_[174];
106  double HFlong_occupancy_[865];
108  double HFshort_occupancy_[865];
110 
111  int HEflagcounter_[32];
112  int HBflagcounter_[32];
113  int HOflagcounter_[32];
114  int HFflagcounter_[32];
115 
116  // Diagnostic plots
117 
120 
129 
132 
137 
142 
147 
152 
157 
162 
170 
175 
178 
180 
185 
190 
196 
199 
201 
207 
211 
219 
225 
228 
230  edm::InputTag l1gtLabel_; // no associated access
232 
237 
238  std::vector <std::string> HcalHLTBits_;
239  std::vector <std::string> MinBiasHLTBits_;
240 };
241 
242 #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
int ib
Definition: cuy.py:660
MonitorElement * h_HBsizeVsLS
MonitorElement * h_LumiPlot_MinTime_vs_MinHT
double HFshort_occupancy_[865]
EtaPhiHists OccupancyThreshByDepth
double HFtime_thresh_[250--250]
double HOtime_thresh_[250--250]
MonitorElement * h_HF_HcalHLT_weightedtimedifference
double HBtime_thresh_[250--250]
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
MonitorElement * h_rechitieta_10
double HO_occupancy_thresh_[218]
MonitorElement * h_LumiPlot_timeHFPlus_vs_timeHFMinus
MonitorElement * h_HFThreshTime
MonitorElement * h_rechitieta_25
MonitorElement * h_rechitiphi_10
MonitorElement * h_HFTime
MonitorElement * h_HFThreshOccupancy
double HBtime_[250--250]
MonitorElement * h_FlagMap_TIMEADD
MonitorElement * h_LumiPlot_LS_MinBiasEvents
double HEtime_thresh_[250--250]
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
double HFtimeShort_thresh_[250--250]
double HFtimeLong_[250--250]
MonitorElement * h_FlagMap_TIMEERROR
MonitorElement * h_HF_HcalHLT_energydifference
EtaPhiHists SumEnergyByDepth
MonitorElement * h_HOThreshOccupancy
void bookHistograms(DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c)
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:230
MonitorElement * h_LumiPlot_BX_HcalHLTEvents_notimecut
EtaPhiHists SqrtSumEnergy2ThreshByDepth
EtaPhiHists SumTimeByDepth
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]
double HFtimeLong_thresh_[250--250]
MonitorElement * h_HETimeVsEnergy
MonitorElement * h_HEenergydifference
MonitorElement * h_HFTimeVsEnergy
MonitorElement * h_LumiPlot_BX_HcalHLTEvents
double HFlong_occupancy_thresh_[865]
void setup(DQMStore::IBooker &)
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]
double HFtime_[250--250]
double HFtimeShort_[250--250]
MonitorElement * h_HOTime
MonitorElement * h_rechitiphi_25
MonitorElement * h_FlagMap_TIMESUBTRACT
double energy2_thresh_[85][72][4]
MonitorElement * h_HEP_weightedTime
MonitorElement * h_FlagMap_LONGSHORT
MonitorElement * h_LumiPlot_BX_allevents
edm::InputTag hltresultsLabel_
double HOtime_[250--250]
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
double HEtime_[250--250]
MonitorElement * h_rechitiphi
edm::EDGetTokenT< edm::TriggerResults > tok_trigger_
MonitorElement * h_LumiPlot_LS_MinBiasEvents_notimecut
MonitorElement * h_HFOccupancy
MonitorElement * h_rechitieta_05
#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)
EtaPhiHists SumEnergyThreshByDepth
MonitorElement * h_HEThreshOccupancy
double HE_occupancy_[260]
MonitorElement * h_LumiPlot_LS_HcalHLTEvents_notimecut
MonitorElement * h_LumiPlot_LS_HcalHLTEvents
double HFlong_occupancy_[865]
MonitorElement * HFP_HFM_Energy
double HO_occupancy_[218]
MonitorElement * h_FlagMap_DIGITIME
MonitorElement * h_LumiPlot_timeHT_HFM
double HFenergyShort_thresh_[200]
double HFenergyLong_thresh_[200]
MonitorElement * h_HBflagcounter
Definition: Run.h:41
MonitorElement * h_TriggeredEvents
MonitorElement * h_LumiPlot_SumHT_HFPlus_vs_HFMinus
double energy_[85][72][4]