ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4HEC
src
LArHECWheelCalculator.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
// LArHECWheelCalculator.hh
6
7
// Revision history:
8
9
// Jan-2008: (M.Fincke) To be used for new Module-Geometry
10
11
#ifndef LARG4HEC_LARHECWHEELCALCULATOR_H
12
#define LARG4HEC_LARHECWHEELCALCULATOR_H
13
14
#include "
LArG4Code/LArCalculatorSvcImp.h
"
15
#include "
LArHV/HECHVManager.h
"
16
17
// Forward declarations.
18
19
class
G4Step;
20
class
HECGeometry;
21
class
LArG4BirksLaw
;
22
class
HECDetectorManager
;
23
24
namespace
LArG4
{
25
namespace
HEC
{
26
class
IHECGeometry
;
27
}
28
}
29
30
31
class
LArHECWheelCalculator
:
virtual
public
LArCalculatorSvcImp
{
32
public
:
33
34
LArHECWheelCalculator
(
const
std::string& name, ISvcLocator * pSvcLocator);
35
LArHECWheelCalculator
(
const
LArHECWheelCalculator
&) =
delete
;
36
LArHECWheelCalculator
&
operator=
(
const
LArHECWheelCalculator
&) =
delete
;
37
virtual
StatusCode
initialize
() override final;
38
virtual StatusCode
finalize
() override final;
39
~
LArHECWheelCalculator
();
41
42
virtual
void
initializeForSDCreation
() override final;
43
virtual G4float
OOTcut
()
const
override final {
return
m_OOTcut
; }
44
45
virtual
G4bool
Process
(
const
G4Step* a_step, std::vector<LArHitData>& hdata)
const
override
final
;
46
47
// Check if the current hitTime is in-time
48
virtual
G4bool
isInTime
(G4double
hitTime
)
const
override
final
49
{
50
return
!(
hitTime
>
m_OOTcut
);
//FIXME should we be checking the absolute value of hitTime here?
51
}
52
53
54
private
:
55
ServiceHandle<LArG4::HEC::IHECGeometry>
m_Geometry
{
this
,
"GeometryCalculator"
,
"HECGeometry"
};
56
Gaudi::Property<bool>
m_doHV
{
this
,
"HECHVEnable"
,
false
};
57
58
const
HECDetectorManager
*
m_DetectorManager
{
nullptr
};
59
LArG4BirksLaw
*
m_birksLaw
{
nullptr
};
60
61
HECHVManager::HECHVData
m_hvdata
;
62
};
63
64
#endif
hitTime
float hitTime(const AFP_SIDSimHit &hit)
Definition
AFP_SIDSimHit.h:39
HECHVManager.h
LArCalculatorSvcImp.h
HECDetectorManager
A manager class providing access to readout geometry information for the hadronic endcap calorimeter.
Definition
HECDetectorManager.h:28
HECHVManager::HECHVData
Definition
HECHVManager.h:39
LArCalculatorSvcImp::LArCalculatorSvcImp
LArCalculatorSvcImp(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArCalculatorSvcImp.h:15
LArCalculatorSvcImp::m_OOTcut
Gaudi::Property< double > m_OOTcut
Definition
LArCalculatorSvcImp.h:30
LArG4BirksLaw
Definition
LArG4BirksLaw.h:8
LArG4::HEC::IHECGeometry
Definition
IHECGeometry.h:26
LArHECWheelCalculator::m_doHV
Gaudi::Property< bool > m_doHV
Definition
LArHECWheelCalculator.h:56
LArHECWheelCalculator::initialize
virtual StatusCode initialize() override final
LArHECWheelCalculator::finalize
virtual StatusCode finalize() override final
LArHECWheelCalculator::operator=
LArHECWheelCalculator & operator=(const LArHECWheelCalculator &)=delete
LArHECWheelCalculator::LArHECWheelCalculator
LArHECWheelCalculator(const LArHECWheelCalculator &)=delete
LArHECWheelCalculator::LArHECWheelCalculator
LArHECWheelCalculator(const std::string &name, ISvcLocator *pSvcLocator)
LArHECWheelCalculator::m_birksLaw
LArG4BirksLaw * m_birksLaw
Definition
LArHECWheelCalculator.h:59
LArHECWheelCalculator::isInTime
virtual G4bool isInTime(G4double hitTime) const override final
Definition
LArHECWheelCalculator.h:48
LArHECWheelCalculator::OOTcut
virtual G4float OOTcut() const override final
Definition
LArHECWheelCalculator.h:43
LArHECWheelCalculator::m_Geometry
ServiceHandle< LArG4::HEC::IHECGeometry > m_Geometry
Definition
LArHECWheelCalculator.h:55
LArHECWheelCalculator::m_hvdata
HECHVManager::HECHVData m_hvdata
Definition
LArHECWheelCalculator.h:61
LArHECWheelCalculator::initializeForSDCreation
virtual void initializeForSDCreation() override final
LArHECWheelCalculator::Process
virtual G4bool Process(const G4Step *a_step, std::vector< LArHitData > &hdata) const override final
LArHECWheelCalculator::m_DetectorManager
const HECDetectorManager * m_DetectorManager
Definition
LArHECWheelCalculator.h:58
ServiceHandle
Definition
ClusterMakerTool.h:36
const
LArG4::HEC
Definition
IHECGeometry.h:21
LArG4
Definition
LArWheelCalculatorEnums.h:8
Generated on
for ATLAS Offline Software by
1.17.0