ATLAS Offline Software
LArG4H6WarmTCCalculator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 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);
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  bool m_isX = false;
34  bool m_isABS = false;
35 };
36 
37 #endif
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()
Definition: LArG4H6WarmTCCalculator.h:19
LArG4Identifier.h
LArCalculatorSvcImp
Definition: LArCalculatorSvcImp.h:11
LArCalculatorSvcImp.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArG4H6WarmTCCalculator::OOTcut
virtual G4float OOTcut() const override final
Definition: LArG4H6WarmTCCalculator.h:23
LArG4H6WarmTCCalculator::m_isX
bool m_isX
Definition: LArG4H6WarmTCCalculator.h:33
LArG4H6WarmTCCalculator::isInTime
virtual G4bool isInTime(G4double hitTime) const override final
Definition: LArG4H6WarmTCCalculator.h:27
LArCalculatorSvcImp::m_OOTcut
double m_OOTcut
Definition: LArCalculatorSvcImp.h:28
hitTime
float hitTime(const AFP_SIDSimHit &hit)
Definition: AFP_SIDSimHit.h:39
LArG4H6WarmTCCalculator::m_isABS
bool m_isABS
Definition: LArG4H6WarmTCCalculator.h:34
LArG4H6WarmTCCalculator::LArG4H6WarmTCCalculator
LArG4H6WarmTCCalculator(const std::string &name, ISvcLocator *pSvcLocator)