#include <Calibration/IsolatedParticles/plugins/StudyHLT.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) |
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 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) |
Description: Studies single particle response measurements in data/MC
Implementation: <Notes on="" implementation>="">
Definition at line 82 of file StudyHLT.cc.
|
explicit |
Definition at line 157 of file StudyHLT.cc.
References changed_, doTree_, etaBin_, firstEvent_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, isItAOD_, gen::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, photonIsolationHIProducer_cfi::trackQuality, triggerEvent_, trigNames_, verbosity_, and vetoTrigger_.
|
inlineoverride |
Definition at line 86 of file StudyHLT.cc.
References analyze(), beginJob(), beginRun(), endRun(), and fillDescriptions().
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 274 of file StudyHLT.cc.
References funct::abs(), edm::HLTGlobalStatus::accept(), ecalTB2006H4_GenSimDigiReco_cfg::bField, edm::EventBase::bunchCrossing(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), clear(), particleFlow_cfi::dEta, doTree_, particleFlow_cfi::dPhi, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, spr::eECALmatrix(), spr::eHCALmatrix(), edm::EventID::event(), fillEnergy(), fillIsolation(), fillTrack(), firstEvent_, particlelevel_cff::genEventInfo, GenHFHadronMatcher_cfi::genParticles, edm::EventSetup::get(), edm::Event::getByToken(), 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, edm::EventBase::id(), createfilelist::int, edm::HandleBase::isValid(), edm::InputTag::label(), mix_E10TeV_L13E31_BX432_cfi::Lumi, edm::EventBase::luminosityBlock(), 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(), hiDetachedQuadStep_cff::pt1, puWeights_, pvBin_, jets_cff::quality, reco::TrackBase::quality(), edm::EventID::run(), selectionParameters_, edm::HLTGlobalStatus::size(), 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_, triggerEvent_, edm::TriggerNames::triggerNames(), edm::Event::triggerNames(), triggerResults, trigNames_, truncate_str(), verbosity_, vetoTrigger_, and GenEventInfoProduct::weight().
Referenced by ~StudyHLT().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 637 of file StudyHLT.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, 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_.
Referenced by ~StudyHLT().
|
inlineprivatevirtual |
Definition at line 95 of file StudyHLT.cc.
|
overrideprivate |
Definition at line 809 of file StudyHLT.cc.
References changed_, firstEvent_, fs_, h_HLTAccepts, hltConfig_, mps_fire::i, HLTConfigProvider::init(), TFileService::make(), nRun_, and edm::RunBase::run().
Referenced by ~StudyHLT().
|
private |
Definition at line 829 of file StudyHLT.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(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), endLuminosityBlock(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inlineprivatevirtual |
Definition at line 96 of file StudyHLT.cc.
References clear(), fillEnergy(), fillIsolation(), fillTrack(), AlCaHLTBitMon_QueryRunRegistry::string, trackPID(), and truncate_str().
|
overrideprivate |
Definition at line 824 of file StudyHLT.cc.
References nRun_, and edm::RunBase::run().
Referenced by ~StudyHLT().
|
static |
Definition at line 240 of file StudyHLT.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), AlCaHLTBitMon_QueryRunRegistry::string, and create_public_lumi_plots::weights.
Referenced by ~StudyHLT().
|
private |
Definition at line 853 of file StudyHLT.cc.
References etaBin_, RemoveAddSevLevel::flag, h_energy, mps_fire::i, nEtaBin_, nPBin_, pBin_, and tr_eventWeight.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 846 of file StudyHLT.cc.
References h_ediff, h_ene1, h_ene2, h_maxNearP, mps_fire::i, and tr_eventWeight.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 839 of file StudyHLT.cc.
References h_eta, h_p, h_phi, h_pt, mps_fire::i, and tr_eventWeight.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 884 of file StudyHLT.cc.
References funct::abs(), DEFINE_FWK_MODULE, particleFlow_cfi::dEta, particleFlow_cfi::dPhi, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::TrackBase::eta(), triggerObjects_cff::id, training_settings::idx, edm::HandleBase::isValid(), M_PI, AlCaHLTBitMon_ParallelJobs::p, common_cff::pdgId, reco::TrackBase::phi(), and mathSSE::sqrt().
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 872 of file StudyHLT.cc.
References mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, and z.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 121 of file StudyHLT.cc.
Referenced by beginRun(), and StudyHLT().
|
private |
Definition at line 116 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and StudyHLT().
|
private |
Definition at line 144 of file StudyHLT.cc.
Referenced by beginJob(), fillEnergy(), and StudyHLT().
|
private |
Definition at line 121 of file StudyHLT.cc.
Referenced by analyze(), beginRun(), and StudyHLT().
|
private |
Definition at line 110 of file StudyHLT.cc.
Referenced by beginJob(), and beginRun().
|
private |
Definition at line 138 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 141 of file StudyHLT.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 141 of file StudyHLT.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 141 of file StudyHLT.cc.
Referenced by beginJob(), and fillIsolation().
Definition at line 142 of file StudyHLT.cc.
Referenced by beginJob(), and fillEnergy().
|
private |
Definition at line 139 of file StudyHLT.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 135 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 135 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 134 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 137 of file StudyHLT.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 134 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 141 of file StudyHLT.cc.
Referenced by beginJob(), and fillIsolation().
|
private |
Definition at line 134 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 136 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 140 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 134 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file StudyHLT.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 139 of file StudyHLT.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 138 of file StudyHLT.cc.
Referenced by beginJob(), and fillTrack().
|
private |
Definition at line 109 of file StudyHLT.cc.
Referenced by beginRun().
|
private |
Definition at line 120 of file StudyHLT.cc.
Referenced by analyze().
|
private |
Definition at line 116 of file StudyHLT.cc.
Referenced by StudyHLT().
|
private |
Definition at line 114 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 114 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
staticprivate |
Definition at line 107 of file StudyHLT.cc.
Referenced by beginJob(), fillEnergy(), and StudyHLT().
|
private |
Definition at line 112 of file StudyHLT.cc.
Referenced by analyze().
|
staticprivate |
Definition at line 108 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
staticprivate |
Definition at line 107 of file StudyHLT.cc.
Referenced by beginJob(), fillEnergy(), and StudyHLT().
|
staticprivate |
Definition at line 107 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and StudyHLT().
|
private |
Definition at line 144 of file StudyHLT.cc.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 145 of file StudyHLT.cc.
Referenced by beginJob(), fillEnergy(), and StudyHLT().
|
private |
Definition at line 117 of file StudyHLT.cc.
Referenced by analyze().
|
private |
Definition at line 144 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and StudyHLT().
|
private |
Definition at line 119 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 113 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 118 of file StudyHLT.cc.
Referenced by StudyHLT().
|
private |
Definition at line 115 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 115 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 115 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 115 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 129 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 130 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 132 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 127 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 131 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 123 of file StudyHLT.cc.
Referenced by StudyHLT().
|
private |
Definition at line 126 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 128 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 124 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 125 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 147 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), fillEnergy(), fillIsolation(), and fillTrack().
|
private |
Definition at line 152 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 152 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 152 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 146 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 146 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 151 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 151 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 151 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 154 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 150 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 150 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 153 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 153 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 153 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 148 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 149 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 154 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 149 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 149 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 149 of file StudyHLT.cc.
Referenced by analyze(), beginJob(), and clear().
|
private |
Definition at line 143 of file StudyHLT.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 118 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 112 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 111 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().
|
private |
Definition at line 116 of file StudyHLT.cc.
Referenced by analyze(), and StudyHLT().