Cannot run g4 in argoneut simulation
Starting from v06_36_00, we cannot run g4 in argoneut simulation.
lar -c standard_sim_t962.fcl
gives the following error:
%MSG-e BeginJob: LArG4:largeant@BeginJob 23-May-2017 09:22:01 CDT ModuleConstruction A cet::exception is going through WorkerT<EDProducer>: %MSG -------- EEEE ------- G4Exception-START -------- EEEE ------- *** G4Exception : Run0041 issued by : G4UserRunAction::G4UserRunAction() You are instantiating G4UserRunAction BEFORE your G4VUserPhysicsList is instantiated and assigned to G4RunManager. Such an instantiation is prohibited by Geant4 version 8.0. To fix this problem, please make sure that your main() instantiates G4VUserPhysicsList AND set it to G4RunManager before instantiating other user action classes such as G4UserRunAction. *** Fatal Exception *** core dump *** -------- EEEE -------- G4Exception-END --------- EEEE ------- *** G4Exception: Aborting execution *** Aborted
#1 Updated by Tingjun Yang about 3 years ago
The simulation quits right after the following printout:
%MSG-i MaterialPropertyLoader: LArG4:largeant@BeginJob 23-May-2017 13:44:35 CDT ModuleConstruction Added property TPB RINDEX %MSG %MSG-e BeginJob: LArG4:largeant@BeginJob 23-May-2017 13:44:35 CDT ModuleConstruction A cet::exception is going through WorkerT<EDProducer>:
I believe this is related to the merging of feature//dgg_lightprop. I hope there is a way to turn off TPB related stuff.
#2 Updated by Tingjun Yang about 3 years ago
- Status changed from New to Resolved
- Assignee set to Tingjun Yang
- % Done changed from 0 to 100
It turns out the fcl parameter LoadExtraMatProperties was not read in in LArPropertiesServiceArgoNeuT_service.cc. Fixed in lardata:0cca38e43c45312dc3c4f1d44b33e0adb3b71eb4.