|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef LARG4BARREL_LARBARRELPRESAMPLERGEOMETRY_H
8 #define LARG4BARREL_LARBARRELPRESAMPLERGEOMETRY_H
25 namespace BarrelPresampler {
27 class Geometry:
public extends<AthService, ILArBarrelPresamplerGeometry> {
32 Geometry(
const std::string&
name, ISvcLocator * pSvcLocator);
39 virtual bool findCell(
CalcData & currentCellData, G4double xloc,G4double yloc,G4double zloc)
const override final;
49 if (zCoord > 0.) {
return 1; }
84 #endif // LARG4BARREL_LARBARRELPRESAMPLERGEOMETRY_H
virtual StatusCode initialize() override final
initialize geometry parameters this should at some stage be taken from a database....
virtual bool findCell(CalcData ¤tCellData, G4double xloc, G4double yloc, G4double zloc) const override final
=============================================================================== bool findCell(xloc,...
virtual LArG4Identifier CalculateIdentifier(const G4Step *) const override final
The following method computes the identifiers in the Presampler volume:
Geometry(const std::string &name, ISvcLocator *pSvcLocator)
std::string m_detectorName
::StatusCode StatusCode
StatusCode definition for legacy code.
G4int determineZSide(const double zCoord) const
LArG4Identifier CalculatePS_DMIdentifier(const G4Step *, const G4int indPS) const
Wrapper to avoid constant divisions when using units.
LArG4Identifier CalculatePSActiveIdentifier(const G4Step *, const G4int indPS) const
calculate identifier from a G4 step in the PS active region This function should always return a vali...
G4double m_first_cathod[8]