EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtPHOTOS Class Reference

#include <EvtGenExternal/EvtPHOTOS.hh>

Inheritance diagram for EvtPHOTOS:
EvtAbsRadCorr

Public Member Functions

 EvtPHOTOS (const std::string &photonType="gamma", const bool useEvtGenRandom=true, const double infraredCutOff=1.0e-7, const double maxWtInterference=64.0)
void initialise () override
void doRadCorr (EvtParticle *theParticle) override
Public Member Functions inherited from EvtAbsRadCorr
 EvtAbsRadCorr ()
virtual ~EvtAbsRadCorr ()

Private Member Functions

GenParticlePtr createGenParticle (const EvtParticle &theParticle, bool incoming) const
int getNumberOfPhotons (const GenVertexPtr theVertex) const

Private Attributes

bool m_useEvtGenRandom = true
double m_infraredCutOff = 1.0e-7
double m_maxWtInterference = 64.0
std::string m_photonType = "gamma"
EvtId m_gammaId = EvtId( -1, -1 )
long int m_gammaPDG = 22

Static Private Attributes

static bool m_initialised = false
static std::mutex m_photos_mutex

Detailed Description

Definition at line 53 of file EvtPHOTOS.hh.

Constructor & Destructor Documentation

◆ EvtPHOTOS()

EvtPHOTOS::EvtPHOTOS ( const std::string & photonType = "gamma",
const bool useEvtGenRandom = true,
const double infraredCutOff = 1.0e-7,
const double maxWtInterference = 64.0 )

Definition at line 41 of file EvtPHOTOS.cpp.

Member Function Documentation

◆ createGenParticle()

GenParticlePtr EvtPHOTOS::createGenParticle ( const EvtParticle & theParticle,
bool incoming ) const
private

Definition at line 232 of file EvtPHOTOS.cpp.

◆ doRadCorr()

void EvtPHOTOS::doRadCorr ( EvtParticle * theParticle)
overridevirtual

Implements EvtAbsRadCorr.

Definition at line 104 of file EvtPHOTOS.cpp.

◆ getNumberOfPhotons()

int EvtPHOTOS::getNumberOfPhotons ( const GenVertexPtr theVertex) const
private

Definition at line 263 of file EvtPHOTOS.cpp.

◆ initialise()

void EvtPHOTOS::initialise ( )
overridevirtual

Implements EvtAbsRadCorr.

Definition at line 51 of file EvtPHOTOS.cpp.

Member Data Documentation

◆ m_gammaId

EvtId EvtPHOTOS::m_gammaId = EvtId( -1, -1 )
private

Definition at line 81 of file EvtPHOTOS.hh.

◆ m_gammaPDG

long int EvtPHOTOS::m_gammaPDG = 22
private

Definition at line 82 of file EvtPHOTOS.hh.

◆ m_infraredCutOff

double EvtPHOTOS::m_infraredCutOff = 1.0e-7
private

Definition at line 75 of file EvtPHOTOS.hh.

◆ m_initialised

bool EvtPHOTOS::m_initialised = false
staticprivate

Definition at line 84 of file EvtPHOTOS.hh.

◆ m_maxWtInterference

double EvtPHOTOS::m_maxWtInterference = 64.0
private

Definition at line 77 of file EvtPHOTOS.hh.

◆ m_photonType

std::string EvtPHOTOS::m_photonType = "gamma"
private

Definition at line 80 of file EvtPHOTOS.hh.

◆ m_photos_mutex

std::mutex EvtPHOTOS::m_photos_mutex
staticprivate

Definition at line 85 of file EvtPHOTOS.hh.

◆ m_useEvtGenRandom

bool EvtPHOTOS::m_useEvtGenRandom = true
private

Definition at line 71 of file EvtPHOTOS.hh.


The documentation for this class was generated from the following files: