ATLAS Offline Software
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 
9 #include <string>
10 #include <vector>
11 
12 #include "StoreGate/WriteHandle.h"
15 
16 class LArG4H62004CalibSD;
17 
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
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:
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
48 
49  ServiceHandle<ILArCalibCalculatorSvc> m_calculator{this, "Calculator", "LArG4H62004DeadCalibrationCalculator"};
50 
51  // The volumes per SD, and the corresponding SDs
54 
55 };
56 
57 #endif
LArG4H62004DeadSDTool::initializeSD
StatusCode initializeSD() override final
LArG4SDTool
A base class for tools that manage LAr SDs.
Definition: LArG4SDTool.h:35
LArG4H62004DeadSDTool::m_uninstSD
LArG4H62004CalibSD * m_uninstSD
Definition: LArG4H62004DeadSDTool.h:53
Property
Support class for PropertyMgr.
Definition: Property.h:23
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
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
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::~LArG4H62004DeadSDTool
virtual ~LArG4H62004DeadSDTool()=default
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
columnar::final
CM final
Definition: ColumnAccessor.h:106
ILArCalibCalculatorSvc.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LArG4H62004DeadSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Beginning of an athena event.
SG::WriteHandle< CaloCalibrationHitContainer >
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
LArG4H62004DeadSDTool::m_do_eep
Gaudi::Property< bool > m_do_eep
Definition: LArG4H62004DeadSDTool.h:44
private
#define private
Definition: xAODTruthCnvAlg.h:20
LArG4SDTool.h
LArG4H62004DeadSDTool::Gather
StatusCode Gather() override final
End of an athena event.
ServiceHandle< ILArCalibCalculatorSvc >