#include <Calibration/IsolatedParticles/plugins/IsolatedParticlesGeneratedJets.cc>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | BookHistograms () |
void | clearTreeVectors () |
void | endJob () override |
Private Attributes | |
bool | debug |
edm::Service< TFileService > | fs |
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 |
edm::EDGetTokenT< reco::GenJetCollection > | tok_jets_ |
edm::EDGetTokenT< reco::GenParticleCollection > | tok_parts_ |
TTree * | tree |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 35 of file IsolatedParticlesGeneratedJets.h.
|
explicit |
Definition at line 22 of file IsolatedParticlesGeneratedJets.cc.
References debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), tok_jets_, and tok_parts_.
|
override |
Definition at line 30 of file IsolatedParticlesGeneratedJets.cc.
|
overrideprivate |
Definition at line 34 of file IsolatedParticlesGeneratedJets.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, clearTreeVectors(), edm::EDConsumerBase::consumesCollector(), gather_cfg::cout, debug, reco::LeafCandidate::energy(), PVValHelper::eta, reco::LeafCandidate::eta(), slimmedGenJetsFlavourInfos_cfi::genJets, GenHFHadronMatcher_cfi::genParticles, edm::Event::getByToken(), JetMatchingTools::getGenParticles(), AlCaHLTBitMon_ParallelJobs::p, common_cff::pdgId, phi, reco::LeafCandidate::phi(), EnergyCorrector::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_, and tok_parts_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 117 of file IsolatedParticlesGeneratedJets.cc.
References BookHistograms().
|
private |
Definition at line 138 of file IsolatedParticlesGeneratedJets.cc.
References fs, TFileService::make(), 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 beginJob().
|
private |
Definition at line 123 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().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 170 of file IsolatedParticlesGeneratedJets.cc.
References DEFINE_FWK_MODULE.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 49 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), rrapi.RRApi::dprint(), util.rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), IsolatedParticlesGeneratedJets(), and pkg.AbstractPkg::write().
|
private |
Definition at line 50 of file IsolatedParticlesGeneratedJets.h.
Referenced by BookHistograms().
|
private |
Definition at line 57 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 57 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 56 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 57 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 57 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 63 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 60 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 58 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 62 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 61 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 59 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 53 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), and IsolatedParticlesGeneratedJets().
|
private |
Definition at line 54 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), and IsolatedParticlesGeneratedJets().
|
private |
Definition at line 51 of file IsolatedParticlesGeneratedJets.h.
Referenced by eventstfile.Events::__iter__(), svgfig.SVG::__str__(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), and eventstfile.Events::to().