CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
gen::TauolappInterface Class Reference

#include <TauolappInterface.h>

Inheritance diagram for gen::TauolappInterface:
gen::TauolaInterfaceBase

Public Member Functions

HepMC::GenEvent * decay (HepMC::GenEvent *)
 
void disablePolarization ()
 
void enablePolarization ()
 
void init (const edm::EventSetup &)
 
const std::vector< int > & operatesOnParticles ()
 
virtual void SetLHE (lhef::LHEEvent *l)
 
void setRandomEngine (CLHEP::HepRandomEngine *v)
 
void statistics ()
 
 TauolappInterface (const edm::ParameterSet &)
 
 ~TauolappInterface ()
 
- 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
 
bool fPolarization
 
edm::ParameterSetfPSet
 
std::vector< double > fScaledHadronBrRatios
 
std::vector< double > fScaledLeptonBrRatios
 
bool fSelectDecayByEvent
 
lhef::LHEEventlhe
 
double lifetime
 
int ntries
 

Static Private Attributes

static CLHEP::HepRandomEngine * fRandomEngine = 0
 

Additional Inherited Members

- Protected Attributes inherited from gen::TauolaInterfaceBase
std::vector< int > fPDGs
 

Detailed Description

Definition at line 30 of file TauolappInterface.h.

Constructor & Destructor Documentation

TauolappInterface::TauolappInterface ( const edm::ParameterSet pset)

Definition at line 55 of file TauolappInterface.cc.

TauolappInterface::~TauolappInterface ( )

Definition at line 71 of file TauolappInterface.cc.

Member Function Documentation

void TauolappInterface::BoostProdToLabLifeTimeInDecays ( HepMC::GenParticle *  p,
TLorentzVector &  lab,
TLorentzVector &  prod 
)
private

Definition at line 789 of file TauolappInterface.cc.

HepMC::GenEvent * TauolappInterface::decay ( HepMC::GenEvent *  evt)
virtual

Reimplemented from gen::TauolaInterfaceBase.

Definition at line 201 of file TauolappInterface.cc.

void TauolappInterface::decodeMDTAU ( int  mdtau)
private

Definition at line 358 of file TauolappInterface.cc.

void gen::TauolappInterface::disablePolarization ( )
inlinevirtual

Reimplemented from gen::TauolaInterfaceBase.

Definition at line 38 of file TauolappInterface.h.

References fPolarization.

38 { fPolarization = false; return; }
void gen::TauolappInterface::enablePolarization ( )
inlinevirtual

Reimplemented from gen::TauolaInterfaceBase.

Definition at line 37 of file TauolappInterface.h.

References fPolarization.

37 { fPolarization = true; return; }
HepMC::GenParticle * TauolappInterface::FirstTauInChain ( HepMC::GenParticle *  tau)
private

Definition at line 768 of file TauolappInterface.cc.

double TauolappInterface::flat ( void  )
static

Definition at line 190 of file TauolappInterface.cc.

HepMC::GenParticle * TauolappInterface::GetMother ( HepMC::GenParticle *  tau)
private

Definition at line 778 of file TauolappInterface.cc.

void TauolappInterface::init ( const edm::EventSetup es)
virtual

Reimplemented from gen::TauolaInterfaceBase.

Definition at line 73 of file TauolappInterface.cc.

bool TauolappInterface::isLastTauInChain ( const HepMC::GenParticle *  tau)
private

Definition at line 740 of file TauolappInterface.cc.

HepMC::GenEvent * TauolappInterface::make_simple_tau_event ( const TLorentzVector &  l,
int  pdgid,
int  status 
)
private

Definition at line 704 of file TauolappInterface.cc.

double TauolappInterface::MatchedLHESpinUp ( HepMC::GenParticle *  tau,
std::vector< HepMC::GenParticle > &  p,
std::vector< double > &  spinup,
std::vector< int > &  m_idx 
)
private

Definition at line 751 of file TauolappInterface.cc.

const std::vector<int>& gen::TauolappInterface::operatesOnParticles ( )
inlinevirtual

