#include <TauolappInterface.h>
Public Member Functions | |
HepMC::GenEvent * | decay (HepMC::GenEvent *) override |
void | disablePolarization () override |
void | enablePolarization () override |
void | init (const edm::EventSetup &) override |
const std::vector< int > & | operatesOnParticles () override |
void | SetLHE (lhef::LHEEvent *l) override |
void | setRandomEngine (CLHEP::HepRandomEngine *v) override |
void | statistics () override |
TauolappInterface (const edm::ParameterSet &, edm::ConsumesCollector) | |
~TauolappInterface () override | |
Public Member Functions inherited from gen::TauolaInterfaceBase | |
virtual void | SetDecayRandomEngine (CLHEP::HepRandomEngine *decayRandomEngine) |
TauolaInterfaceBase () | |
TauolaInterfaceBase (const edm::ParameterSet &) | |
virtual | ~TauolaInterfaceBase () |
Static Public Member Functions | |
static double | flat () |
Private Member Functions | |
void | BoostProdToLabLifeTimeInDecays (HepMC::GenParticle *p, TLorentzVector &lab, TLorentzVector &prod) |
void | decodeMDTAU (int) |
HepMC::GenParticle * | FirstTauInChain (HepMC::GenParticle *tau) |
HepMC::GenParticle * | GetMother (HepMC::GenParticle *tau) |
bool | isLastTauInChain (const HepMC::GenParticle *tau) |
HepMC::GenEvent * | make_simple_tau_event (const TLorentzVector &l, int pdgid, int status) |
double | MatchedLHESpinUp (HepMC::GenParticle *tau, std::vector< HepMC::GenParticle > &p, std::vector< double > &spinup, std::vector< int > &m_idx) |
void | selectDecayByMDTAU () |
int | selectHadronic () |
int | selectLeptonic () |
void | update_particles (HepMC::GenParticle *partHep, HepMC::GenEvent *theEvent, HepMC::GenParticle *p, TVector3 &boost) |
Private Attributes | |
double | dmMatch |
bool | dolhe |
bool | dolheBosonCorr |
std::vector< int > | fHadronModes |
bool | fIsInitialized |
std::vector< int > | fLeptonModes |
int | fMDTAU |
std::vector< int > | fPDGs |
edm::ESHandle< HepPDT::ParticleDataTable > | fPDGTable |
edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord > | fPDGTableToken |
bool | fPolarization |
edm::ParameterSet * | fPSet |
std::vector< double > | fScaledHadronBrRatios |
std::vector< double > | fScaledLeptonBrRatios |
bool | fSelectDecayByEvent |
lhef::LHEEvent * | lhe |
double | lifetime |
int | ntries |
Static Private Attributes | |
static CLHEP::HepRandomEngine * | fRandomEngine = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from gen::TauolaInterfaceBase | |
std::vector< int > | fPDGs |
Definition at line 28 of file TauolappInterface.h.
TauolappInterface::TauolappInterface | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector | iCollector | ||
) |
Definition at line 50 of file TauolappInterface.cc.
References edm::BeginLuminosityBlock, fPSet, and muonDTDigis_cfi::pset.
|
override |
|
private |
Definition at line 803 of file TauolappInterface.cc.
References class-composition::children, gen::p, and dumpMFGeometry_cfg::prod.
Referenced by decay().
|
overridevirtual |
Reimplemented from gen::TauolaInterfaceBase.
Definition at line 224 of file TauolappInterface.cc.
References funct::abs(), BoostProdToLabLifeTimeInDecays(), class-composition::children, dolhe, dolheBosonCorr, fIsInitialized, flat(), fSelectDecayByEvent, GenParticle::GenParticle, nanoDQM_cfi::GenVtx, lhef::LHEEvent::getHEPEUP(), GetMother(), mps_fire::i, lhef::HEPEUP::IDUP, isLastTauInChain(), lhef::HEPEUP::ISTUP, gpuVertexFinder::iv, dqmiolumiharvest::j, gen::k, lhe, visualization-live-secondInstance_cfg::m, make_simple_tau_event(), MatchedLHESpinUp(), lhef::HEPEUP::MOTHUP, ntries, gen::p, LaserDQM_cfg::p1, parents, ecalTrigSettings_cff::particles, lhef::HEPEUP::PUP, selectDecayByMDTAU(), lhef::HEPEUP::SPINUP, mps_update::status, cmsswSequenceInfo::tp, and update_particles().
|
private |
Definition at line 396 of file TauolappInterface.cc.
References fHadronModes, fLeptonModes, fScaledHadronBrRatios, fScaledLeptonBrRatios, fSelectDecayByEvent, mps_fire::i, and TauolaSettings_cff::mdtau.
Referenced by init().
|
inlineoverridevirtual |
Reimplemented from gen::TauolaInterfaceBase.
Definition at line 38 of file TauolappInterface.h.
References fPolarization.
|
inlineoverridevirtual |
Reimplemented from gen::TauolaInterfaceBase.
Definition at line 34 of file TauolappInterface.h.
References fPolarization.
|
private |
Definition at line 776 of file TauolappInterface.cc.
References parents, and metsig::tau.
Referenced by MatchedLHESpinUp().
|
static |
Definition at line 214 of file TauolappInterface.cc.
References Exception, and fRandomEngine.
Referenced by decay(), init(), gen::ranmar_(), and selectLeptonic().
|
private |
Definition at line 789 of file TauolappInterface.cc.
References parents, and metsig::tau.
Referenced by decay(), and MatchedLHESpinUp().
|
overridevirtual |
Reimplemented from gen::TauolaInterfaceBase.
Definition at line 70 of file TauolappInterface.cc.
References funct::abs(), looper::cfg, gather_cfg::cout, decodeMDTAU(), dmMatch, dolhe, dolheBosonCorr, Exception, edm::ParameterSet::exists(), fIsInitialized, flat(), fMDTAU, fPDGs, fPDGTable, fPDGTableToken, fPolarization, fPSet, edm::EventSetup::getHandle(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, initialize(), lifetime, ntries, LHEGenericFilter_cfi::ParticleID, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 739 of file TauolappInterface.cc.
References class-composition::children, and metsig::tau.
Referenced by decay().
|
private |
Definition at line 697 of file TauolappInterface.cc.
References edmPickEvents::event, GenParticle::GenParticle, cmsLHEtoEOSManager::l, EgammaValidation_cff::pdgid, mps_update::status, jetsAK8_cff::tau1, and bphysicsOniaDQM_cfi::vertex.
Referenced by decay().
|
private |
Definition at line 753 of file TauolappInterface.cc.
References dmMatch, FirstTauInChain(), GenParticle::GenParticle, GetMother(), mps_fire::i, visualization-live-secondInstance_cfg::m, gen::p, HiggsValidation_cfi::pdg_id, submitPVValidationJobs::t, and metsig::tau.
Referenced by decay().
|
inlineoverridevirtual |
Reimplemented from gen::TauolaInterfaceBase.
Definition at line 43 of file TauolappInterface.h.
References fPDGs.
|
private |
Definition at line 551 of file TauolappInterface.cc.
References fMDTAU, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, selectHadronic(), and selectLeptonic().
Referenced by decay().
|
private |
Definition at line 676 of file TauolappInterface.cc.
References fHadronModes, fScaledHadronBrRatios, mps_fire::i, mkfit::NN, TtFullHadEvtBuilder_cfi::prob, and gen::ranmar_().
Referenced by selectDecayByMDTAU().
|
private |
Definition at line 664 of file TauolappInterface.cc.
References flat(), fScaledLeptonBrRatios, and TtFullHadEvtBuilder_cfi::prob.
Referenced by selectDecayByMDTAU().
|
inlineoverridevirtual |
Reimplemented from gen::TauolaInterfaceBase.
Definition at line 46 of file TauolappInterface.h.
References cmsLHEtoEOSManager::l, and lhe.
|
inlineoverridevirtual |
Implements gen::TauolaInterfaceBase.
Definition at line 47 of file TauolappInterface.h.
References fRandomEngine, and gen::v.
|
overridevirtual |
Reimplemented from gen::TauolaInterfaceBase.
Definition at line 394 of file TauolappInterface.cc.
|
private |
Definition at line 710 of file TauolappInterface.cc.
References ztail::d, GenParticle::GenParticle, cmsLHEtoEOSManager::l, gen::p, and extraflags_cff::vtx.
Referenced by decay().
|
private |
Definition at line 88 of file TauolappInterface.h.
Referenced by init(), and MatchedLHESpinUp().
|
private |
Definition at line 89 of file TauolappInterface.h.
|
private |
Definition at line 90 of file TauolappInterface.h.
|
private |
Definition at line 83 of file TauolappInterface.h.
Referenced by decodeMDTAU(), and selectHadronic().
|
private |
Definition at line 78 of file TauolappInterface.h.
|
private |
Definition at line 82 of file TauolappInterface.h.
Referenced by decodeMDTAU().
|
private |
Definition at line 80 of file TauolappInterface.h.
Referenced by init(), and selectDecayByMDTAU().
|
private |
Definition at line 73 of file TauolappInterface.h.
Referenced by init(), and operatesOnParticles().
|
private |
Definition at line 75 of file TauolappInterface.h.
Referenced by init().
|
private |
Definition at line 76 of file TauolappInterface.h.
Referenced by init().
|
private |
Definition at line 74 of file TauolappInterface.h.
Referenced by disablePolarization(), enablePolarization(), and init().
|
private |
Definition at line 77 of file TauolappInterface.h.
Referenced by init(), TauolappInterface(), and ~TauolappInterface().
|
staticprivate |
Definition at line 72 of file TauolappInterface.h.
Referenced by flat(), and setRandomEngine().
|
private |
Definition at line 85 of file TauolappInterface.h.
Referenced by decodeMDTAU(), and selectHadronic().
|
private |
Definition at line 84 of file TauolappInterface.h.
Referenced by decodeMDTAU(), and selectLeptonic().
|
private |
Definition at line 81 of file TauolappInterface.h.
Referenced by decay(), and decodeMDTAU().
|
private |
Definition at line 86 of file TauolappInterface.h.
|
private |
Definition at line 92 of file TauolappInterface.h.
Referenced by init().
|
private |
Definition at line 91 of file TauolappInterface.h.