ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4H62004InactiveSDTool.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 LARG4H62004INACTIVESDTOOL_H
6#define LARG4H62004INACTIVESDTOOL_H
7
9#include <string>
10#include <vector>
11
15
16class LArG4CalibSD;
17
22{
23 public:
24 // Constructor
25 LArG4H62004InactiveSDTool(const std::string& type, const std::string& name, const IInterface *parent);
26
27 // Destructor
28 virtual ~LArG4H62004InactiveSDTool() = default;
29
30 virtual StatusCode initializeCalculators() override final;
31
32 // Method in which all the SDs are created and assigned to the relevant volumes
33 StatusCode initializeSD() override final;
34
35 // Calls down to all the SDs to get them to pack their hits into a central collection
36 StatusCode Gather() override final;
37
38 private:
39 // The actual hit container - here because the base class is for both calib and standard SD tools
41
42 ServiceHandle<ILArCalibCalculatorSvc>m_emepiwcalc {this, "EMECPosIWCalibrationCalculator"
43 , "EMECPosInnerWheelCalibrationCalculator"};
44 ServiceHandle<ILArCalibCalculatorSvc>m_heccalc {this, "HECWheelInactiveCalculator"
45 , "LocalCalibrationInactiveCalculator"};
47 , "LArFCAL1H62004CalibCalculator"};
49 , "LArFCAL2H62004CalibCalculator"};
50
51 // The list of volumes and the corresponding SDs
56 Gaudi::Property<std::vector<std::string>> m_emecVolumes {this, "EMECVolumes"};
57 Gaudi::Property<std::vector<std::string>> m_hecVolumes {this, "HECVolumes"};
58 Gaudi::Property<std::vector<std::string>> m_fcal1Volumes {this, "FCAL1Volumes"};
59 Gaudi::Property<std::vector<std::string>> m_fcal2Volumes {this, "FCAL2Volumes"};
60};
61
62#endif
Handle class for recording to StoreGate.
A specialized SD class for saving LAr calibration hits.
Gaudi::Property< std::vector< std::string > > m_fcal1Volumes
ServiceHandle< ILArCalibCalculatorSvc > m_emepiwcalc
ServiceHandle< ILArCalibCalculatorSvc > m_fcal2calc
Gaudi::Property< std::vector< std::string > > m_emecVolumes
Gaudi::Property< std::vector< std::string > > m_hecVolumes
StatusCode initializeSD() override final
ServiceHandle< ILArCalibCalculatorSvc > m_heccalc
virtual StatusCode initializeCalculators() override final
StatusCode Gather() override final
End of an athena event.
LArG4H62004InactiveSDTool(const std::string &type, const std::string &name, const IInterface *parent)
SG::WriteHandle< CaloCalibrationHitContainer > m_HitColl
virtual ~LArG4H62004InactiveSDTool()=default
ServiceHandle< ILArCalibCalculatorSvc > m_fcal1calc
Gaudi::Property< std::vector< std::string > > m_fcal2Volumes
LArG4SDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Forward declaration.
#define private