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
EvtSherpaPhotons Class Reference

#include <EvtGenExternal/EvtSherpaPhotons.hh>

Inheritance diagram for EvtSherpaPhotons:
EvtAbsRadCorr

Public Member Functions

 EvtSherpaPhotons (const bool useEvtGenRandom=true, const double infraredCutOff=1.0e-7, const int mode=2, const int useME=0)
void initialise () override
void doRadCorr (EvtParticle *p) override
Public Member Functions inherited from EvtAbsRadCorr
 EvtAbsRadCorr ()
virtual ~EvtAbsRadCorr ()

Private Member Functions

std::vector< char * > addParameters ()
void updateParticleLists ()

Private Attributes

std::vector< std::string > m_configs { "Sherpa", "INIT_ONLY=6" }
bool m_useEvtGenRandom = true
double m_infraredCutOff = 1.0e-7
int m_mode = 2
int m_useME = 0
const std::string m_photonType = "gamma"
EvtId m_gammaId = EvtId( -1, -1 )
long int m_gammaPDG = 22

Static Private Attributes

static std::unique_ptr< SHERPA::Sherpa > m_sherpaGen
static bool m_initialised = false
static std::mutex m_sherpa_mutex

Detailed Description

Definition at line 41 of file EvtSherpaPhotons.hh.

Constructor & Destructor Documentation

◆ EvtSherpaPhotons()

EvtSherpaPhotons::EvtSherpaPhotons ( const bool useEvtGenRandom = true,
const double infraredCutOff = 1.0e-7,
const int mode = 2,
const int useME = 0 )

Definition at line 45 of file EvtSherpaPhotons.cpp.

Member Function Documentation

◆ addParameters()

std::vector< char * > EvtSherpaPhotons::addParameters ( )
private

Definition at line 132 of file EvtSherpaPhotons.cpp.

◆ doRadCorr()

void EvtSherpaPhotons::doRadCorr ( EvtParticle * p)
overridevirtual

Implements EvtAbsRadCorr.

Definition at line 198 of file EvtSherpaPhotons.cpp.

◆ initialise()

void EvtSherpaPhotons::initialise ( )
overridevirtual

Implements EvtAbsRadCorr.

Definition at line 55 of file EvtSherpaPhotons.cpp.

◆ updateParticleLists()

void EvtSherpaPhotons::updateParticleLists ( )
private

Definition at line 149 of file EvtSherpaPhotons.cpp.

Member Data Documentation

◆ m_configs

std::vector<std::string> EvtSherpaPhotons::m_configs { "Sherpa", "INIT_ONLY=6" }
private

Definition at line 60 of file EvtSherpaPhotons.hh.

◆ m_gammaId

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

Definition at line 76 of file EvtSherpaPhotons.hh.

◆ m_gammaPDG

long int EvtSherpaPhotons::m_gammaPDG = 22
private

Definition at line 77 of file EvtSherpaPhotons.hh.

◆ m_infraredCutOff

double EvtSherpaPhotons::m_infraredCutOff = 1.0e-7
private

Definition at line 67 of file EvtSherpaPhotons.hh.

◆ m_initialised

bool EvtSherpaPhotons::m_initialised = false
staticprivate

Definition at line 81 of file EvtSherpaPhotons.hh.

◆ m_mode

int EvtSherpaPhotons::m_mode = 2
private

Definition at line 70 of file EvtSherpaPhotons.hh.

◆ m_photonType

const std::string EvtSherpaPhotons::m_photonType = "gamma"
private

Definition at line 75 of file EvtSherpaPhotons.hh.

◆ m_sherpa_mutex

std::mutex EvtSherpaPhotons::m_sherpa_mutex
staticprivate

Definition at line 82 of file EvtSherpaPhotons.hh.

◆ m_sherpaGen

std::unique_ptr< SHERPA::Sherpa > EvtSherpaPhotons::m_sherpaGen
staticprivate

Definition at line 80 of file EvtSherpaPhotons.hh.

◆ m_useEvtGenRandom

bool EvtSherpaPhotons::m_useEvtGenRandom = true
private

Definition at line 63 of file EvtSherpaPhotons.hh.

◆ m_useME

int EvtSherpaPhotons::m_useME = 0
private

Definition at line 72 of file EvtSherpaPhotons.hh.


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