1 #ifndef gen_TauolaInterface_TauolappInterface_h
2 #define gen_TauolaInterface_TauolappInterface_h
4 #include "HepPDT/ParticleDataTable.hh"
11 #include "TLorentzVector.h"
19 class HepRandomEngine;
24 void ranmar_(
float* rvec,
int* lenv);
65 std::vector<HepMC::GenParticle>&
p,
66 std::vector<double>& spinup,
67 std::vector<int>& m_idx);
void statistics() override
edm::ParameterSet * fPSet
void disablePolarization() override
void setRandomEngine(CLHEP::HepRandomEngine *v) override
HepMC::GenEvent * decay(HepMC::GenEvent *) override
std::vector< double > fScaledHadronBrRatios
HepMC::GenEvent * make_simple_tau_event(const TLorentzVector &l, int pdgid, int status)
TauolappInterface(const edm::ParameterSet &, edm::ConsumesCollector)
const std::vector< int > & operatesOnParticles() override
void init(const edm::EventSetup &) override
void BoostProdToLabLifeTimeInDecays(HepMC::GenParticle *p, TLorentzVector &lab, TLorentzVector &prod)
std::vector< int > fLeptonModes
~TauolappInterface() override
void SetLHE(lhef::LHEEvent *l) override
edm::ESGetToken< HepPDT::ParticleDataTable, edm::DefaultRecord > fPDGTableToken
void rmarin_(int *, int *, int *)
void enablePolarization() override
void update_particles(HepMC::GenParticle *partHep, HepMC::GenEvent *theEvent, HepMC::GenParticle *p, TVector3 &boost)
HepMC::GenParticle * FirstTauInChain(HepMC::GenParticle *tau)
bool isLastTauInChain(const HepMC::GenParticle *tau)
std::vector< double > fScaledLeptonBrRatios
static CLHEP::HepRandomEngine * fRandomEngine
std::vector< int > fHadronModes
void ranmar_(float *rvec, int *lenv)
HepMC::GenParticle * GetMother(HepMC::GenParticle *tau)
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
double MatchedLHESpinUp(HepMC::GenParticle *tau, std::vector< HepMC::GenParticle > &p, std::vector< double > &spinup, std::vector< int > &m_idx)
void selectDecayByMDTAU()