From e2f96b4cd7e2435247d7212cf9f9d6af1da5b909 Mon Sep 17 00:00:00 2001 From: myliu <201916234@mail.sdu.edu.cn> Date: Wed, 10 Feb 2021 22:44:20 +0800 Subject: [PATCH] modify --- Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp b/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp index 8bb1234a..b1132bb3 100644 --- a/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp +++ b/Simulation/DetSimFastModel/src/EcalFastSimG4Model.cpp @@ -13,7 +13,8 @@ EcalFastSimG4Model::~EcalFastSimG4Model() { } G4bool EcalFastSimG4Model::IsApplicable(const G4ParticleDefinition& aParticle) { - return aParticle.GetPDGCharge() != 0; +// return aParticle.GetPDGCharge() != 0; + return 1; } G4bool EcalFastSimG4Model::ModelTrigger(const G4FastTrack& aFastTrack) { -- GitLab