15#include "G4EventManager.hh"
16#include "G4PhysicalVolumeStore.hh"
18#include "G4TransportationManager.hh"
19#include "G4VPhysicalVolume.hh"
68 auto* atlasG4EvtUserInfo =
static_cast<AtlasG4EventUserInfo*
> (G4EventManager::GetEventManager()->GetConstCurrentEvent()->GetUserInformation());
75 const double myMass = 0.0;
76 const double myCharge = 0.0;
77 const int myPdgCode = 0;
78 const int mystatus = 3333;
79 const double myTime =0.;
82 ISF::ISFParticle myISFParticle(myPos, myMom, myMass, myCharge, myPdgCode, mystatus, myTime, origin, myID);
TruthStrategyManager &TruthStrategyManager::GetStrategyManager_nc ATLAS_NOT_THREAD_SAFE()
Install fatal handler with default options.
This class is attached to G4Event objects as UserInformation.
The interface to chose between the sub geometry services, realized as an AlgTool since it does not ha...
The generic ISF particle definition,.
Singleton class for creating truth incidents.
ISF::ITruthSvc * m_truthSvc
ISF Services the TruthStrategyManager talks to.
ISF::IGeoIDSvc * m_geoIDSvc
void SetISFGeoIDSvc(ISF::IGeoIDSvc *geoIDSvc)
Define which ISF GeoIDSvc to use.
void SetISFTruthSvc(ISF::ITruthSvc *truthSvc)
Define which ISF TruthService to use.
bool CreateTruthIncident(const G4Step *, int subDetVolLevel) const
Returns true if any of the truth strategies return true.
static const TruthStrategyManager & GetStrategyManager()
Retrieve the (const) singleton instance.
ISF_Geant4 specific implementation of the ISF::ITruthIncident.
static AtlasDetDescr::AtlasRegion nextGeoId(const G4Step *aStep, int truthVolLevel, ISF::IGeoIDSvc *geoIDSvc)
Eigen::Matrix< double, 3, 1 > Vector3D
AtlasRegion
A simple enum of ATLAS regions and sub-detectors.
constexpr int UNDEFINED_ID
std::pair< AtlasDetDescr::AtlasRegion, ISF::SimSvcID > DetRegionSvcIDPair
the datatype to be used to store each individual particle hop