ATLAS Offline Software
Loading...
Searching...
No Matches
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.
12class G4Step;
13
15{
16public:
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
32private:
33 Gaudi::Property<bool> m_isX {this, "isX", false};
34 Gaudi::Property<bool> m_isABS {this,"isABS", false};
35};
36
37#endif
float hitTime(const AFP_SIDSimHit &hit)
LArCalculatorSvcImp(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< double > m_OOTcut
virtual G4bool Process(const G4Step *, std::vector< LArHitData > &) const override final
Gaudi::Property< bool > m_isABS
virtual ~LArG4H6WarmTCCalculator()=default
virtual G4bool isInTime(G4double hitTime) const override final
LArG4H6WarmTCCalculator(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_isX
virtual G4float OOTcut() const override final