diff --git a/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp b/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp index b1132bb3a6980ebf86fd442db7811f6d523110b6..dae2c4399220a114f957c63dce49e24083f14686 100644 --- a/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp +++ b/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp @@ -14,7 +14,7 @@ EcalFastSimG4Model::~EcalFastSimG4Model() { G4bool EcalFastSimG4Model::IsApplicable(const G4ParticleDefinition& aParticle) { // return aParticle.GetPDGCharge() != 0; - return 1; + return true; } G4bool EcalFastSimG4Model::ModelTrigger(const G4FastTrack& aFastTrack) {