ATLAS Offline Software
LArG4H6WarmTCCalculator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LArG4H6WarmTCCalculator_H
6 #define LArG4H6WarmTCCalculator_H
7 
10 
11 // Forward declarations.
12 class G4Step;
13 
15 {
16 public:
17 
18  LArG4H6WarmTCCalculator(const std::string& name, ISvcLocator* pSvcLocator);
19  virtual ~LArG4H6WarmTCCalculator() = default;
21  // The interface for ILArCalculatorSvc.
22 
23  virtual G4float OOTcut() const override final { return m_OOTcut; }
24 
25  virtual G4bool Process(const G4Step*, std::vector<LArHitData>&) const override final;
26 
27  virtual G4bool isInTime(G4double hitTime) const override final
28  {
29  return !(hitTime > m_OOTcut);
30  }
31 
32 private:
33  Gaudi::Property<bool> m_isX {this, "isX", false};
34  Gaudi::Property<bool> m_isABS {this,"isABS", false};
35 };
36 
37 #endif
LArG4H6WarmTCCalculator::m_isABS
Gaudi::Property< bool > m_isABS
Definition: LArG4H6WarmTCCalculator.h:34
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
LArG4H6WarmTCCalculator::Process
virtual G4bool Process(const G4Step *, std::vector< LArHitData > &) const override final
LArG4H6WarmTCCalculator
Definition: LArG4H6WarmTCCalculator.h:15
LArG4H6WarmTCCalculator::~LArG4H6WarmTCCalculator
virtual ~LArG4H6WarmTCCalculator()=default
LArG4Identifier.h
LArCalculatorSvcImp
Definition: LArCalculatorSvcImp.h:13
columnar::final
CM final
Definition: ColumnAccessor.h:106
LArCalculatorSvcImp.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LArG4H6WarmTCCalculator::OOTcut
virtual G4float OOTcut() const override final
Definition: LArG4H6WarmTCCalculator.h:23
LArG4H6WarmTCCalculator::isInTime
virtual G4bool isInTime(G4double hitTime) const override final
Definition: LArG4H6WarmTCCalculator.h:27
LArG4H6WarmTCCalculator::m_isX
Gaudi::Property< bool > m_isX
Definition: LArG4H6WarmTCCalculator.h:33
hitTime
float hitTime(const AFP_SIDSimHit &hit)
Definition: AFP_SIDSimHit.h:39
LArCalculatorSvcImp::m_OOTcut
Gaudi::Property< double > m_OOTcut
Definition: LArCalculatorSvcImp.h:30
LArG4H6WarmTCCalculator::LArG4H6WarmTCCalculator
LArG4H6WarmTCCalculator(const std::string &name, ISvcLocator *pSvcLocator)