ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_Geant4
ISF_Geant4Event
ISF_Geant4Event
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
9
#include "
AtlasDetDescr/AtlasRegion.h
"
10
11
12
class
G4Step;
13
class
G4LogicalVolume;
14
class
G4StepPoint;
15
16
17
namespace
ISF
{
18
class
IGeoIDSvc
;
19
}
20
21
22
namespace
iGeant4
{
23
24
class
ISFG4GeoHelper
{
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
AtlasRegion.h
ISF::IGeoIDSvc
The interface to chose between the sub geometry services, realized as an AlgTool since it does not ha...
Definition
IGeoIDSvc.h:41
iGeant4::ISFG4GeoHelper::checkVolumeDepth
static bool checkVolumeDepth(G4LogicalVolume *logicalVol, int volLevel, int depth=0)
Definition
ISFG4GeoHelper.cxx:109
iGeant4::ISFG4GeoHelper::nextGeoId
static AtlasDetDescr::AtlasRegion nextGeoId(const G4Step *aStep, int truthVolLevel, ISF::IGeoIDSvc *geoIDSvc)
Definition
ISFG4GeoHelper.cxx:20
iGeant4::ISFG4GeoHelper::getNextGeoIDFromSvc
static AtlasDetDescr::AtlasRegion getNextGeoIDFromSvc(const G4StepPoint &postStep, const ISF::IGeoIDSvc &geoIDSvc)
get the next GeoID using only the geoIDSvc
Definition
ISFG4GeoHelper.cxx:88
iGeant4::ISFG4GeoHelper::ISFG4GeoHelper
ISFG4GeoHelper()=delete
depth
std::string depth
tag string for intendation
Definition
fastadd.cxx:46
AtlasDetDescr::AtlasRegion
AtlasRegion
A simple enum of ATLAS regions and sub-detectors.
Definition
AtlasRegion.h:21
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
iGeant4
Definition
Geant4TruthIncident.h:33
Generated on
for ATLAS Offline Software by
1.17.0