CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
ECALMultifitAnalyzer_HI Class Reference

#include <ECALMultifitAnalyzer_HI.cc>

Inheritance diagram for ECALMultifitAnalyzer_HI:
DQMEDAnalyzer edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 ECALMultifitAnalyzer_HI (const edm::ParameterSet &)
 
 ~ECALMultifitAnalyzer_HI () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 

Private Attributes

edm::EDGetTokenT< reco::CaloJetCollectioncaloJetToken_
 
MonitorElementeb_chi2
 
MonitorElementeb_chi2_e5
 
MonitorElementeb_chi2_e5_eta
 
MonitorElementeb_chi2_eta
 
MonitorElementeb_chi2_jet30
 
MonitorElementeb_chi2_photon15
 
MonitorElementeb_errors
 
MonitorElementeb_errors_e5
 
MonitorElementeb_errors_e5_eta
 
MonitorElementeb_errors_eta
 
MonitorElementeb_errors_jet30
 
MonitorElementeb_errors_photon15
 
MonitorElementee_chi2
 
MonitorElementee_chi2_e5
 
MonitorElementee_chi2_e5_eta
 
MonitorElementee_chi2_eta
 
MonitorElementee_chi2_jet30
 
MonitorElementee_chi2_photon15
 
MonitorElementee_errors
 
MonitorElementee_errors_e5
 
MonitorElementee_errors_e5_eta
 
MonitorElementee_errors_eta
 
MonitorElementee_errors_jet30
 
MonitorElementee_errors_photon15
 
double mDeltaRJetThreshold
 
double mDeltaRPhotonThreshold
 
double mRechitEnergyThreshold
 
double mRecoJetPtThreshold
 
double mRecoPhotonPtThreshold
 
edm::EDGetTokenT< EcalRecHitCollectionRecHitCollection_EB_
 
edm::EDGetTokenT< EcalRecHitCollectionRecHitCollection_EE_
 
edm::EDGetTokenT< std::vector< reco::Photon > > recoPhotonsCollection_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

DQMOffline/ECALMultifitAnalyzer_HI/plugins/ECALMultifitAnalyzer_HI.cc Description: [one line class summary] Implementation: [Notes on implementation]

Definition at line 57 of file ECALMultifitAnalyzer_HI.cc.

Constructor & Destructor Documentation

ECALMultifitAnalyzer_HI::ECALMultifitAnalyzer_HI ( const edm::ParameterSet iConfig)
explicit

Definition at line 107 of file ECALMultifitAnalyzer_HI.cc.

108  :
109 
110  recoPhotonsCollection_(consumes<std::vector<reco::Photon>>(iConfig.getParameter<edm::InputTag>("recoPhotonSrc"))),
111  caloJetToken_(consumes<reco::CaloJetCollection>(iConfig.getParameter<edm::InputTag>("recoJetSrc"))),
112  RecHitCollection_EB_(consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("RecHitCollection_EB"))),
113  RecHitCollection_EE_(consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("RecHitCollection_EE"))),
114  mRechitEnergyThreshold(iConfig.getParameter<double>("rechitEnergyThreshold")),
115  mRecoPhotonPtThreshold(iConfig.getParameter<double>("recoPhotonPtThreshold")),
116  mRecoJetPtThreshold(iConfig.getParameter<double>("recoJetPtThreshold")),
117  mDeltaRPhotonThreshold(iConfig.getParameter<double>("deltaRPhotonThreshold")),
118  mDeltaRJetThreshold(iConfig.getParameter<double>("deltaRJetThreshold")) {}
T getParameter(std::string const &) const
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EB_
edm::EDGetTokenT< reco::CaloJetCollection > caloJetToken_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EE_
edm::EDGetTokenT< std::vector< reco::Photon > > recoPhotonsCollection_
ECALMultifitAnalyzer_HI::~ECALMultifitAnalyzer_HI ( )
inlineoverride

Definition at line 60 of file ECALMultifitAnalyzer_HI.cc.

References analyze(), and bookHistograms().

60 {}

Member Function Documentation

void ECALMultifitAnalyzer_HI::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivate

Definition at line 125 of file ECALMultifitAnalyzer_HI.cc.

