7#ifndef LARG4BARREL_LARBARRELPRESAMPLERGEOMETRY_H
8#define LARG4BARREL_LARBARRELPRESAMPLERGEOMETRY_H
27 class Geometry:
public extends<AthService, ILArBarrelPresamplerGeometry> {
32 Geometry(
const std::string& name, ISvcLocator * pSvcLocator);
36 virtual StatusCode
initialize() override final;
39 virtual
bool findCell(
CalcData & currentCellData, G4double xloc,G4double yloc,G4double zloc)
const override final;
49 if (zCoord > 0.) {
return 1; }
56 Gaudi::Property<bool>
m_testbeam{
this,
"TestBeam",
false};
64 G4double
m_zpres{1549.*Athena::Units::mm};
Wrapper to avoid constant divisions when using units.
virtual StatusCode initialize() override final
initialize geometry parameters this should at some stage be taken from a database....
virtual LArG4Identifier CalculateIdentifier(const G4Step *) const override final
The following method computes the identifiers in the Presampler volume:
virtual ~Geometry()=default
G4double m_first_cathod[8]
G4int determineZSide(const double zCoord) const
LArG4Identifier CalculatePS_DMIdentifier(const G4Step *, const G4int indPS) const
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...
Geometry(const std::string &name, ISvcLocator *pSvcLocator)
virtual bool findCell(CalcData ¤tCellData, G4double xloc, G4double yloc, G4double zloc) const override final
=============================================================================== bool findCell(xloc,...
Gaudi::Property< bool > m_testbeam
Gaudi::Property< std::string > m_detectorName