ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LArG4::HEC::LocalGeometry Class Reference

This class contains the geometry calculations needed to calculate an identifier for a given G4Step. Note: This class is intended for use in calculating identifiers in both active and inactive regions of the detector. For calibration studies, it must work properly whether the energy is deposited in the liquid argon or the absorber. More...

#include <LocalGeometry.h>

Inheritance diagram for LArG4::HEC::LocalGeometry:
Collaboration diagram for LArG4::HEC::LocalGeometry:

Public Member Functions

 LocalGeometry (const std::string &name, ISvcLocator *pSvcLocator)
 
StatusCode initialize () override final
 
virtual ~LocalGeometry ()=default
 
LArG4Identifier CalculateIdentifier (const G4Step *a_step, const eLocalGeometryType type=kLocActive, int depthadd=0, double deadzone=4.*CLHEP::mm, double locyadd=0.*CLHEP::mm) const override final
 

Private Member Functions

int binSearch (double ly, int depth, int reg) const
 
int binSearchAll (double ly, int depth, bool regular=false) const
 
double deadZone (double locx, double locy) const
 

Private Attributes

ServiceHandle< IGeoModelSvcm_geoModel {this, "GeoModelSvc", "GeoModelSvc"}
 
ServiceHandle< IGeoDbTagSvcm_geoDbTagSvc {this, "GeoDbTagSvc", "GeoDbTagSvc"}
 
Gaudi::Property< bool > m_isX {this, "isX", false}
 
double m_depthSize [7] = {0.0}
 
double m_firstAbsorber [7] = {0.0}
 
double m_pads [7][15] = {}
 
double m_betweenWheel = 0.0
 

Detailed Description

This class contains the geometry calculations needed to calculate an identifier for a given G4Step. Note: This class is intended for use in calculating identifiers in both active and inactive regions of the detector. For calibration studies, it must work properly whether the energy is deposited in the liquid argon or the absorber.

Author
Pavol Strizenec
Date
05-Apr-2006

Definition at line 36 of file LocalGeometry.h.

Constructor & Destructor Documentation

◆ LocalGeometry()

LArG4::HEC::LocalGeometry::LocalGeometry ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

◆ ~LocalGeometry()

virtual LArG4::HEC::LocalGeometry::~LocalGeometry ( )
virtualdefault

Member Function Documentation

◆ binSearch()

int LArG4::HEC::LocalGeometry::binSearch ( double  ly,
int  depth,
int  reg 
) const
private

◆ binSearchAll()

int LArG4::HEC::LocalGeometry::binSearchAll ( double  ly,
int  depth,
bool  regular = false 
) const
private

◆ CalculateIdentifier()

LArG4Identifier LArG4::HEC::LocalGeometry::CalculateIdentifier ( const G4Step *  a_step,
const eLocalGeometryType  type = kLocActive,
int  depthadd = 0,
double  deadzone = 4.*CLHEP::mm,
double  locyadd = 0.*CLHEP::mm 
) const
finaloverride

◆ deadZone()

double LArG4::HEC::LocalGeometry::deadZone ( double  locx,
double  locy 
) const
private

◆ initialize()

StatusCode LArG4::HEC::LocalGeometry::initialize ( )
finaloverride

Member Data Documentation

◆ m_betweenWheel

double LArG4::HEC::LocalGeometry::m_betweenWheel = 0.0
private

Definition at line 58 of file LocalGeometry.h.

◆ m_depthSize

double LArG4::HEC::LocalGeometry::m_depthSize[7] = {0.0}
private

Definition at line 55 of file LocalGeometry.h.

◆ m_firstAbsorber

double LArG4::HEC::LocalGeometry::m_firstAbsorber[7] = {0.0}
private

Definition at line 56 of file LocalGeometry.h.

◆ m_geoDbTagSvc

ServiceHandle<IGeoDbTagSvc> LArG4::HEC::LocalGeometry::m_geoDbTagSvc {this, "GeoDbTagSvc", "GeoDbTagSvc"}
private

Definition at line 52 of file LocalGeometry.h.

◆ m_geoModel

ServiceHandle<IGeoModelSvc> LArG4::HEC::LocalGeometry::m_geoModel {this, "GeoModelSvc", "GeoModelSvc"}
private

Definition at line 51 of file LocalGeometry.h.

◆ m_isX

Gaudi::Property<bool> LArG4::HEC::LocalGeometry::m_isX {this, "isX", false}
private

Definition at line 54 of file LocalGeometry.h.

◆ m_pads

double LArG4::HEC::LocalGeometry::m_pads[7][15] = {}
private

Definition at line 57 of file LocalGeometry.h.


The documentation for this class was generated from the following file: