From e626956eb33ff716529810a9802af829416890e6 Mon Sep 17 00:00:00 2001 From: mszydagis Date: Fri, 10 Jun 2022 20:36:15 -0400 Subject: [PATCH] Additional needed Geant4 instructions from Eric Church. -MMS --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f134733..98a6988f 100644 --- a/README.md +++ b/README.md @@ -532,11 +532,12 @@ The executable will print S1 and S2 areas to screen in addition to the number of ```cpp SetUserAction(new NESTStackingAction()); ``` + Put this line after all other lines in Build(), else you may only ever run precisely one event. -5. In your physics list, you'll want code that looks like this: +5. In your physics list, you'll want code that looks like this in your G4VPhysicsConstructer::ConstructProcess() method: ```cpp - NEST::NESTProc* theNEST2ScintillationProcess = new NEST::NESTProc("S1",fElectromagnetic,[your electric field]); + NEST::NESTProc* theNEST2ScintillationProcess = new NEST::NESTProc("S1",fElectromagnetic,[your VDetector]); if (theNEST2ScintillationProcess->IsApplicable(*particle)) { pmanager->AddProcess(theScintillationProcess, ordDefault + 1, ordInActive, ordDefault + 1); }