#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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: Studies single particle response measurements in data/MC
Implementation: <Notes on="" implementation>="">
Definition at line 82 of file StudyCaloResponse.cc.
|
explicit |
Definition at line 155 of file StudyCaloResponse.cc.
References changed_, doTree_, etaBin_, HLT_2018_cff::etaBins, firstEvent_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, isItAOD_, dqmdumpme::k, TFileService::kSharedResource, 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_EB_, tok_EE_, tok_ew_, tok_genTrack_, tok_hbhe_, tok_lumi, tok_parts_, tok_recVtx_, tok_trigEvt, tok_trigRes, StandaloneTrackMonitor_cfi::trackQuality, triggerEvent_, trigNames_, verbosity_, and vetoTrigger_.
|
inlineoverride |
Definition at line 85 of file StudyCaloResponse.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 265 of file StudyCaloResponse.cc.
References funct::abs(), Calorimetry_cff::bField, spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), clear(), HLT_2018_cff::dEta, doTree_, HLT_2018_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, spr::eECALmatrix(), spr::eHCALmatrix(), HLT_2018_cff::eta1, fillEnergy(), fillIsolation(), fillTrack(), firstEvent_, genParticles2HepMC_cfi::genEventInfo, genParticles2HepMC_cfi::genParticles, edm::EventSetup::get(), get, h_counter, h_goodPV, h_goodRun, h_h_pNew, h_HLTAccept, h_HLTAccepts, h_HLTCorr, h_nHLT, h_nHLTvsRN, h_ntrk, h_numberPV, photonIsolationHIProducer_cfi::hbhe, ValidationMatrix::hlt, HLTNames_, mps_fire::i, LEDCalibrationChannels::ieta, iEvent, createfilelist::int, edm::HandleBase::isValid(), edm::InputTag::label(), mix_E10TeV_L13E31_BX432_cfi::Lumi, M_PI, match(), maxTrackEta_, spr::trackSelectionParameters::minQuality, minTrackP_, reco::TrackBase::momentum(), newNames_, nGen_, nPVBin_, nRun_, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, reco::TrackBase::p(), p1, edm::Handle< T >::product(), edm::ESHandle< T >::product(), spr::propagateCALO(), reco::TrackBase::pt(), HLT_2018_cff::pt1, puWeights_, pvBin_, qcdUeDQM_cfi::quality, reco::TrackBase::quality(), selectionParameters_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, theTrackQuality_, tMaxE_, tMaxH_, tMinE_, tMinH_, tok_EB_, tok_EE_, tok_ew_, tok_genTrack_, tok_hbhe_, tok_parts_, tok_recVtx_, 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_, PDWG_DiPhoton_SD_cff::triggerEvent, triggerEvent_, L1TEGammaOffline_cfi::triggerNames, triggerResults, trigNames_, truncate_str(), verbosity_, and vetoTrigger_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 716 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 94 of file StudyCaloResponse.cc.
|
overrideprivate |
Definition at line 906 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 927 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 95 of file StudyCaloResponse.cc.
|
overrideprivate |
Definition at line 922 of file StudyCaloResponse.cc.
References nRun_, and edm::RunBase::run().
|
static |
Definition at line 233 of file StudyCaloResponse.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), HLT_2018_cff::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, ClusterTask_cfi::trig, and HLT_2018_cff::weights.
|
private |
Definition at line 962 of file StudyCaloResponse.cc.
References etaBin_, RemoveAddSevLevel::flag, h_energy, mps_fire::i, LEDCalibrationChannels::ieta, nEtaBin_, nPBin_, AlCaHLTBitMon_ParallelJobs::p, pBin_, and tr_eventWeight.
Referenced by analyze().
|
private |
Definition at line 955 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 948 of file StudyCaloResponse.cc.
References PVValHelper::eta, h_eta, h_p, h_phi, h_pt, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, phi, DiDispStaMuonMonitor_cfi::pt, and tr_eventWeight.
Referenced by analyze().
|
private |
Definition at line 999 of file StudyCaloResponse.cc.
References funct::abs(), HLT_2018_cff::dEta, HLT_2018_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, reco::TrackBase::eta(), genParticles2HepMC_cfi::genParticles, triggerObjects_cff::id, training_settings::idx, M_PI, AlCaHLTBitMon_ParallelJobs::p, EgammaValidation_cff::pdgId, reco::TrackBase::phi(), and mathSSE::sqrt().
Referenced by analyze().
|
private |
Definition at line 987 of file StudyCaloResponse.cc.
References mps_fire::i, str, AlCaHLTBitMon_QueryRunRegistry::string, and z.
Referenced by analyze().
|
private |
Definition at line 119 of file StudyCaloResponse.cc.
Referenced by beginRun(), and StudyCaloResponse().
|
private |
Definition at line 114 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and StudyCaloResponse().
|
private |
Definition at line 142 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
private |
Definition at line 119 of file StudyCaloResponse.cc.
Referenced by analyze(), beginRun(), and StudyCaloResponse().
|
private |
Definition at line 108 of file StudyCaloResponse.cc.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 136 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 139 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 139 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
Definition at line 140 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillEnergy().
|
private |
Definition at line 137 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 133 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 133 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 137 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 132 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 135 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 132 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 132 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 134 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 132 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 136 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 137 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 136 of file StudyCaloResponse.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 107 of file StudyCaloResponse.cc.
Referenced by beginRun().
|
private |
Definition at line 118 of file StudyCaloResponse.cc.
Referenced by analyze().
|
private |
Definition at line 114 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 112 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 112 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
staticprivate |
Definition at line 105 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
private |
Definition at line 110 of file StudyCaloResponse.cc.
Referenced by analyze().
|
staticprivate |
Definition at line 106 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
staticprivate |
Definition at line 105 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
staticprivate |
Definition at line 105 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and StudyCaloResponse().
|
private |
Definition at line 142 of file StudyCaloResponse.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 143 of file StudyCaloResponse.cc.
Referenced by beginJob(), fillEnergy(), and StudyCaloResponse().
|
private |
Definition at line 115 of file StudyCaloResponse.cc.
Referenced by analyze().
|
private |
Definition at line 142 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and StudyCaloResponse().
|
private |
Definition at line 117 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 111 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 116 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 113 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 113 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 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 130 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 125 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 121 of file StudyCaloResponse.cc.
Referenced by StudyCaloResponse().
|
private |
Definition at line 124 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 126 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 122 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 123 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 145 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), fillEnergy(), fillIsolation(), and fillTrack().
|
private |
Definition at line 150 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 150 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 150 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 144 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 144 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 149 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 149 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 149 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 152 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 148 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 148 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 151 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 151 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 151 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 146 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 147 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 152 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 147 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 147 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 147 of file StudyCaloResponse.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 141 of file StudyCaloResponse.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 116 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 110 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 109 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().
|
private |
Definition at line 114 of file StudyCaloResponse.cc.
Referenced by analyze(), and StudyCaloResponse().