CMS 3D CMS Logo

PFClusterValidation.cc
Go to the documentation of this file.
8 
10  hepMCTok_ = consumes<edm::HepMCProduct>(edm::InputTag("generatorSmeared"));
11 
13  consumes<reco::PFClusterCollection>(conf.getUntrackedParameter<edm::InputTag>("pflowClusterECAL"));
15  consumes<reco::PFClusterCollection>(conf.getUntrackedParameter<edm::InputTag>("pflowClusterHCAL"));
16  pfClusterHOTok_ = consumes<reco::PFClusterCollection>(conf.getUntrackedParameter<edm::InputTag>("pflowClusterHO"));
17  pfClusterHFTok_ = consumes<reco::PFClusterCollection>(conf.getUntrackedParameter<edm::InputTag>("pflowClusterHF"));
18 }
19 
21 
23  edm::Run const& irun,
24  edm::EventSetup const& isetup) {
25  constexpr auto size = 100;
26  char histo[size];
27 
28  constexpr double etaBinsOffset[] = {
29  -5.191, -4.889, -4.716, -4.538, -4.363, -4.191, -4.013, -3.839, -3.664, -3.489, -3.314, -3.139, -2.964, -2.853,
30  -2.65, -2.5, -2.322, -2.172, -2.043, -1.93, -1.83, -1.74, -1.653, -1.566, -1.479, -1.392, -1.305, -1.218,
31  -1.131, -1.044, -0.957, -0.879, -0.783, -0.696, -0.609, -0.522, -0.435, -0.348, -0.261, -0.174, -0.087, 0,
32  0.087, 0.174, 0.261, 0.348, 0.435, 0.522, 0.609, 0.696, 0.783, 0.879, 0.957, 1.044, 1.131, 1.218,
33  1.305, 1.392, 1.479, 1.566, 1.653, 1.74, 1.83, 1.93, 2.043, 2.172, 2.322, 2.5, 2.65, 2.853,
34  2.964, 3.139, 3.314, 3.489, 3.664, 3.839, 4.013, 4.191, 4.363, 4.538, 4.716, 4.889, 5.191};
35  constexpr int etaBins = std::size(etaBinsOffset) - 1;
36 
37  ibooker.setCurrentFolder("ParticleFlow/PFClusterV");
38 
39  // These are the single pion scan histos
40 
41  strncpy(histo, "emean_vs_eta_E", size);
42  emean_vs_eta_E_ = ibooker.bookProfile(histo, histo, etaBins, etaBinsOffset, -100., 2000., " ");
43  strncpy(histo, "emean_vs_eta_H", size);
44  emean_vs_eta_H_ = ibooker.bookProfile(histo, histo, etaBins, etaBinsOffset, -100., 2000., " ");
45  strncpy(histo, "emean_vs_eta_EH", size);
46  emean_vs_eta_EH_ = ibooker.bookProfile(histo, histo, etaBins, etaBinsOffset, -100., 2000., " ");
47 
48  strncpy(histo, "emean_vs_eta_HF", size);
49  emean_vs_eta_HF_ = ibooker.bookProfile(histo, histo, etaBins, etaBinsOffset, -100., 2000., " ");
50  strncpy(histo, "emean_vs_eta_HO", size);
51  emean_vs_eta_HO_ = ibooker.bookProfile(histo, histo, etaBins, etaBinsOffset, -100., 2000., " ");
52 
53  strncpy(histo, "emean_vs_eta_EHF", size);
54  emean_vs_eta_EHF_ = ibooker.bookProfile(histo, histo, etaBins, etaBinsOffset, -100., 2000., " ");
55  strncpy(histo, "emean_vs_eta_EHFO", size);
56  emean_vs_eta_EHFO_ = ibooker.bookProfile(histo, histo, etaBins, etaBinsOffset, -100., 2000., " ");
57 
58  // 1D histos
59 
60  strncpy(histo, "Ratio_Esummed_ECAL_0", size);
61  ratio_Esummed_ECAL_0_ = ibooker.book1D(histo, histo, 50, 0., 5.);
62  strncpy(histo, "Ratio_Esummed_HCAL_0", size);
63  ratio_Esummed_HCAL_0_ = ibooker.book1D(histo, histo, 50, 0., 5.);
64  strncpy(histo, "Ratio_Esummed_HO_0", size);
65  ratio_Esummed_HO_0_ = ibooker.book1D(histo, histo, 50, 0., 5.);
66  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_0", size);
67  ratio_Esummed_ECAL_HCAL_0_ = ibooker.book1D(histo, histo, 50, 0., 5.);
68  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_HO_0", size);
69  ratio_Esummed_ECAL_HCAL_HO_0_ = ibooker.book1D(histo, histo, 50, 0., 5.);
70 
71  strncpy(histo, "Ratio_Esummed_ECAL_1", size);
72  ratio_Esummed_ECAL_1_ = ibooker.book1D(histo, histo, 50, 0., 5.);
73  strncpy(histo, "Ratio_Esummed_HCAL_1", size);
74  ratio_Esummed_HCAL_1_ = ibooker.book1D(histo, histo, 50, 0., 5.);
75  strncpy(histo, "Ratio_Esummed_HO_1", size);
76  ratio_Esummed_HO_1_ = ibooker.book1D(histo, histo, 50, 0., 5.);
77  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_1", size);
78  ratio_Esummed_ECAL_HCAL_1_ = ibooker.book1D(histo, histo, 50, 0., 5.);
79  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_HO_1", size);
80  ratio_Esummed_ECAL_HCAL_HO_1_ = ibooker.book1D(histo, histo, 50, 0., 5.);
81 
82  strncpy(histo, "Ratio_Esummed_ECAL_2", size);
83  ratio_Esummed_ECAL_2_ = ibooker.book1D(histo, histo, 50, 0., 5.);
84  strncpy(histo, "Ratio_Esummed_HCAL_2", size);
85  ratio_Esummed_HCAL_2_ = ibooker.book1D(histo, histo, 50, 0., 5.);
86  strncpy(histo, "Ratio_Esummed_HO_2", size);
87  ratio_Esummed_HO_2_ = ibooker.book1D(histo, histo, 50, 0., 5.);
88  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_2", size);
89  ratio_Esummed_ECAL_HCAL_2_ = ibooker.book1D(histo, histo, 50, 0., 5.);
90  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_HO_2", size);
91  ratio_Esummed_ECAL_HCAL_HO_2_ = ibooker.book1D(histo, histo, 50, 0., 5.);
92 
93  strncpy(histo, "Ratio_Esummed_ECAL_3", size);
94  ratio_Esummed_ECAL_3_ = ibooker.book1D(histo, histo, 50, 0., 5.);
95  strncpy(histo, "Ratio_Esummed_HCAL_3", size);
96  ratio_Esummed_HCAL_3_ = ibooker.book1D(histo, histo, 50, 0., 5.);
97  strncpy(histo, "Ratio_Esummed_HO_3", size);
98  ratio_Esummed_HO_3_ = ibooker.book1D(histo, histo, 50, 0., 5.);
99  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_3", size);
100  ratio_Esummed_ECAL_HCAL_3_ = ibooker.book1D(histo, histo, 50, 0., 5.);
101  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_HO_3", size);
102  ratio_Esummed_ECAL_HCAL_HO_3_ = ibooker.book1D(histo, histo, 50, 0., 5.);
103 
104  strncpy(histo, "Ratio_Esummed_ECAL_4", size);
105  ratio_Esummed_ECAL_4_ = ibooker.book1D(histo, histo, 50, 0., 5.);
106  strncpy(histo, "Ratio_Esummed_HCAL_4", size);
107  ratio_Esummed_HCAL_4_ = ibooker.book1D(histo, histo, 50, 0., 5.);
108  strncpy(histo, "Ratio_Esummed_HO_4", size);
109  ratio_Esummed_HO_4_ = ibooker.book1D(histo, histo, 50, 0., 5.);
110  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_4", size);
111  ratio_Esummed_ECAL_HCAL_4_ = ibooker.book1D(histo, histo, 50, 0., 5.);
112  strncpy(histo, "Ratio_Esummed_ECAL_HCAL_HO_4", size);
113  ratio_Esummed_ECAL_HCAL_HO_4_ = ibooker.book1D(histo, histo, 50, 0., 5.);
114 
115  strncpy(histo, "Ratio_Esummed_HF_5", size);
116  ratio_Esummed_HF_5_ = ibooker.book1D(histo, histo, 50, 0., 5.);
117  strncpy(histo, "Ratio_Esummed_HF_6", size);
118  ratio_Esummed_HF_6_ = ibooker.book1D(histo, histo, 50, 0., 5.);
119 
120  strncpy(histo, "Egen_MC", size);
121  egen_MC_ = ibooker.book1D(histo, histo, 50, 0, 50);
122 }
123 
125  double eta_MC = 0.;
126  double phi_MC = 0.;
127  double energy_MC = 0.;
128 
130  event.getByToken(hepMCTok_, hepMC);
131  if (not hepMC.isValid()) {
132  edm::LogWarning("PFClusterValidation") << "HepMCProduct not found";
133  return;
134  }
135 
136  // MC particle with highest pt is taken as a direction reference
137  double maxPt = -99999.;
138  const HepMC::GenEvent* myGenEvent = hepMC->GetEvent();
139  for (auto p = myGenEvent->particles_begin(); p != myGenEvent->particles_end(); ++p) {
140  double phip = (*p)->momentum().phi();
141  double etap = (*p)->momentum().eta();
142  double pt = (*p)->momentum().perp();
143  double energy = (*p)->momentum().e();
144  if (pt > maxPt) {
145  maxPt = pt;
146  energy_MC = energy;
147  phi_MC = phip;
148  eta_MC = etap;
149  }
150  }
151 
152  egen_MC_->Fill(energy_MC);
153 
155  event.getByToken(pfClusterECALTok_, pfClusterECAL);
156 
158  event.getByToken(pfClusterHCALTok_, pfClusterHCAL);
159 
161  event.getByToken(pfClusterHOTok_, pfClusterHO);
162 
164  event.getByToken(pfClusterHFTok_, pfClusterHF);
165 
166  // sum the energy in a dR cone for each subsystem
167  const double Econe = sumEnergy(pfClusterECAL, eta_MC, phi_MC);
168  const double Hcone = sumEnergy(pfClusterHCAL, eta_MC, phi_MC);
169  const double HOcone = sumEnergy(pfClusterHO, eta_MC, phi_MC);
170  const double HFcone = sumEnergy(pfClusterHF, eta_MC, phi_MC);
171 
172  if (energy_MC > 0.) {
173  if (std::abs(eta_MC) < 0.5) {
174  ratio_Esummed_ECAL_0_->Fill(Econe / energy_MC);
175  ratio_Esummed_HCAL_0_->Fill(Hcone / energy_MC);
176  ratio_Esummed_HO_0_->Fill(HOcone / energy_MC);
177  ratio_Esummed_ECAL_HCAL_0_->Fill((Econe + Hcone) / energy_MC);
178  ratio_Esummed_ECAL_HCAL_HO_0_->Fill((Econe + Hcone + HOcone) / energy_MC);
179  } else if (std::abs(eta_MC) < 1.3 && std::abs(eta_MC) > 0.5) {
180  ratio_Esummed_ECAL_1_->Fill(Econe / energy_MC);
181  ratio_Esummed_HCAL_1_->Fill(Hcone / energy_MC);
182  ratio_Esummed_HO_1_->Fill(HOcone / energy_MC);
183  ratio_Esummed_ECAL_HCAL_1_->Fill((Econe + Hcone) / energy_MC);
184  ratio_Esummed_ECAL_HCAL_HO_1_->Fill((Econe + Hcone + HOcone) / energy_MC);
185  } else if (std::abs(eta_MC) < 2.1 && std::abs(eta_MC) > 1.3) {
186  ratio_Esummed_ECAL_2_->Fill(Econe / energy_MC);
187  ratio_Esummed_HCAL_2_->Fill(Hcone / energy_MC);
188  ratio_Esummed_HO_2_->Fill(HOcone / energy_MC);
189  ratio_Esummed_ECAL_HCAL_2_->Fill((Econe + Hcone) / energy_MC);
190  ratio_Esummed_ECAL_HCAL_HO_2_->Fill((Econe + Hcone + HOcone) / energy_MC);
191  } else if (std::abs(eta_MC) < 2.5 && std::abs(eta_MC) > 2.1) {
192  ratio_Esummed_ECAL_3_->Fill(Econe / energy_MC);
193  ratio_Esummed_HCAL_3_->Fill(Hcone / energy_MC);
194  ratio_Esummed_HO_3_->Fill(HOcone / energy_MC);
195  ratio_Esummed_ECAL_HCAL_3_->Fill((Econe + Hcone) / energy_MC);
196  ratio_Esummed_ECAL_HCAL_HO_3_->Fill((Econe + Hcone + HOcone) / energy_MC);
197  } else if (2.5 < std::abs(eta_MC) && std::abs(eta_MC) < 3.0) {
198  ratio_Esummed_ECAL_4_->Fill(Econe / energy_MC);
199  ratio_Esummed_HCAL_4_->Fill(Hcone / energy_MC);
200  ratio_Esummed_HO_4_->Fill(HOcone / energy_MC);
201  ratio_Esummed_ECAL_HCAL_4_->Fill((Econe + Hcone) / energy_MC);
202  ratio_Esummed_ECAL_HCAL_HO_4_->Fill((Econe + Hcone + HOcone) / energy_MC);
203  } else if (3.0 < std::abs(eta_MC) && std::abs(eta_MC) < 4.0) {
204  ratio_Esummed_HF_5_->Fill(HFcone / energy_MC);
205  } else if (4.0 < std::abs(eta_MC) && std::abs(eta_MC) < 5.0) {
206  ratio_Esummed_HF_6_->Fill(HFcone / energy_MC);
207  }
208  }
209 
210  emean_vs_eta_E_->Fill(eta_MC, Econe);
211  emean_vs_eta_H_->Fill(eta_MC, Hcone);
212  emean_vs_eta_EH_->Fill(eta_MC, Econe + Hcone);
213  emean_vs_eta_HF_->Fill(eta_MC, HFcone);
214  emean_vs_eta_HO_->Fill(eta_MC, HOcone);
215  emean_vs_eta_EHF_->Fill(eta_MC, Econe + Hcone + HFcone);
216  emean_vs_eta_EHFO_->Fill(eta_MC, Econe + Hcone + HFcone + HOcone);
217 }
218 
220  double eta,
221  double phi) {
222  if (not pfClusters.isValid())
223  return 0.;
224 
225  double sum = 0.;
226  for (auto pf = pfClusters->begin(); pf != pfClusters->end(); ++pf) {
227  if (reco::deltaR2(eta, phi, pf->eta(), pf->phi()) < partR2) {
228  sum += pf->energy();
229  }
230  }
231 
232  return sum;
233 }
234 
Handle.h
PFClusterValidation::ratio_Esummed_HCAL_1_
MonitorElement * ratio_Esummed_HCAL_1_
Definition: PFClusterValidation.h:72
PFClusterValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: PFClusterValidation.cc:22
PFClusterValidation::partR2
static constexpr double partR2
Definition: PFClusterValidation.h:49
ESHandle.h
PFClusterValidation::hepMCTok_
edm::EDGetTokenT< edm::HepMCProduct > hepMCTok_
Definition: PFClusterValidation.h:52
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
edm::Run
Definition: Run.h:45
PFClusterValidation::ratio_Esummed_HCAL_4_
MonitorElement * ratio_Esummed_HCAL_4_
Definition: PFClusterValidation.h:84
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
PFClusterValidation::ratio_Esummed_HO_2_
MonitorElement * ratio_Esummed_HO_2_
Definition: PFClusterValidation.h:77
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
HLT_FULL_cff.etaBins
etaBins
Definition: HLT_FULL_cff.py:15326
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_1_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_1_
Definition: PFClusterValidation.h:93
timingPdfMaker.histo
histo
Definition: timingPdfMaker.py:279
PFClusterValidation::ratio_Esummed_ECAL_HCAL_1_
MonitorElement * ratio_Esummed_ECAL_HCAL_1_
Definition: PFClusterValidation.h:92
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
PFClusterValidation::emean_vs_eta_HF_
MonitorElement * emean_vs_eta_HF_
Definition: PFClusterValidation.h:62
PFClusterValidation::ratio_Esummed_HO_1_
MonitorElement * ratio_Esummed_HO_1_
Definition: PFClusterValidation.h:73
PFClusterValidation::ratio_Esummed_HCAL_3_
MonitorElement * ratio_Esummed_HCAL_3_
Definition: PFClusterValidation.h:80
edm::Handle< edm::HepMCProduct >
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
PFClusterValidation::ratio_Esummed_ECAL_HCAL_4_
MonitorElement * ratio_Esummed_ECAL_HCAL_4_
Definition: PFClusterValidation.h:98
defaults_cfi.etaBinsOffset
etaBinsOffset
Definition: defaults_cfi.py:23
MuonErrorMatrixAnalyzer_cfi.maxPt
maxPt
Definition: MuonErrorMatrixAnalyzer_cfi.py:19
PFClusterValidation::analyze
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Definition: PFClusterValidation.cc:124
PFClusterValidation::ratio_Esummed_ECAL_HCAL_0_
MonitorElement * ratio_Esummed_ECAL_HCAL_0_
Definition: PFClusterValidation.h:90
PFClusterValidation::emean_vs_eta_EHFO_
MonitorElement * emean_vs_eta_EHFO_
Definition: PFClusterValidation.h:65
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
PFClusterValidation::ratio_Esummed_HCAL_0_
MonitorElement * ratio_Esummed_HCAL_0_
Definition: PFClusterValidation.h:68
PFClusterValidation::ratio_Esummed_ECAL_HCAL_2_
MonitorElement * ratio_Esummed_ECAL_HCAL_2_
Definition: PFClusterValidation.h:94
PVValHelper::eta
Definition: PVValidationHelpers.h:69
PFClusterValidation::ratio_Esummed_ECAL_4_
MonitorElement * ratio_Esummed_ECAL_4_
Definition: PFClusterValidation.h:83
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_2_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_2_
Definition: PFClusterValidation.h:95
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
dqm::implementation::IBooker::bookProfile
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:322
PFClusterValidation.h
PFClusterValidation::pfClusterHFTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterHFTok_
Definition: PFClusterValidation.h:56
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
PFClusterValidation::emean_vs_eta_E_
MonitorElement * emean_vs_eta_E_
Definition: PFClusterValidation.h:58
PFClusterValidation::egen_MC_
MonitorElement * egen_MC_
Definition: PFClusterValidation.h:101
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_0_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_0_
Definition: PFClusterValidation.h:91
EcalSubdetector.h
PFClusterValidation::ratio_Esummed_HF_6_
MonitorElement * ratio_Esummed_HF_6_
Definition: PFClusterValidation.h:88
edm::ParameterSet
Definition: ParameterSet.h:47
PVValHelper::phi
Definition: PVValidationHelpers.h:68
deltaR.h
HcalDetId.h
reco::deltaR2
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:16
PFClusterValidation::ratio_Esummed_HCAL_2_
MonitorElement * ratio_Esummed_HCAL_2_
Definition: PFClusterValidation.h:76
PFClusterValidation::ratio_Esummed_ECAL_HCAL_3_
MonitorElement * ratio_Esummed_ECAL_HCAL_3_
Definition: PFClusterValidation.h:96
PFClusterValidation::PFClusterValidation
PFClusterValidation(edm::ParameterSet const &conf)
Definition: PFClusterValidation.cc:9
PFClusterValidation::pfClusterHOTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterHOTok_
Definition: PFClusterValidation.h:55
PFClusterValidation::ratio_Esummed_HF_5_
MonitorElement * ratio_Esummed_HF_5_
Definition: PFClusterValidation.h:87
edm::EventSetup
Definition: EventSetup.h:57
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_4_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_4_
Definition: PFClusterValidation.h:99
HcalSubdetector.h
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
PFClusterValidation::pfClusterECALTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterECALTok_
Definition: PFClusterValidation.h:53
PFClusterValidation
Definition: PFClusterValidation.h:41
PFClusterValidation::pfClusterHCALTok_
edm::EDGetTokenT< reco::PFClusterCollection > pfClusterHCALTok_
Definition: PFClusterValidation.h:54
PFClusterValidation::emean_vs_eta_EHF_
MonitorElement * emean_vs_eta_EHF_
Definition: PFClusterValidation.h:64
PFClusterValidation::~PFClusterValidation
~PFClusterValidation() override
Definition: PFClusterValidation.cc:20
PFClusterValidation::emean_vs_eta_HO_
MonitorElement * emean_vs_eta_HO_
Definition: PFClusterValidation.h:63
DDAxes::phi
PFClusterValidation::ratio_Esummed_ECAL_1_
MonitorElement * ratio_Esummed_ECAL_1_
Definition: PFClusterValidation.h:71
PFClusterValidation::emean_vs_eta_H_
MonitorElement * emean_vs_eta_H_
Definition: PFClusterValidation.h:59
packedPFCandidateRefMixer_cfi.pf
pf
Definition: packedPFCandidateRefMixer_cfi.py:4
PFClusterValidation::ratio_Esummed_ECAL_3_
MonitorElement * ratio_Esummed_ECAL_3_
Definition: PFClusterValidation.h:79
PFClusterValidation::ratio_Esummed_HO_4_
MonitorElement * ratio_Esummed_HO_4_
Definition: PFClusterValidation.h:85
dqm::implementation::IBooker
Definition: DQMStore.h:43
PFClusterValidation::ratio_Esummed_HO_3_
MonitorElement * ratio_Esummed_HO_3_
Definition: PFClusterValidation.h:81
PFClusterValidation::ratio_Esummed_HO_0_
MonitorElement * ratio_Esummed_HO_0_
Definition: PFClusterValidation.h:69
PFClusterValidation::emean_vs_eta_EH_
MonitorElement * emean_vs_eta_EH_
Definition: PFClusterValidation.h:60
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
PFClusterValidation::ratio_Esummed_ECAL_2_
MonitorElement * ratio_Esummed_ECAL_2_
Definition: PFClusterValidation.h:75
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
PFClusterValidation::sumEnergy
static double sumEnergy(edm::Handle< reco::PFClusterCollection > const &pfClusters, double eta, double phi)
Definition: PFClusterValidation.cc:219
edm::InputTag
Definition: InputTag.h:15
MuonClassifier_cff.hepMC
hepMC
Definition: MuonClassifier_cff.py:13
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
PFClusterValidation::ratio_Esummed_ECAL_0_
MonitorElement * ratio_Esummed_ECAL_0_
Definition: PFClusterValidation.h:67
PFClusterValidation::ratio_Esummed_ECAL_HCAL_HO_3_
MonitorElement * ratio_Esummed_ECAL_HCAL_HO_3_
Definition: PFClusterValidation.h:97
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443