|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "G4EventManager.hh"
16 #include "G4PhysicalVolumeStore.hh"
18 #include "G4TransportationManager.hh"
19 #include "G4VPhysicalVolume.hh"
20 #include "G4VSolid.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.
std::pair< AtlasDetDescr::AtlasRegion, ISF::SimSvcID > DetRegionSvcIDPair
the datatype to be used to store each individual particle hop
This class is attached to G4Event objects as UserInformation. It holds a pointer to the HepMC::GenEve...
virtual void registerTruthIncident(ITruthIncident &truthincident, bool saveAllChildren=false) const =0
Register a truth incident.
void SetISFTruthSvc(ISF::ITruthSvc *truthSvc)
Define which ISF TruthService to use.
static AtlasDetDescr::AtlasRegion nextGeoId(const G4Step *aStep, int truthVolLevel, ISF::IGeoIDSvc *geoIDSvc)
bool CreateTruthIncident(const G4Step *, int subDetVolLevel) const
Returns true if any of the truth strategies return true.
ISF::IGeoIDSvc * m_geoIDSvc
static const TruthStrategyManager & GetStrategyManager()
Retrieve the (const) singleton instance.
void SetISFGeoIDSvc(ISF::IGeoIDSvc *geoIDSvc)
Define which ISF GeoIDSvc to use.
Singleton class for creating truth incidents.
constexpr int UNDEFINED_ID
Eigen::Matrix< double, 3, 1 > Vector3D
ISF::ITruthSvc * m_truthSvc
ISF Services the TruthStrategyManager talks to.