#include <TauSpinnerCMS.h>
Private Member Functions | |
void | GetLastSelf (const reco::GenParticle *Particle) |
void | GetRecoDaughters (const reco::GenParticle *Particle, std::vector< TauSpinner::SimpleParticle > &daughters, int parentpdgid) |
bool | isFirst (const reco::GenParticle *Particle) |
int | readParticlesfromReco (edm::Event &e, TauSpinner::SimpleParticle &X, TauSpinner::SimpleParticle &tau, TauSpinner::SimpleParticle &tau2, std::vector< TauSpinner::SimpleParticle > &tau_daughters, std::vector< TauSpinner::SimpleParticle > &tau2_daughters) |
Private Attributes | |
double | CMSEnergy_ |
edm::EDGetTokenT < edm::HepMCProduct > | EvtHandleToken_ |
edm::InputTag | gensrc_ |
edm::EDGetTokenT < reco::GenParticleCollection > | gensrcToken_ |
int | Ipol_ |
bool | isLHPDFConfigured_ |
bool | isReco_ |
bool | isTauolaConfigured_ |
std::string | LHAPDFname_ |
int | MotherPDGID_ |
int | nonSM2_ |
int | nonSMN_ |
double | roundOff_ |
Static Private Attributes | |
static bool | isTauSpinnerConfigure =false |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Definition at line 35 of file TauSpinnerCMS.h.
|
explicit |
Definition at line 33 of file TauSpinnerCMS.cc.
References decayRandomEngine, EvtHandleToken_, edm::hlt::Exception, gensrc_, gensrcToken_, and isReco_.
|
inlinevirtual |
Definition at line 42 of file TauSpinnerCMS.h.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 66 of file TauSpinnerCMS.cc.
References CMSEnergy_, Ipol_, isLHPDFConfigured_, isTauolaConfigured_, isTauSpinnerConfigure, LHAPDFname_, nonSM2_, and nonSMN_.
|
virtual |
|
virtual |
|
private |
Definition at line 236 of file TauSpinnerCMS.cc.
References reco::CompositeRefCandidateT< D >::daughter(), i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), and reco::LeafCandidate::pdgId().
Referenced by readParticlesfromReco().
|
private |
Definition at line 256 of file TauSpinnerCMS.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::p4(), and reco::LeafCandidate::pdgId().
Referenced by readParticlesfromReco().
|
private |
Definition at line 246 of file TauSpinnerCMS.cc.
References i, reco::CompositeRefCandidateT< D >::mother(), reco::CompositeRefCandidateT< D >::numberOfMothers(), and reco::LeafCandidate::pdgId().
Referenced by readParticlesfromReco().
|
virtual |
Implements edm::EDProducer.
Definition at line 85 of file TauSpinnerCMS.cc.
References funct::abs(), gather_cfg::cout, EvtHandleToken_, edm::Event::getByToken(), i, isReco_, MotherPDGID_, edm::Event::put(), readParticlesFromHepMC(), readParticlesfromReco(), reco::return(), roundOff_, metsig::tau, and X.
|
private |
Definition at line 181 of file TauSpinnerCMS.cc.
References funct::abs(), reco::Candidate::daughter(), genParticleCandidates2GenParticles_cfi::genParticles, gensrcToken_, edm::Event::getByToken(), GetLastSelf(), GetRecoDaughters(), i, isFirst(), NULL, reco::LeafCandidate::p4(), reco::Candidate::pdgId(), and reco::LeafCandidate::pdgId().
Referenced by produce().
|
private |
Definition at line 55 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
private |
Definition at line 60 of file TauSpinnerCMS.h.
Referenced by produce(), and TauSpinnerCMS().
|
private |
Definition at line 56 of file TauSpinnerCMS.h.
Referenced by TauSpinnerCMS().
|
private |
Definition at line 61 of file TauSpinnerCMS.h.
Referenced by readParticlesfromReco(), and TauSpinnerCMS().
|
private |
Definition at line 57 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
private |
Definition at line 53 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
private |
Definition at line 51 of file TauSpinnerCMS.h.
Referenced by produce(), and TauSpinnerCMS().
|
private |
Definition at line 52 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
staticprivate |
Definition at line 58 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
private |
Definition at line 54 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
private |
Definition at line 57 of file TauSpinnerCMS.h.
Referenced by produce().
|
private |
Definition at line 57 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
private |
Definition at line 57 of file TauSpinnerCMS.h.
Referenced by beginJob().
|
private |
Definition at line 75 of file TauSpinnerCMS.h.
Referenced by produce().