References edm::SortedCollection< T, SORT >::begin(), caloJetToken_, reco::deltaR(), flavorHistoryFilter_cfi::dr, eb_chi2, eb_chi2_e5, eb_chi2_e5_eta, eb_chi2_eta, eb_chi2_jet30, eb_chi2_photon15, eb_errors, eb_errors_e5, eb_errors_e5_eta, eb_errors_eta, eb_errors_jet30, eb_errors_photon15, ee_chi2, ee_chi2_e5, ee_chi2_e5_eta, ee_chi2_eta, ee_chi2_jet30, ee_chi2_photon15, ee_errors, ee_errors_e5, ee_errors_e5_eta, ee_errors_eta, ee_errors_jet30, ee_errors_photon15, edm::SortedCollection< T, SORT >::end(), PVValHelper::eta, dqm::impl::MonitorElement::Fill(), relativeConstraints::geom, edm::EventSetup::get(), edm::Event::getByToken(), CaloGeometry::getGeometry(), metsig::jet, mDeltaRJetThreshold, mDeltaRPhotonThreshold, mRechitEnergyThreshold, mRecoJetPtThreshold, mRecoPhotonPtThreshold, phi, edm::ESHandle< T >::product(), RecHitCollection_EB_, RecHitCollection_EE_, and recoPhotonsCollection_.

Referenced by ~ECALMultifitAnalyzer_HI().

125  {
126  using namespace edm;
127 
129  iSetup.get<CaloGeometryRecord>().get(geomH);
130  const CaloGeometry *geom = geomH.product();
131 
132  Handle<std::vector<reco::Photon>> recoPhotonsHandle;
133  iEvent.getByToken(recoPhotonsCollection_, recoPhotonsHandle);
134 
135  Handle<reco::CaloJetCollection> recoJetHandle;
136  iEvent.getByToken(caloJetToken_, recoJetHandle);
137 
139  iEvent.getByToken(RecHitCollection_EB_, ebHandle);
140 
142  iEvent.getByToken(RecHitCollection_EE_, eeHandle);
143 
144  for (EcalRecHitCollection::const_iterator hit = ebHandle->begin(); hit != ebHandle->end(); ++hit) {
145  eb_chi2->Fill(hit->chi2());
146  eb_errors->Fill(hit->energyError());
147  double eta = geom->getGeometry(hit->detid())->getPosition().eta();
148  double phi = geom->getGeometry(hit->detid())->getPosition().phi();
149  eb_chi2_eta->Fill(eta, hit->chi2());
150  eb_errors_eta->Fill(eta, hit->energyError());
151  if (hit->energy() > mRechitEnergyThreshold) {
152  eb_chi2_e5->Fill(hit->chi2());
153  eb_errors_e5->Fill(hit->energyError());
154  eb_chi2_e5_eta->Fill(eta, hit->chi2());
155  eb_errors_e5_eta->Fill(eta, hit->energyError());
156  }
157 
158  for (std::vector<reco::Photon>::const_iterator pho = recoPhotonsHandle->begin(); pho != recoPhotonsHandle->end();
159  ++pho) {
160  if (pho->et() < mRecoPhotonPtThreshold)
161  continue;
162  double dr = reco::deltaR(eta, phi, pho->eta(), pho->phi());
163  if (dr < mDeltaRPhotonThreshold) {
164  eb_chi2_photon15->Fill(hit->chi2());
165  eb_errors_photon15->Fill(hit->energyError());
166  }
167  }
168  for (std::vector<reco::CaloJet>::const_iterator jet = recoJetHandle->begin(); jet != recoJetHandle->end(); ++jet) {
169  if (jet->pt() < mRecoJetPtThreshold)
170  continue;
171  double dr = reco::deltaR(eta, phi, jet->eta(), jet->phi());
172  if (dr < mDeltaRJetThreshold) {
173  eb_chi2_jet30->Fill(hit->chi2());
174  eb_errors_jet30->Fill(hit->energyError());
175  }
176  }
177  }
178 
179  for (EcalRecHitCollection::const_iterator hit = eeHandle->begin(); hit != eeHandle->end(); ++hit) {
180  ee_chi2->Fill(hit->chi2());
181  ee_errors->Fill(hit->energyError());
182  double eta = geom->getGeometry(hit->detid())->getPosition().eta();
183  double phi = geom->getGeometry(hit->detid())->getPosition().phi();
184  ee_chi2_eta->Fill(eta, hit->chi2());
185  ee_errors_eta->Fill(eta, hit->energyError());
186  if (hit->energy() > mRechitEnergyThreshold) {
187  ee_chi2_e5->Fill(hit->chi2());
188  ee_errors_e5->Fill(hit->energyError());
189  ee_chi2_e5_eta->Fill(eta, hit->chi2());
190  ee_errors_e5_eta->Fill(eta, hit->energyError());
191  }
192 
193  for (std::vector<reco::Photon>::const_iterator pho = recoPhotonsHandle->begin(); pho != recoPhotonsHandle->end();
194  ++pho) {
195  if (pho->et() < mRecoPhotonPtThreshold)
196  continue;
197  double dr = reco::deltaR(eta, phi, pho->eta(), pho->phi());
198  if (dr < mDeltaRPhotonThreshold) {
199  ee_chi2_photon15->Fill(hit->chi2());
200  ee_errors_photon15->Fill(hit->energyError());
201  }
202  }
203  for (std::vector<reco::CaloJet>::const_iterator jet = recoJetHandle->begin(); jet != recoJetHandle->end(); ++jet) {
204  if (jet->pt() < mRecoJetPtThreshold)
205  continue;
206  double dr = reco::deltaR(eta, phi, jet->eta(), jet->phi());
207  if (dr < mDeltaRJetThreshold) {
208  ee_chi2_jet30->Fill(hit->chi2());
209  ee_errors_jet30->Fill(hit->energyError());
210  }
211  }
212  }
213 }
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EB_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:525
std::vector< EcalRecHit >::const_iterator const_iterator
edm::EDGetTokenT< reco::CaloJetCollection > caloJetToken_
void Fill(long long x)
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
const_iterator end() const
HLT enums.
T get() const
Definition: EventSetup.h:73
edm::EDGetTokenT< EcalRecHitCollection > RecHitCollection_EE_
std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id.
Definition: CaloGeometry.cc:60
edm::EDGetTokenT< std::vector< reco::Photon > > recoPhotonsCollection_
T const * product() const
Definition: ESHandle.h:86
const_iterator begin() const
void ECALMultifitAnalyzer_HI::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprivatevirtual

