ATLAS Offline Software
Loading...
Searching...
No Matches
ISFG4GeoHelper.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ISF_GEANT4EVENT_ISFG4GEOHELPER_H
6#define ISF_GEANT4EVENT_ISFG4GEOHELPER_H
7
8
10
11
12class G4Step;
13class G4LogicalVolume;
14class G4StepPoint;
15
16
17namespace ISF{
18 class IGeoIDSvc;
19}
20
21
22namespace iGeant4 {
23
25
26 public:
27 ISFG4GeoHelper() = delete;
28
29 static AtlasDetDescr::AtlasRegion nextGeoId(const G4Step* aStep, int truthVolLevel,ISF::IGeoIDSvc *geoIDSvc);
30 static bool checkVolumeDepth(G4LogicalVolume* logicalVol, int volLevel, int depth=0);
31
33 static AtlasDetDescr::AtlasRegion getNextGeoIDFromSvc(const G4StepPoint& postStep, const ISF::IGeoIDSvc &geoIDSvc);
34
35};
36
37}
38#endif
The interface to chose between the sub geometry services, realized as an AlgTool since it does not ha...
Definition IGeoIDSvc.h:41
static bool checkVolumeDepth(G4LogicalVolume *logicalVol, int volLevel, int depth=0)
static AtlasDetDescr::AtlasRegion nextGeoId(const G4Step *aStep, int truthVolLevel, ISF::IGeoIDSvc *geoIDSvc)
static AtlasDetDescr::AtlasRegion getNextGeoIDFromSvc(const G4StepPoint &postStep, const ISF::IGeoIDSvc &geoIDSvc)
get the next GeoID using only the geoIDSvc
std::string depth
tag string for intendation
Definition fastadd.cxx:46
AtlasRegion
A simple enum of ATLAS regions and sub-detectors.
Definition AtlasRegion.h:21
ISFParticleOrderedQueue.