6#include "GaudiKernel/IIncidentSvc.h"
11 const std::string& name,
12 const IInterface* parent) :
13 base_class(
type,name,parent)
24 SmartIF<IIncidentSvc> incsvc{Gaudi::svcLocator()->service(
"IncidentSvc")};
27 return StatusCode::FAILURE ;
31 incsvc->addListener(
this,
"BeginEvent",pri);
35 return StatusCode::SUCCESS;
69 for(
const LArHit* hit : *it){
71 te += hit->energy() * hit->time() ;
Class to store hit energy and time in LAr cell from G4 simulation.