Implements DQMEDAnalyzer.

Definition at line 217 of file ECALMultifitAnalyzer_HI.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), DEFINE_FWK_MODULE, eb_chi2, eb_chi2_e5, eb_chi2_e5_eta, eb_chi2_eta, eb_chi2_jet30, eb_chi2_photon15, eb_errors, eb_errors_e5, eb_errors_e5_eta, eb_errors_eta, eb_errors_jet30, eb_errors_photon15, ee_chi2, ee_chi2_e5, ee_chi2_e5_eta, ee_chi2_eta, ee_chi2_jet30, ee_chi2_photon15, ee_errors, ee_errors_e5, ee_errors_e5_eta, ee_errors_eta, ee_errors_jet30, ee_errors_photon15, beam_dqm_sourceclient-live_cfg::maxChi2, mRechitEnergyThreshold, mRecoJetPtThreshold, mRecoPhotonPtThreshold, seedmultiplicitymonitor_newtracking_cfi::nBins, and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().

Referenced by ~ECALMultifitAnalyzer_HI().

217  {
218  iBooker.setCurrentFolder("EcalCalibration/HIN_MultiFitAnalyzer");
219 
220  eb_chi2 = nullptr;
221  eb_chi2_eta = nullptr;
222  eb_chi2_e5 = nullptr;
223  eb_chi2_e5_eta = nullptr;
224  eb_errors = nullptr;
225  eb_errors_eta = nullptr;
226  eb_errors_e5 = nullptr;
227  eb_errors_e5_eta = nullptr;
228  eb_chi2_photon15 = nullptr;
229  eb_errors_photon15 = nullptr;
230  eb_chi2_jet30 = nullptr;
231  eb_errors_jet30 = nullptr;
232 
233  ee_chi2 = nullptr;
234  ee_chi2_eta = nullptr;
235  ee_chi2_e5 = nullptr;
236  ee_chi2_e5_eta = nullptr;
237  ee_errors = nullptr;
238  ee_errors_eta = nullptr;
239  ee_errors_e5 = nullptr;
240  ee_errors_e5_eta = nullptr;
241  ee_chi2_photon15 = nullptr;
242  ee_errors_photon15 = nullptr;
243  ee_chi2_jet30 = nullptr;
244  ee_errors_jet30 = nullptr;
245 
246  const int nBins = 500;
247  const float maxChi2 = 70;
248  const float maxError = 0.5;
249 
250  TH2F *hProfile_Chi2 = new TH2F("hProfile_Chi2", "", nBins, -5, 5, nBins, 0, maxChi2);
251  TH2F *hProfile_Err = new TH2F("hProfile_Err", "", nBins, -5, 5, nBins, 0, maxError);
252 
253  eb_chi2 = iBooker.book1D("rechit_eb_chi2", "Rechit eb_chi2;chi2 fit value;", nBins, 0, maxChi2);
254  eb_chi2_eta = iBooker.book2D("rechit_eb_eta_Vs_mean_Chi2", hProfile_Chi2);
255  eb_chi2_e5 = iBooker.book1D(Form("rechit_eb_chi2_e%2.0f", mRechitEnergyThreshold),
256  Form("Rechit eb_chi2, e>%2.0fGeV;chi2 fit value;", mRechitEnergyThreshold),
257  nBins,
258  0,
259  maxChi2);
260  eb_chi2_e5_eta = iBooker.book2D(Form("rechit_eb_chi2_e%2.0f_eta", mRechitEnergyThreshold), hProfile_Chi2);
261  eb_errors = iBooker.book1D("rechit_eb_errors", "Rechit eb_errors;error on the energy;", nBins, 0, maxError);
262  eb_errors_eta = iBooker.book2D("rechit_eb_errors_eta", hProfile_Err);
263  eb_errors_e5 = iBooker.book1D(Form("rechit_eb_errors_e%2.0f", mRechitEnergyThreshold),
264  "Rechit eb_errors, e>5GeV;error on the energy;",
265  nBins,
266  0,
267  maxError);
268  eb_errors_e5_eta = iBooker.book2D(Form("rechit_eb_errors_e%2.0f_eta", mRechitEnergyThreshold), hProfile_Err);
269  eb_chi2_photon15 = iBooker.book1D(Form("rechit_eb_chi2_photon%2.0f", mRecoPhotonPtThreshold),
270  "Rechit eb_chi2 near photons;chi2 fit value;",
271  nBins,
272  0,
273  maxChi2);
274  eb_errors_photon15 = iBooker.book1D(Form("rechit_eb_errors_photon%2.0f", mRecoPhotonPtThreshold),
275  "Rechit eb_errors near photons;error on the energy;",
276  nBins,
277  0,
278  maxError);
279  eb_chi2_jet30 = iBooker.book1D(Form("rechit_eb_chi2_jet%2.0f", mRecoJetPtThreshold),
280  "Rechit eb_chi2 near jets;chi2 fit value;",
281  nBins,
282  0,
283  maxChi2);
284  eb_errors_jet30 = iBooker.book1D(Form("rechit_eb_errors_jet%2.0f", mRecoJetPtThreshold),
285  "Rechit eb_errors near jets;error on the energy;",
286  nBins,
287  0,
288  maxError);
289 
290  ee_chi2 = iBooker.book1D("rechit_ee_chi2", "Rechit ee_chi2;chi2 fit value;", nBins, 0, maxChi2);
291  ee_chi2_eta = iBooker.book2D("rechit_ee_chi2_eta", hProfile_Chi2);
292  ee_chi2_e5 = iBooker.book1D(Form("rechit_ee_chi2_e%2.0f", mRechitEnergyThreshold),
293  "Rechit ee_chi2, e>5GeV;chi2 fit value;",
294  nBins,
295  0,
296  maxChi2);
297  ee_chi2_e5_eta = iBooker.book2D(Form("rechit_ee_chi2_e%2.0f_eta", mRechitEnergyThreshold), hProfile_Chi2);
298  ee_errors = iBooker.book1D("rechit_ee_errors", "Rechit ee_errors;error on the energy;", nBins, 0, maxError);
299  ee_errors_eta = iBooker.book2D("rechit_ee_errors_eta", hProfile_Err);
300  ee_errors_e5 = iBooker.book1D(Form("rechit_ee_errors_e%2.0f", mRechitEnergyThreshold),
301  "Rechit ee_errors, e>5GeV;error on the energy;",
302  nBins,
303  0,
304  maxError);
305  ee_errors_e5_eta = iBooker.book2D(Form("rechit_ee_errors_e%2.0f_eta", mRechitEnergyThreshold), hProfile_Err);
306  ee_chi2_photon15 = iBooker.book1D(Form("rechit_ee_chi2_photon%2.0f", mRecoPhotonPtThreshold),
307  "Rechit ee_chi2 near photons;chi2 fit value;",
308  nBins,
309  0,
310  maxChi2);
311  ee_errors_photon15 = iBooker.book1D(Form("rechit_ee_errors_photon%2.0f", mRecoPhotonPtThreshold),
312  "Rechit ee_errors near photons;error on the energy;",
313  nBins,
314  0,
315  maxError);
316  ee_chi2_jet30 = iBooker.book1D(Form("rechit_ee_chi2_jet%2.0f", mRecoJetPtThreshold),
317  "Rechit ee_chi2 near jets;chi2 fit value;",
318  nBins,
319  0,
320  maxChi2);
321  ee_errors_jet30 = iBooker.book1D(Form("rechit_ee_errors_jet%2.0f", mRecoJetPtThreshold),
322  "Rechit ee_errors near jets;error on the energy;",
323  nBins,
324  0,
325  maxError);
326 
327  delete hProfile_Chi2;
328  delete hProfile_Err;
329 }

Member Data Documentation

edm::EDGetTokenT<reco::CaloJetCollection> ECALMultifitAnalyzer_HI::caloJetToken_
private

Definition at line 67 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze().

MonitorElement* ECALMultifitAnalyzer_HI::eb_chi2
private

Definition at line 77 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_chi2_e5
private

Definition at line 79 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_chi2_e5_eta
private

Definition at line 80 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_chi2_eta
private

Definition at line 78 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_chi2_jet30
private

Definition at line 87 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_chi2_photon15
private

Definition at line 85 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_errors
private

Definition at line 81 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_errors_e5
private

Definition at line 83 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_errors_e5_eta
private

Definition at line 84 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_errors_eta
private

Definition at line 82 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_errors_jet30
private

Definition at line 88 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::eb_errors_photon15
private

Definition at line 86 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_chi2
private

Definition at line 90 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_chi2_e5
private

Definition at line 92 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_chi2_e5_eta
private

Definition at line 93 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_chi2_eta
private

Definition at line 91 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_chi2_jet30
private

Definition at line 100 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_chi2_photon15
private

Definition at line 98 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_errors
private

Definition at line 94 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_errors_e5
private

Definition at line 96 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_errors_e5_eta
private

Definition at line 97 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_errors_eta
private

Definition at line 95 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_errors_jet30
private

