ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4H6SD
src
LArG4H62004DeadSDTool.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 LARG4H62004DEADSDTOOL_H
6
#define LARG4H62004DEADSDTOOL_H
7
8
#include "
LArG4Code/LArG4SDTool.h
"
9
#include <string>
10
#include <vector>
11
12
#include "
StoreGate/WriteHandle.h
"
13
#include "
CaloSimEvent/CaloCalibrationHitContainer.h
"
14
#include "
LArG4Code/ILArCalibCalculatorSvc.h
"
15
16
class
LArG4H62004CalibSD
;
17
21
class
LArG4H62004DeadSDTool
:
public
LArG4SDTool
22
{
23
public
:
24
// Constructor
25
LArG4H62004DeadSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface *parent);
26
27
// Destructor
28
virtual
~LArG4H62004DeadSDTool
() =
default
;
29
30
// Method in which all the SDs are created and assigned to the relevant volumes
31
StatusCode
initializeSD
() override final;
32
33
// Calls down to all the SDs to get them to pack their hits into a central collection
34
StatusCode
Gather
() override final;
35
38
// StatusCode SetupEvent() override final;
39
40
private
:
41
StatusCode
initializeCalculators
() override final;
42
43
// Do we add the escaped energy processing? This is only in "mode 1" (Tile+LAr), not in "DeadLAr" mode
44
Gaudi
::
Property
<
bool
>
m_do_eep
{
this
,
"doEscapedEnergy"
,
false
};
45
46
// The actual hit container - here because the base class is for both calib and standard SD tools
47
SG::WriteHandle<CaloCalibrationHitContainer>
m_HitColl
;
48
49
ServiceHandle<ILArCalibCalculatorSvc>
m_calculator
{
this
,
"Calculator"
,
"LArG4H62004DeadCalibrationCalculator"
};
50
51
// The volumes per SD, and the corresponding SDs
52
LArG4H62004CalibSD
*
m_deadSD
{
nullptr
};
53
LArG4H62004CalibSD
*
m_uninstSD
{
nullptr
};
54
55
};
56
57
#endif
CaloCalibrationHitContainer.h
ILArCalibCalculatorSvc.h
LArG4SDTool.h
WriteHandle.h
Handle class for recording to StoreGate.
LArG4H62004CalibSD
Definition
LArG4H62004CalibSD.h:20
LArG4H62004DeadSDTool::m_uninstSD
LArG4H62004CalibSD * m_uninstSD
Definition
LArG4H62004DeadSDTool.h:53
LArG4H62004DeadSDTool::Gather
StatusCode Gather() override final
End of an athena event.
LArG4H62004DeadSDTool::m_do_eep
Gaudi::Property< bool > m_do_eep
Definition
LArG4H62004DeadSDTool.h:44
LArG4H62004DeadSDTool::m_calculator
ServiceHandle< ILArCalibCalculatorSvc > m_calculator
Definition
LArG4H62004DeadSDTool.h:49
LArG4H62004DeadSDTool::~LArG4H62004DeadSDTool
virtual ~LArG4H62004DeadSDTool()=default
LArG4H62004DeadSDTool::m_HitColl
SG::WriteHandle< CaloCalibrationHitContainer > m_HitColl
Definition
LArG4H62004DeadSDTool.h:47
LArG4H62004DeadSDTool::LArG4H62004DeadSDTool
LArG4H62004DeadSDTool(const std::string &type, const std::string &name, const IInterface *parent)
LArG4H62004DeadSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Beginning of an athena event.
LArG4H62004DeadSDTool::initializeSD
StatusCode initializeSD() override final
LArG4H62004DeadSDTool::m_deadSD
LArG4H62004CalibSD * m_deadSD
Definition
LArG4H62004DeadSDTool.h:52
LArG4SDTool::LArG4SDTool
LArG4SDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Property
Support class for PropertyMgr.
Definition
Property.h:23
SG::WriteHandle
Definition
StoreGate/StoreGate/WriteHandle.h:73
ServiceHandle
Definition
ClusterMakerTool.h:36
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
type
private
#define private
Definition
xAODTruthCnvAlg.h:20
Generated on
for ATLAS Offline Software by
1.14.0