14 const std::string& name,
15 const IInterface* parent)
18 declareProperty(
"TruthRecordSvc",
m_config.truthRecordSvc,
19 "ISF Particle Truth Svc");
20 declareProperty(
"SecondarySavingLevel",
m_config.ilevel=2);
23 std::unique_ptr<MCTruthUserAction>
27 if(msgLvl(MSG::VERBOSE)) {
m_config.verboseLevel = 10; }
28 else if(msgLvl(MSG::DEBUG)) {
m_config.verboseLevel = 5; }
29 auto action = std::make_unique<MCTruthUserAction>(
m_config);
Struct for passing around user actions.
std::vector< G4UserTrackingAction * > trackingActions