14 const std::string& name,
15 const IInterface* parent)
26 return StatusCode::SUCCESS;
42 auto meanSigma = report.meanAndSigma();
43 ATH_MSG_INFO(
"Finalized timing results for " << report.nEvent <<
44 " events (not all events used)");
46 std::setprecision(4) << meanSigma.first <<
" +- " <<
47 std::setprecision(4) << meanSigma.second);
48 return StatusCode::SUCCESS;
54 std::unique_ptr<G4SimTimer>
58 auto action = std::make_unique<G4SimTimer>();
A user action for monitoring G4 runtime at event and run level.
const Report & getReport() const
Retrieve my timing results.
Struct for passing around user actions.
std::vector< G4UserEventAction * > eventActions
Simple struct which holds timing results for an action instance.
void merge(const Report &rep)