ATLAS Offline Software
LArCalorimeter
LArG4
LArG4H6SD
src
LArG4H62004DeadSDTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 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
() {}
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
bool
m_do_eep
;
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
;
50
51
// The volumes per SD, and the corresponding SDs
52
LArG4H62004CalibSD
*
m_deadSD
;
53
LArG4H62004CalibSD
*
m_uninstSD
;
54
55
};
56
57
#endif
CaloCalibrationHitContainer
Definition:
CaloCalibrationHitContainer.h:25
LArG4H62004DeadSDTool::initializeSD
StatusCode initializeSD() override final
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
LArG4SDTool
A base class for tools that manage LAr SDs.
Definition:
LArG4SDTool.h:33
LArG4H62004DeadSDTool::m_uninstSD
LArG4H62004CalibSD * m_uninstSD
Definition:
LArG4H62004DeadSDTool.h:53
CaloCalibrationHitContainer.h
LArG4H62004CalibSD
Definition:
LArG4H62004CalibSD.h:20
WriteHandle.h
Handle class for recording to StoreGate.
LArG4H62004DeadSDTool
DEPRECATED AND WILL BE REMOVED.
Definition:
LArG4H62004DeadSDTool.h:22
LArG4H62004DeadSDTool::~LArG4H62004DeadSDTool
virtual ~LArG4H62004DeadSDTool()
Definition:
LArG4H62004DeadSDTool.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArG4H62004DeadSDTool::LArG4H62004DeadSDTool
LArG4H62004DeadSDTool(const std::string &type, const std::string &name, const IInterface *parent)
LArG4H62004DeadSDTool::m_deadSD
LArG4H62004CalibSD * m_deadSD
Definition:
LArG4H62004DeadSDTool.h:52
LArG4H62004DeadSDTool::m_calculator
ServiceHandle< ILArCalibCalculatorSvc > m_calculator
Definition:
LArG4H62004DeadSDTool.h:49
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
LArG4H62004DeadSDTool::m_HitColl
SG::WriteHandle< CaloCalibrationHitContainer > m_HitColl
Definition:
LArG4H62004DeadSDTool.h:47
LArG4H62004DeadSDTool::m_do_eep
bool m_do_eep
Definition:
LArG4H62004DeadSDTool.h:44
ILArCalibCalculatorSvc.h
private
#define private
Definition:
DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
LArG4H62004DeadSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Beginning of an athena event.
ILArCalibCalculatorSvc
Definition:
ILArCalibCalculatorSvc.h:23
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
LArG4SDTool.h
LArG4H62004DeadSDTool::Gather
StatusCode Gather() override final
End of an athena event.
ServiceHandle
Definition:
ClusterMakerTool.h:37
Generated on Thu Nov 7 2024 21:19:38 for ATLAS Offline Software by
1.8.18