diff --git a/Detectors/ZDC/simulation/include/ZDCSimulation/Detector.h b/Detectors/ZDC/simulation/include/ZDCSimulation/Detector.h index c9a3b771e47ef..97227f11c746e 100644 --- a/Detectors/ZDC/simulation/include/ZDCSimulation/Detector.h +++ b/Detectors/ZDC/simulation/include/ZDCSimulation/Detector.h @@ -237,13 +237,13 @@ class Detector : public o2::base::DetImpl ParticlePhotonResponse* mResponsesPtr = &mResponses; // fast simulation (replaces geometry + transport when enabled via ZDCSimParam.useZDCFastSim) - bool mUseFastSim = false; //! - std::unique_ptr mFastSim; //! - std::vector mFastSimIndices; //! indices of the primaries given to the model - std::vector mFastSimInput; //! flat input of the model + bool mUseFastSim = false; //! + std::unique_ptr mFastSim; //! + std::vector mFastSimIndices; //! indices of the primaries given to the model + std::vector mFastSimInput; //! flat input of the model std::vector mFastSimSeeds; //! per-primary seeds of the model (SimCutParams.trackSeed only) - std::vector mFastSimOutput; //! flat output of the model - size_t mFastSimNInvalid = 0; //! number of primaries with an invalid model output + std::vector mFastSimOutput; //! flat output of the model + size_t mFastSimNInvalid = 0; //! number of primaries with an invalid model output template friend class o2::base::DetImpl; diff --git a/Detectors/ZDC/simulation/src/FastSim.cxx b/Detectors/ZDC/simulation/src/FastSim.cxx index 84e749127d8b1..5bb14fccff998 100644 --- a/Detectors/ZDC/simulation/src/FastSim.cxx +++ b/Detectors/ZDC/simulation/src/FastSim.cxx @@ -137,7 +137,7 @@ void FastSim::run(const std::vector& conditions, int nParticles, std::vec LOG(fatal) << "ZDC fast simulation: " << seeds.size() << " seeds for " << nParticles << " particles"; } const bool hasUniform = mImpl->inputNames.size() > 2; // uniform numbers for the stochastic rounding done inside the model - auto* rnd = o2::base::simRandom(); // the generator of the transport of this thread + auto* rnd = o2::base::simRandom(); // the generator of the transport of this thread mNoise.resize(size_t(nParticles) * FastSimModel::NOutputs); mUniform.resize(hasUniform ? mNoise.size() : 0); if (perParticleSeeds) {