Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenExternal/EvtPHOTOS.cpp
Show All 15 Lines | |||||
* * | * * | ||||
* You should have received a copy of the GNU General Public License * | * You should have received a copy of the GNU General Public License * | ||||
* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. * | * along with EvtGen. If not, see <https://www.gnu.org/licenses/>. * | ||||
***********************************************************************/ | ***********************************************************************/ | ||||
#include "EvtGenExternal/EvtPHOTOS.hh" | #include "EvtGenExternal/EvtPHOTOS.hh" | ||||
#include "EvtGenBase/EvtPatches.hh" | #include "EvtGenBase/EvtPatches.hh" | ||||
#include "EvtGenExternal/EvtExternalGenFactory.hh" | #include "EvtGenExternal/EvtExternalGenFactory.hh" | ||||
jback: Is the mutexing planned for this MR? | |||||
Done Inline ActionsWe introduced the mutex only for PHOTOS already in D112. This is just applying the m_ rule to it. abudinen: We introduced the mutex only for PHOTOS already in D112. This is just applying the `m_` rule to… | |||||
void EvtPHOTOS::doRadCorr( EvtParticle* p ) | void EvtPHOTOS::doRadCorr( EvtParticle* p ) | ||||
{ | { | ||||
if ( !_photosEngine ) { | if ( !m_photosEngine ) { | ||||
_photosEngine = EvtExternalGenFactory::getInstance()->getGenerator( | m_photosEngine = EvtExternalGenFactory::getInstance()->getGenerator( | ||||
EvtExternalGenFactory::PhotosGenId ); | EvtExternalGenFactory::PhotosGenId ); | ||||
} | } | ||||
if ( _photosEngine ) { | if ( m_photosEngine ) { | ||||
_photosEngine->doDecay( p ); | m_photosEngine->doDecay( p ); | ||||
} | } | ||||
} | } |
Is the mutexing planned for this MR?