Reimplemented from gen::TauolaInterfaceBase.

Definition at line 40 of file TauolappInterface.h.

References fPDGs.

40 { return fPDGs; }
std::vector< int > fPDGs
void TauolappInterface::selectDecayByMDTAU ( )
private

Definition at line 528 of file TauolappInterface.cc.

int TauolappInterface::selectHadronic ( )
private

Definition at line 675 of file TauolappInterface.cc.

int TauolappInterface::selectLeptonic ( )
private

Definition at line 658 of file TauolappInterface.cc.

virtual void gen::TauolappInterface::SetLHE ( lhef::LHEEvent l)
inlinevirtual

Reimplemented from gen::TauolaInterfaceBase.

Definition at line 43 of file TauolappInterface.h.

References cmsLHEtoEOSManager::l, and lhe.

void gen::TauolappInterface::setRandomEngine ( CLHEP::HepRandomEngine *  v)
inlinevirtual

Implements gen::TauolaInterfaceBase.

Definition at line 44 of file TauolappInterface.h.

References fRandomEngine, and gen::v.

44 { fRandomEngine = v; }
double v[5][pyjets_maxn]
static CLHEP::HepRandomEngine * fRandomEngine
void TauolappInterface::statistics ( )
virtual

Reimplemented from gen::TauolaInterfaceBase.

Definition at line 353 of file TauolappInterface.cc.

void TauolappInterface::update_particles ( HepMC::GenParticle *  partHep,
HepMC::GenEvent *  theEvent,
HepMC::GenParticle *  p,
TVector3 &  boost 
)
private

Definition at line 717 of file TauolappInterface.cc.

Member Data Documentation

double gen::TauolappInterface::dmMatch
private

Definition at line 78 of file TauolappInterface.h.

bool gen::TauolappInterface::dolhe
private

Definition at line 79 of file TauolappInterface.h.

bool gen::TauolappInterface::dolheBosonCorr
private

Definition at line 80 of file TauolappInterface.h.

std::vector<int> gen::TauolappInterface::fHadronModes
private

Definition at line 73 of file TauolappInterface.h.

bool gen::TauolappInterface::fIsInitialized
private

Definition at line 68 of file TauolappInterface.h.

std::vector<int> gen::TauolappInterface::fLeptonModes
private

Definition at line 72 of file TauolappInterface.h.

int gen::TauolappInterface::fMDTAU
private

Definition at line 70 of file TauolappInterface.h.

std::vector<int> gen::TauolappInterface::fPDGs
private

Definition at line 64 of file TauolappInterface.h.

Referenced by operatesOnParticles().

edm::ESHandle<HepPDT::ParticleDataTable> gen::TauolappInterface::fPDGTable
private

Definition at line 66 of file TauolappInterface.h.

bool gen::TauolappInterface::fPolarization
private

Definition at line 65 of file TauolappInterface.h.

Referenced by disablePolarization(), and enablePolarization().

edm::ParameterSet* gen::TauolappInterface::fPSet
private

Definition at line 67 of file TauolappInterface.h.

CLHEP::HepRandomEngine * TauolappInterface::fRandomEngine = 0
staticprivate

Definition at line 63 of file TauolappInterface.h.

Referenced by setRandomEngine().

std::vector<double> gen::TauolappInterface::fScaledHadronBrRatios
private

Definition at line 75 of file TauolappInterface.h.

std::vector<double> gen::TauolappInterface::fScaledLeptonBrRatios
private

Definition at line 74 of file TauolappInterface.h.

bool gen::TauolappInterface::fSelectDecayByEvent
private

Definition at line 71 of file TauolappInterface.h.

lhef::LHEEvent* gen::TauolappInterface::lhe
private

Definition at line 76 of file TauolappInterface.h.

Referenced by SetLHE().

double gen::TauolappInterface::lifetime
private

Definition at line 82 of file TauolappInterface.h.

int gen::TauolappInterface::ntries
private

Definition at line 81 of file TauolappInterface.h.