From 7a952504dfc02c05d9f23b504b2c16dec1338861 Mon Sep 17 00:00:00 2001
From: Tao Lin <831611+mirguest@users.noreply.github.com>
Date: Fri, 12 Feb 2021 09:49:17 +0800
Subject: [PATCH] Update EcalFastSimG4Model.cpp

---
 Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp b/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp
index b1132bb3..dae2c439 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) {
-- 
GitLab