test
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 
17 
18  public:
20 
22 
23  void setup(DQMStore::IBooker &);
25  void endRun(const edm::Run& run, const edm::EventSetup& c);
26  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
27  const edm::EventSetup& c);
28  void endJob();
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  const HcalTopology& topology);
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  const HcalTopology& topology);
48  private:
49 
50  void fill_Nevents();
51 
57 
58  double ETThreshold_;
63 
64  // Basic Histograms
67 
74 
75  unsigned int occupancy_[85][72][4]; // will get filled when rechit found
76  unsigned int occupancy_thresh_[85][72][4]; // filled when above given energy
77  double energy_[85][72][4]; // will get filled when rechit found
78  double energy2_[85][72][4]; // will get filled when rechit found
79  double energy_thresh_[85][72][4]; // filled when above given
80  double energy2_thresh_[85][72][4]; // filled when above given
81  double time_[85][72][4]; // will get filled when rechit found
82  double time_thresh_[85][72][4]; // filled when above given energy
83 
86  double HB_occupancy_[260];
87  double HB_occupancy_thresh_[260];
90  double HE_occupancy_[260];
91  double HE_occupancy_thresh_[260];
94  double HO_occupancy_[218];
95  double HO_occupancy_thresh_[218];
98  double HFenergyLong_[200];
99  double HFenergyLong_thresh_[200];
102  double HFenergyShort_[200];
106  double HF_occupancy_[174];
107  double HF_occupancy_thresh_[174];
108  double HFlong_occupancy_[865];
110  double HFshort_occupancy_[865];
112 
113  int HEflagcounter_[32];
114  int HBflagcounter_[32];
115  int HOflagcounter_[32];
116  int HFflagcounter_[32];
117 
118  // Diagnostic plots
119 
122 
131 
134 
139 
144 
149 
154 
159 
164 
172 
177 
180 
182 
187 
192 
198 
201 
203 
209 
213 
221 
227 
230 
232  edm::InputTag l1gtLabel_; // no associated access
234 
239 
240  std::vector <std::string> HcalHLTBits_;
241  std::vector <std::string> MinBiasHLTBits_;
242 };
243 
244 #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]
CaloTopology const * topology(0)
double HF_occupancy_thresh_[174]
MonitorElement * h_HBThreshTime
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
void processEvent(const HBHERecHitCollection &hbHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, int BCN, const edm::Event &iEvent, const HcalTopology &topology)
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
void processEvent_rechit(const HBHERecHitCollection &hbheHits, const HORecHitCollection &hoHits, const HFRecHitCollection &hfHits, bool passedHcalHLT, bool passedMinBiasHLT, int BCN, const HcalTopology &topology)
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
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:43
MonitorElement * h_TriggeredEvents
MonitorElement * h_LumiPlot_SumHT_HFPlus_vs_HFMinus
double energy_[85][72][4]