ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
LArHECLocalCalculator Class Reference

#include <LArHECLocalCalculator.h>

Inheritance diagram for LArHECLocalCalculator:
Collaboration diagram for LArHECLocalCalculator:

Public Member Functions

 LArHECLocalCalculator (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual StatusCode initialize () override final
 
virtual StatusCode finalize () override final
 
virtual ~LArHECLocalCalculator ()
 
virtual G4float OOTcut () const override final
 
virtual G4bool Process (const G4Step *a_step, std::vector< LArHitData > &hdata) const override final
 
virtual G4bool Process (const G4Step *a_step, int depthadd, double deadzone, std::vector< LArHitData > &hdata) const final
 
virtual G4bool isInTime (G4double hitTime) const override final
 
virtual void initializeForSDCreation () override
 

Protected Attributes

bool m_BirksLaw
 
double m_Birksk
 
double m_OOTcut
 

Private Member Functions

 LArHECLocalCalculator (const LArHECLocalCalculator &)
 
LArHECLocalCalculator operator= (const LArHECLocalCalculator &)
 

Private Attributes

ServiceHandle< LArG4::HEC::ILocalGeometrym_Geometry
 
LArG4BirksLawm_birksLaw
 
G4bool m_isX
 

Detailed Description

Definition at line 32 of file LArHECLocalCalculator.h.

Constructor & Destructor Documentation

◆ LArHECLocalCalculator() [1/2]

LArHECLocalCalculator::LArHECLocalCalculator ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

◆ ~LArHECLocalCalculator()

virtual LArHECLocalCalculator::~LArHECLocalCalculator ( )
inlinevirtual

Definition at line 39 of file LArHECLocalCalculator.h.

39 {};

◆ LArHECLocalCalculator() [2/2]

LArHECLocalCalculator::LArHECLocalCalculator ( const LArHECLocalCalculator )
private

Member Function Documentation

◆ finalize()

virtual StatusCode LArHECLocalCalculator::finalize ( )
finaloverridevirtual

◆ initialize()

virtual StatusCode LArHECLocalCalculator::initialize ( )
finaloverridevirtual

◆ initializeForSDCreation()

virtual void LArCalculatorSvcImp::initializeForSDCreation ( )
inlineoverridevirtualinherited

Reimplemented in LArBarrelCalculator, and LArHECWheelCalculator.

Definition at line 18 of file LArCalculatorSvcImp.h.

18 {};

◆ isInTime()

virtual G4bool LArHECLocalCalculator::isInTime ( G4double  hitTime) const
inlinefinaloverridevirtual

Definition at line 47 of file LArHECLocalCalculator.h.

48  {
49  return !(hitTime > m_OOTcut); //FIXME should we be checking the absolute value of hitTime here?
50  }

◆ OOTcut()

virtual G4float LArHECLocalCalculator::OOTcut ( ) const
inlinefinaloverridevirtual

Definition at line 41 of file LArHECLocalCalculator.h.

41 { return m_OOTcut; }

◆ operator=()

LArHECLocalCalculator LArHECLocalCalculator::operator= ( const LArHECLocalCalculator )
private

◆ Process() [1/2]

virtual G4bool LArHECLocalCalculator::Process ( const G4Step *  a_step,
int  depthadd,
double  deadzone,
std::vector< LArHitData > &  hdata 
) const
finalvirtual

◆ Process() [2/2]

virtual G4bool LArHECLocalCalculator::Process ( const G4Step *  a_step,
std::vector< LArHitData > &  hdata 
) const
inlinefinaloverridevirtual

Definition at line 43 of file LArHECLocalCalculator.h.

43 { return this->Process(a_step,0, 4.*CLHEP::mm, hdata);}

Member Data Documentation

◆ m_Birksk

double LArCalculatorSvcImp::m_Birksk
protectedinherited

Definition at line 25 of file LArCalculatorSvcImp.h.

◆ m_BirksLaw

bool LArCalculatorSvcImp::m_BirksLaw
protectedinherited

Definition at line 22 of file LArCalculatorSvcImp.h.

◆ m_birksLaw

LArG4BirksLaw* LArHECLocalCalculator::m_birksLaw
private

Definition at line 57 of file LArHECLocalCalculator.h.

◆ m_Geometry

ServiceHandle<LArG4::HEC::ILocalGeometry> LArHECLocalCalculator::m_Geometry
private

Definition at line 55 of file LArHECLocalCalculator.h.

◆ m_isX

G4bool LArHECLocalCalculator::m_isX
private

Definition at line 58 of file LArHECLocalCalculator.h.

◆ m_OOTcut

double LArCalculatorSvcImp::m_OOTcut
protectedinherited

Definition at line 28 of file LArCalculatorSvcImp.h.


The documentation for this class was generated from the following file:
LArHECLocalCalculator::Process
virtual G4bool Process(const G4Step *a_step, std::vector< LArHitData > &hdata) const override final
Definition: LArHECLocalCalculator.h:43
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
LArCalculatorSvcImp::m_OOTcut
double m_OOTcut
Definition: LArCalculatorSvcImp.h:28
hitTime
float hitTime(const AFP_SIDSimHit &hit)
Definition: AFP_SIDSimHit.h:39