#include <Calibration/IsolatedParticles/plugins/StudyCaloResponse.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginJob () override |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | clear () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
void | fillEnergy (int, int, double, double, double, double, double) |
void | fillIsolation (int, double, double, double) |
void | fillTrack (int, double, double, double, double) |
int | trackPID (const reco::Track *, const edm::Handle< reco::GenParticleCollection > &) |
std::string | truncate_str (const std::string &) |
Static Private Attributes | |
static const int | nEtaBin_ = 4 |
static const int | nGen_ = (nPVBin_ + 12) |
static const int | nPBin_ = 15 |
static const int | nPVBin_ = 4 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Studies single particle response measurements in data/MC
Implementation: <Notes on="" implementation>="">
Definition at line 85 of file StudyCaloResponse.cc.
|
explicit |
Definition at line 168 of file StudyCaloResponse.cc.
References changed_, cutEcal_, cutMuon_, cutRatio_, doTree_, etaBin_, firstEvent_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, HLT_FULL_cff::InputTag, isItAOD_, isotrackApplyRegressor::k, TFileService::kSharedResource, labelGenTrack_, labelMuon_, spr::trackSelectionParameters::maxChi2, spr::trackSelectionParameters::maxDpOverP, spr::trackSelectionParameters::maxDxyPV, spr::trackSelectionParameters::maxDzPV, spr::trackSelectionParameters::maxInMiss, spr::trackSelectionParameters::maxOutMiss, maxTrackEta_, spr::trackSelectionParameters::minLayerCrossed, spr::trackSelectionParameters::minOuterHit, spr::trackSelectionParameters::minPt, spr::trackSelectionParameters::minQuality, minTrackP_, nEtaBin_, nPBin_, nPVBin_, pBin_, pvBin_, reco::TrackBase::qualityByName(), selectionParameters_, theTrackQuality_, theTriggerResultsLabel_, tMaxE_, tMaxH_, tMinE_, tMinH_, tok_caloTopology_, tok_EB_, tok_ecalChStatus_, tok_EE_, tok_ew_, tok_genTrack_, tok_geom_, tok_hbhe_, tok_lumi, tok_magField_, tok_Muon_, tok_parts_, tok_recVtx_, tok_sevlv_, tok_topo_, tok_trigEvt, tok_trigRes, Reconstruction_hiPF_cff::trackQuality, triggerEvent_, trigNames_, verbosity_, vetoEcal_, vetoMuon_, and vetoTrigger_.
|
inlineoverride |
Definition at line 88 of file StudyCaloResponse.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 303 of file StudyCaloResponse.cc.
References funct::abs(), ecalTB2006H4_GenSimDigiReco_cfg::bField, edm::EventBase::bunchCrossing(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), clear(), cutEcal_, cutMuon_, cutRatio_, reco::deltaR(), doTree_, runTauDisplay::dr, spr::eECALmatrix(), spr::eHCALmatrix(), reco::TrackBase::eta(), HLT_FULL_cff::eta1, edm::EventID::event(), fillEnergy(), fillIsolation(), fillTrack(), firstEvent_, genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByToken(), edm::EventSetup::getData(), h_counter, h_goodPV, h_goodRun, h_h_pNew, h_HLTAccept, h_HLTAccepts, h_HLTCorr, h_nHLT, h_nHLTvsRN, h_ntrk, h_numberPV, ValidationMatrix::hlt, HLTNames_, mps_fire::i, edm::EventBase::id(), edm::HandleBase::isValid(), edm::InputTag::label(), edm::EventBase::luminosityBlock(), M_PI, match(), SiStripPI::max, maxTrackEta_, spr::trackSelectionParameters::minQuality, minTrackP_, reco::TrackBase::momentum(), newNames_, nGen_, nPVBin_, nRun_, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), fireworks::p1, reco::TrackBase::phi(), edm::Handle< T >::product(), spr::propagateCALO(), reco::TrackBase::pt(), puWeights_, pvBin_, quality, reco::TrackBase::quality(), edm::EventID::run(), muon::segmentCompatibility(), selectionParameters_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, theTrackQuality_, tMaxE_, tMaxH_, tMinE_, tMinH_, tok_caloTopology_, tok_EB_, tok_ecalChStatus_, tok_EE_, tok_ew_, tok_genTrack_, tok_geom_, tok_hbhe_, tok_magField_, tok_Muon_, tok_parts_, tok_recVtx_, tok_sevlv_, tok_topo_, tok_trigEvt, tok_trigRes, tr_eventWeight, tr_FE11x11P, tr_FE15x15P, tr_FE7x7P, tr_goodPV, tr_goodRun, tr_H3x3, tr_H5x5, tr_H7x7, tr_iEta, tr_MaxNearHcalP7x7, tr_MaxNearP31X31, tr_SE11x11P, tr_SE15x15P, tr_SE7x7P, tr_TrigName, tr_TrkEta, tr_TrkID, tr_TrkP, tr_TrkPhi, tr_TrkPt, trackPID(), tree_, triggerEvent_, edm::TriggerNames::triggerNames(), L1TMuonDQMOffline_cfi::triggerNames, edm::Event::triggerNames(), triggerResults, trigNames_, truncate_str(), verbosity_, vetoEcal_, vetoMuon_, and vetoTrigger_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 790 of file StudyCaloResponse.cc.
References doTree_, etaBin_, fs_, h_counter, h_ediff, h_ene1, h_ene2, h_energy, h_eta, h_goodPV, h_goodRun, h_h_pNew, h_HLTAccept, h_HLTCorr, h_maxNearP, h_nHLT, h_nHLTvsRN, h_ntrk, h_numberPV, h_p, h_phi, h_pt, mps_fire::i, dqmiolumiharvest::j, TFileService::make(), nEtaBin_, nGen_, nPBin_, nPVBin_, pBin_, pvBin_, AlCaHLTBitMon_QueryRunRegistry::string, tr_eventWeight, tr_FE11x11P, tr_FE15x15P, tr_FE7x7P, tr_goodPV, tr_goodRun, tr_H3x3, tr_H5x5, tr_H7x7, tr_iEta, tr_MaxNearHcalP7x7, tr_MaxNearP31X31, tr_SE11x11P, tr_SE15x15P, tr_SE7x7P, tr_TrigName, tr_TrkEta, tr_TrkID, tr_TrkP, tr_TrkPhi, tr_TrkPt, and tree_.
|
inlineprivatevirtual |
Definition at line 97 of file StudyCaloResponse.cc.
|
overrideprivate |
Definition at line 980 of file StudyCaloResponse.cc.
References changed_, firstEvent_, fs_, h_HLTAccepts, hltConfig_, mps_fire::i, HLTConfigProvider::init(), TFileService::make(), nRun_, and edm::RunBase::run().
|
private |
Definition at line 1001 of file StudyCaloResponse.cc.
References tr_FE11x11P, tr_FE15x15P, tr_FE7x7P, tr_H3x3, tr_H5x5, tr_H7x7, tr_iEta, tr_MaxNearHcalP7x7, tr_MaxNearP31X31, tr_SE11x11P, tr_SE15x15P, tr_SE7x7P, tr_TrigName, tr_TrkEta, tr_TrkID, tr_TrkP, tr_TrkPhi, and tr_TrkPt.
Referenced by analyze(), and BeautifulSoup.Tag::setString().
|
inlineprivatevirtual |
Definition at line 98 of file StudyCaloResponse.cc.
|
overrideprivate |
|
static |
Definition at line 264 of file StudyCaloResponse.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, and HLT_FULL_cff::weights.
|
private |
Definition at line 1036 of file StudyCaloResponse.cc.
References etaBin_, h_energy, mps_fire::i, nEtaBin_, nPBin_, pBin_, and tr_eventWeight.
Referenced by analyze().
|
private |
Definition at line 1029 of file StudyCaloResponse.cc.
References h_ediff, h_ene1, h_ene2, h_maxNearP, mps_fire::i, and tr_eventWeight.
Referenced by analyze().
|
private |
Definition at line 1022 of file StudyCaloResponse.cc.
References h_eta, h_p, h_phi, h_pt, mps_fire::i, and tr_eventWeight.
Referenced by analyze().
|
private |
Definition at line 1073 of file StudyCaloResponse.cc.
References funct::abs(), reco::TrackBase::eta(), gpuClustering::id, edm::HandleBase::isValid(), M_PI, AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::phi(), and mathSSE::sqrt().
Referenced by analyze().
|
private |
Definition at line 1061 of file StudyCaloResponse.cc.
References mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, and z.
Referenced by analyze().
|
private |
Definition at line 124 of file StudyCaloResponse.cc.
Referenced by beginRun(), and StudyCaloResponse().
|
private |
Definition at line 119 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 119 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 119 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 118 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and StudyCaloResponse().
|
private |
Definition at line 155 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
private |
Definition at line 124 of file StudyCaloResponse.cc.
Referenced by analyze(), beginRun(), and StudyCaloResponse().
|
private |
Definition at line 111 of file StudyCaloResponse.cc.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 149 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 152 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 152 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 152 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
Definition at line 153 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillEnergy().
|
private |
Definition at line 150 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 146 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 146 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 150 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 145 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 148 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 145 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 152 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 145 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 147 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 151 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 145 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 149 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 150 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 149 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 110 of file StudyCaloResponse.cc.
Referenced by beginRun().
|
private |
Definition at line 123 of file StudyCaloResponse.cc.
Referenced by analyze().
|
private |
Definition at line 118 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 114 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 114 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 116 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 116 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
staticprivate |
Definition at line 108 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
private |
Definition at line 113 of file StudyCaloResponse.cc.
Referenced by analyze().
|
staticprivate |
Definition at line 109 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
staticprivate |
Definition at line 108 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
staticprivate |
Definition at line 108 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and StudyCaloResponse().
|
private |
Definition at line 155 of file StudyCaloResponse.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 156 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
private |
Definition at line 120 of file StudyCaloResponse.cc.
Referenced by analyze().
|
private |
Definition at line 155 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and StudyCaloResponse().
|
private |
Definition at line 122 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 115 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 121 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 117 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 117 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 117 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 117 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 139 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 133 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 142 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 134 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 136 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 131 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 138 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 135 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 126 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 141 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 130 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 129 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 132 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 143 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 140 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 127 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 128 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 158 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), fillEnergy(), fillIsolation(), and fillTrack().
|
private |
Definition at line 163 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 163 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 163 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 157 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 157 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 162 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 162 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 162 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 165 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 161 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 161 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 164 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 164 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 164 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 159 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 160 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 165 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 160 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 160 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 160 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 154 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 121 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 113 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 112 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 118 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 118 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 118 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().