#include <Calibration/IsolatedParticles/plugins/IsolatedParticlesGeneratedJets.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 (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | bookHistograms () |
void | clearTreeVectors () |
void | endJob () override |
Private Attributes | |
const bool | debug_ |
std::vector< double > * | t_gjetE |
std::vector< double > * | t_gjetEta |
std::vector< int > * | t_gjetN |
std::vector< double > * | t_gjetPhi |
std::vector< double > * | t_gjetPt |
std::vector< std::vector< double > > * | t_jetTrkCharge |
std::vector< std::vector< double > > * | t_jetTrkEta |
std::vector< std::vector< double > > * | t_jetTrkP |
std::vector< std::vector< double > > * | t_jetTrkPdg |
std::vector< std::vector< double > > * | t_jetTrkPhi |
std::vector< std::vector< double > > * | t_jetTrkPt |
const edm::EDGetTokenT< reco::GenJetCollection > | tok_jets_ |
const edm::EDGetTokenT< reco::GenParticleCollection > | tok_parts_ |
TTree * | tree_ |
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 properties of jets at generator level in context of isolated particles
Implementation: <Notes on="" implementation>="">
Definition at line 49 of file IsolatedParticlesGeneratedJets.cc.
|
explicit |
Definition at line 80 of file IsolatedParticlesGeneratedJets.cc.
References TFileService::kSharedResource.
|
inlineoverride |
Definition at line 52 of file IsolatedParticlesGeneratedJets.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 95 of file IsolatedParticlesGeneratedJets.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, clearTreeVectors(), edm::EDConsumerBase::consumesCollector(), debug_, reco::LeafCandidate::energy(), PVValHelper::eta, reco::LeafCandidate::eta(), L1CaloJetHTTProducer_cfi::genJets, AJJGenJetFilter_cfi::genParticles, iEvent, generator_cfi::jetMatching, BTaggingMonitoring_cff::njets, AlCaHLTBitMon_ParallelJobs::p, EgammaValidation_cff::pdgId, phi, reco::LeafCandidate::phi(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), t_gjetE, t_gjetEta, t_gjetN, t_gjetPhi, t_gjetPt, t_jetTrkCharge, t_jetTrkEta, t_jetTrkP, t_jetTrkPdg, t_jetTrkPhi, t_jetTrkPt, tok_jets_, tok_parts_, and tree_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 173 of file IsolatedParticlesGeneratedJets.cc.
References bookHistograms().
|
private |
Definition at line 190 of file IsolatedParticlesGeneratedJets.cc.
References compareTotals::fs, t_gjetE, t_gjetEta, t_gjetN, t_gjetPhi, t_gjetPt, t_jetTrkCharge, t_jetTrkEta, t_jetTrkP, t_jetTrkPdg, t_jetTrkPhi, t_jetTrkPt, and tree_.
Referenced by beginJob().
|
private |
Definition at line 175 of file IsolatedParticlesGeneratedJets.cc.
References t_gjetE, t_gjetEta, t_gjetN, t_gjetPhi, t_gjetPt, t_jetTrkCharge, t_jetTrkEta, t_jetTrkP, t_jetTrkPdg, t_jetTrkPhi, and t_jetTrkPt.
Referenced by analyze().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 59 of file IsolatedParticlesGeneratedJets.cc.
Referenced by o2olib.O2ORunMgr::executeJob().
|
static |
Definition at line 87 of file IsolatedParticlesGeneratedJets.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_2022v12_cff::InputTag.
|
private |
Definition at line 64 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze().
|
private |
Definition at line 71 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 71 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 70 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 71 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 71 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 77 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 74 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 72 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 76 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 75 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 73 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), bookHistograms(), and clearTreeVectors().
|
private |
Definition at line 67 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file IsolatedParticlesGeneratedJets.cc.
Referenced by analyze(), and bookHistograms().