From b727c071b519c13cf1bcc47788807f59101e7951 Mon Sep 17 00:00:00 2001 From: John Chapman Date: Fri, 31 Jan 2020 16:31:04 +0100 Subject: [PATCH] Fix random number stream usage in FastCaloSimV2Tool Adding one change accidentally missed out from !29913. --- .../ISF_FastCaloSimServices/src/FastCaloSimV2Tool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/src/FastCaloSimV2Tool.cxx b/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/src/FastCaloSimV2Tool.cxx index 379edc0b6d6..4c3f8b6234d 100644 --- a/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/src/FastCaloSimV2Tool.cxx +++ b/Simulation/ISF/ISF_FastCaloSim/ISF_FastCaloSimServices/src/FastCaloSimV2Tool.cxx @@ -198,7 +198,7 @@ StatusCode ISF::FastCaloSimV2Tool::simulate(const ISF::ISFParticle& isfp, ISFPar TFCSExtrapolationState extrapol; m_FastCaloSimCaloExtrapolation->extrapolate(extrapol,&truth); - ATHRNG::RNGWrapper* rngWrapper = m_rndmGenSvc->getEngine(this); + ATHRNG::RNGWrapper* rngWrapper = m_rndmGenSvc->getEngine(this, m_randomEngineName); TFCSSimulationState simulstate(*rngWrapper); ATH_MSG_DEBUG(" particle: " << isfp.pdgCode() << " Ekin: " << isfp.ekin() << " position eta: " << particle_position.eta() << " direction eta: " << particle_direction.eta() << " position phi: " << particle_position.phi() << " direction phi: " << particle_direction.phi()); -- GitLab