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

#include <LArEndcapPresamplerCalculator.h>

Inheritance diagram for LArEndcapPresamplerCalculator:
Collaboration diagram for LArEndcapPresamplerCalculator:

Public Member Functions

 LArEndcapPresamplerCalculator (const std::string &name, ISvcLocator *pSvcLocator)
 
 LArEndcapPresamplerCalculator (const LArEndcapPresamplerCalculator &)=delete
 
LArEndcapPresamplerCalculatoroperator= (const LArEndcapPresamplerCalculator &)=delete
 
virtual StatusCode initialize () override final
 
virtual G4float OOTcut () const override final
 
virtual G4bool isInTime (G4double hitTime) const override final
 
virtual G4bool Process (const G4Step *, std::vector< LArHitData > &) const override final
 
virtual void initializeForSDCreation () override
 

Protected Attributes

Gaudi::Property< bool > m_BirksLaw {this, "BirksLaw", true}
 
Gaudi::Property< double > m_Birksk {this, "Birksk", 0.05832}
 
Gaudi::Property< double > m_OOTcut {this, "OOTcut", 300*CLHEP::ns}
 

Private Attributes

ServiceHandle< LArG4::IECPresamplerGeometrym_geometry {this, "GeometryCalculator", "EMECPresamplerGeometry"}
 
std::unique_ptr< LArG4BirksLawm_birksLaw {}
 

Detailed Description

Definition at line 30 of file LArEndcapPresamplerCalculator.h.

Constructor & Destructor Documentation

◆ LArEndcapPresamplerCalculator() [1/2]

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

◆ LArEndcapPresamplerCalculator() [2/2]

LArEndcapPresamplerCalculator::LArEndcapPresamplerCalculator ( const LArEndcapPresamplerCalculator )
delete

Member Function Documentation

◆ initialize()

virtual StatusCode LArEndcapPresamplerCalculator::initialize ( )
finaloverridevirtual

◆ initializeForSDCreation()

virtual void LArCalculatorSvcImp::initializeForSDCreation ( )
inlineoverridevirtualinherited

Reimplemented in LArBarrelCalculator, and LArHECWheelCalculator.

Definition at line 19 of file LArCalculatorSvcImp.h.

19 {};

◆ isInTime()

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

Definition at line 43 of file LArEndcapPresamplerCalculator.h.

44  {
45  return !(hitTime > m_OOTcut); //FIXME should we be checking the absolute value of hitTime here?
46  }

◆ OOTcut()

virtual G4float LArEndcapPresamplerCalculator::OOTcut ( ) const
inlinefinaloverridevirtual

Definition at line 40 of file LArEndcapPresamplerCalculator.h.

40 { return m_OOTcut; }

◆ operator=()

LArEndcapPresamplerCalculator& LArEndcapPresamplerCalculator::operator= ( const LArEndcapPresamplerCalculator )
delete

◆ Process()

virtual G4bool LArEndcapPresamplerCalculator::Process ( const G4Step *  ,
std::vector< LArHitData > &   
) const
finaloverridevirtual

Member Data Documentation

◆ m_Birksk

Gaudi::Property<double> LArCalculatorSvcImp::m_Birksk {this, "Birksk", 0.05832}
protectedinherited

Definition at line 27 of file LArCalculatorSvcImp.h.

◆ m_BirksLaw

Gaudi::Property<bool> LArCalculatorSvcImp::m_BirksLaw {this, "BirksLaw", true}
protectedinherited

Definition at line 23 of file LArCalculatorSvcImp.h.

◆ m_birksLaw

std::unique_ptr<LArG4BirksLaw> LArEndcapPresamplerCalculator::m_birksLaw {}
private

Definition at line 55 of file LArEndcapPresamplerCalculator.h.

◆ m_geometry

ServiceHandle<LArG4::IECPresamplerGeometry> LArEndcapPresamplerCalculator::m_geometry {this, "GeometryCalculator", "EMECPresamplerGeometry"}
private

Definition at line 53 of file LArEndcapPresamplerCalculator.h.

◆ m_OOTcut

Gaudi::Property<double> LArCalculatorSvcImp::m_OOTcut {this, "OOTcut", 300*CLHEP::ns}
protectedinherited

Definition at line 30 of file LArCalculatorSvcImp.h.


The documentation for this class was generated from the following file:
hitTime
float hitTime(const AFP_SIDSimHit &hit)
Definition: AFP_SIDSimHit.h:39
LArCalculatorSvcImp::m_OOTcut
Gaudi::Property< double > m_OOTcut
Definition: LArCalculatorSvcImp.h:30