#include <Calibration/IsolatedParticles/plugins/IsolatedParticlesGeneratedJets.cc>
Public Member Functions | |
IsolatedParticlesGeneratedJets (const edm::ParameterSet &) | |
~IsolatedParticlesGeneratedJets () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
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_.
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(), RecoTauCleanerPlugins::charge, clearTreeVectors(), edm::EDConsumerBase::consumesCollector(), gather_cfg::cout, debug, reco::LeafCandidate::energy(), eta, reco::LeafCandidate::eta(), genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByToken(), JetMatchingTools::getGenParticles(), HLT_FULL_cff::njets, AlCaHLTBitMon_ParallelJobs::p, SingleMuPt40Fwdv2_cfi_GEN_SIM::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_, 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 rrapi.RRApi::__init__(), analyze(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), 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__(), analyze(), BookHistograms(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), and eventstfile.Events::to().