Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenExternal/EvtTauola.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
void EvtTauola::decay( EvtParticle* p ) | void EvtTauola::decay( EvtParticle* p ) | ||||
{ | { | ||||
// We check to see if the Tauola engine has been created before doing the decay. | // We check to see if the Tauola engine has been created before doing the decay. | ||||
// This should only create the full Tauola engine once, and all clones will | // This should only create the full Tauola engine once, and all clones will | ||||
// point to the same engine. | // point to the same engine. | ||||
if ( !_tauolaEngine ) { | if ( !m_tauolaEngine ) { | ||||
_tauolaEngine = EvtExternalGenFactory::getInstance()->getGenerator( | m_tauolaEngine = EvtExternalGenFactory::getInstance()->getGenerator( | ||||
EvtExternalGenFactory::TauolaGenId ); | EvtExternalGenFactory::TauolaGenId ); | ||||
} | } | ||||
if ( _tauolaEngine ) { | if ( m_tauolaEngine ) { | ||||
_tauolaEngine->doDecay( p ); | m_tauolaEngine->doDecay( p ); | ||||
} | } | ||||
} | } |