ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4HEC
src
LArHECCalibrationWheelCalculator.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
// Jan-2008: (M.Fincke) To be used for new Module-Geometry
6
7
#ifndef LArG4_HEC_LArHECCalibrationWheelCalculator_H
8
#define LArG4_HEC_LArHECCalibrationWheelCalculator_H
9
10
#include "
LArG4HEC/IHECGeometry.h
"
11
#include "
LArG4Code/LArCalibCalculatorSvcImp.h
"
12
#include "
LArG4Code/LArG4Identifier.h
"
13
#include "
CaloG4Sim/SimulationEnergies.h
"
14
15
#include "globals.hh"
16
17
#include <vector>
18
19
// Forward declaractions:
20
class
G4Step;
21
22
namespace
LArG4
{
23
24
namespace
HEC
{
25
26
class
LArHECCalibrationWheelCalculator
:
public
LArCalibCalculatorSvcImp
{
27
public
:
28
29
LArHECCalibrationWheelCalculator
(
const
std::string& name, ISvcLocator *pSvcLocator);
30
void
GeometryTypeUpdateHandler
(Gaudi::Details::PropertyBase&);
31
StatusCode
initialize
() override final;
32
virtual ~
LArHECCalibrationWheelCalculator
() = default;
33
34
virtual G4bool
Process
(
const
G4Step* step,
LArG4Identifier
& identifier,
LArG4Identifier
& identifier_sr,
35
std
::
vector
<G4double> & energies,
36
const
eCalculatorProcessing
process
=
kEnergyAndID
)
const
override final;
37
private
:
38
39
ServiceHandle
<
IHECGeometry
>
m_geometryCalculator
{
this
,
"GeometryCalculator"
,
"HECGeometry"
};
//FIXME LArG4::HEC::HECGeometry
40
UnsignedShortProperty
m_geometryTypeProp
{
this
,
"GeometryType"
, 0, &
LArHECCalibrationWheelCalculator::GeometryTypeUpdateHandler
};
41
eHECGeometryType
m_geometryType
{
kWheelActive
};
42
43
CaloG4::SimulationEnergies
m_energyCalculator
;
44
45
};
46
47
}
// namespace HEC
48
49
}
// namespace LArG4
50
51
#endif
// LArG4_HEC_LArHECCalibrationWheelCalculator_H
IHECGeometry.h
LArCalibCalculatorSvcImp.h
LArG4Identifier.h
SimulationEnergies.h
CaloG4::SimulationEnergies
This class implements the calculations requires to categorize the energies deposited during the simul...
Definition
SimulationEnergies.h:47
LArCalibCalculatorSvcImp::LArCalibCalculatorSvcImp
LArCalibCalculatorSvcImp(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArCalibCalculatorSvcImp.cxx:7
LArG4Identifier
Definition
LArG4Identifier.h:121
LArG4::HEC::IHECGeometry
Definition
IHECGeometry.h:26
LArG4::HEC::LArHECCalibrationWheelCalculator::m_geometryType
eHECGeometryType m_geometryType
Definition
LArHECCalibrationWheelCalculator.h:41
LArG4::HEC::LArHECCalibrationWheelCalculator::LArHECCalibrationWheelCalculator
LArHECCalibrationWheelCalculator(const std::string &name, ISvcLocator *pSvcLocator)
LArG4::HEC::LArHECCalibrationWheelCalculator::m_geometryTypeProp
UnsignedShortProperty m_geometryTypeProp
Definition
LArHECCalibrationWheelCalculator.h:40
LArG4::HEC::LArHECCalibrationWheelCalculator::Process
virtual G4bool Process(const G4Step *step, LArG4Identifier &identifier, LArG4Identifier &identifier_sr, std::vector< G4double > &energies, const eCalculatorProcessing process=kEnergyAndID) const override final
LArG4::HEC::LArHECCalibrationWheelCalculator::initialize
StatusCode initialize() override final
LArG4::HEC::LArHECCalibrationWheelCalculator::m_energyCalculator
CaloG4::SimulationEnergies m_energyCalculator
Definition
LArHECCalibrationWheelCalculator.h:43
LArG4::HEC::LArHECCalibrationWheelCalculator::GeometryTypeUpdateHandler
void GeometryTypeUpdateHandler(Gaudi::Details::PropertyBase &)
LArG4::HEC::LArHECCalibrationWheelCalculator::m_geometryCalculator
ServiceHandle< IHECGeometry > m_geometryCalculator
Definition
LArHECCalibrationWheelCalculator.h:39
ServiceHandle
Definition
ClusterMakerTool.h:36
vector
Definition
MultiHisto.h:13
process
const std::string process
Definition
fbtTestBasics.cxx:76
const
LArG4::HEC
Definition
IHECGeometry.h:21
LArG4::HEC::eHECGeometryType
eHECGeometryType
Definition
IHECGeometry.h:23
LArG4::HEC::kWheelActive
@ kWheelActive
Definition
IHECGeometry.h:23
LArG4
Definition
LArWheelCalculatorEnums.h:8
LArG4::eCalculatorProcessing
eCalculatorProcessing
Definition
LArG4EnumDefs.h:10
LArG4::kEnergyAndID
@ kEnergyAndID
Definition
LArG4EnumDefs.h:10
std
STL namespace.
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0