#include <Calibration/IsolatedParticles/plugins/IsolatedParticlesGeneratedJets.cc>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
void | BookHistograms () |
void | clearTreeVectors () |
virtual void | endJob () |
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 |
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_.
IsolatedParticlesGeneratedJets::~IsolatedParticlesGeneratedJets | ( | ) |
Definition at line 30 of file IsolatedParticlesGeneratedJets.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 34 of file IsolatedParticlesGeneratedJets.cc.
References funct::abs(), DeDxDiscriminatorTools::charge(), clearTreeVectors(), gather_cfg::cout, debug, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), eta(), genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByToken(), JetMatchingTools::getGenParticles(), AlCaHLTBitMon_ParallelJobs::p, benchmark_cfg::pdgId, phi, reco::LeafCandidate::phi(), RecoTauCleanerPlugins::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.
|
privatevirtual |
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, t_jetTrkPt, and tree.
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().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 170 of file IsolatedParticlesGeneratedJets.cc.
|
private |
Definition at line 49 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), pkg.AbstractPkg::generate(), 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 58 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 56 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 58 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 65 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 60 of file IsolatedParticlesGeneratedJets.h.
Referenced by analyze(), BookHistograms(), and clearTreeVectors().
|
private |
Definition at line 64 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 61 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 svgfig.SVG::__str__(), analyze(), BookHistograms(), and python.cmstools.EventTree::SetAlias().