Definition at line 101 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* ECALMultifitAnalyzer_HI::ee_errors_photon15
private

Definition at line 99 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

double ECALMultifitAnalyzer_HI::mDeltaRJetThreshold
private

Definition at line 75 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze().

double ECALMultifitAnalyzer_HI::mDeltaRPhotonThreshold
private

Definition at line 74 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze().

double ECALMultifitAnalyzer_HI::mRechitEnergyThreshold
private

Definition at line 71 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

double ECALMultifitAnalyzer_HI::mRecoJetPtThreshold
private

Definition at line 73 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

double ECALMultifitAnalyzer_HI::mRecoPhotonPtThreshold
private

Definition at line 72 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze(), and bookHistograms().

edm::EDGetTokenT<EcalRecHitCollection> ECALMultifitAnalyzer_HI::RecHitCollection_EB_
private

Definition at line 68 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze().

edm::EDGetTokenT<EcalRecHitCollection> ECALMultifitAnalyzer_HI::RecHitCollection_EE_
private

Definition at line 69 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze().

edm::EDGetTokenT<std::vector<reco::Photon> > ECALMultifitAnalyzer_HI::recoPhotonsCollection_
private

Definition at line 66 of file ECALMultifitAnalyzer_HI.cc.

Referenced by analyze().