ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4H62004ActiveSDTool.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 LARG4H62004ACTIVESDTOOL_H
6#define LARG4H62004ACTIVESDTOOL_H
7
9#include <string>
10#include <vector>
11
15
17
22{
23 public:
24 // Constructor
25 LArG4H62004ActiveSDTool(const std::string& type, const std::string& name, const IInterface *parent);
26
27 // Destructor
28 virtual ~LArG4H62004ActiveSDTool() = 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
36 private:
37 StatusCode initializeCalculators() override final;
38
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", "EMECPosInnerWheelCalibrationCalculator"};
43 ServiceHandle<ILArCalibCalculatorSvc> m_heccalc{this, "HECWheelActiveCalculator", "LocalCalibrationActiveCalculator"};
44 ServiceHandle<ILArCalibCalculatorSvc> m_fcal1calc{this, "FCAL1CalibCalculator", "LArFCAL1H62004CalibCalculator"};
45 ServiceHandle<ILArCalibCalculatorSvc> m_fcal2calc{this, "FCAL2CalibCalculator", "LArFCAL2H62004CalibCalculator"};
46 ServiceHandle<ILArCalibCalculatorSvc> m_fcalcoldcalc{this, "FCALCOLDMod0CalibCalculator", "LArG4H6COLDTCMod0CalibCalculator"};
47
53
54 Gaudi::Property<std::vector<std::string>> m_emecVolumes{this, "EMECVolumes"};
55 Gaudi::Property<std::vector<std::string>> m_hecVolumes{this, "HECVolumes"};
56 Gaudi::Property<std::vector<std::string>> m_fcal1Volumes{this, "FCAL1Volumes"};
57 Gaudi::Property<std::vector<std::string>> m_fcal2Volumes{this, "FCAL2Volumes"};
58 Gaudi::Property<std::vector<std::string>> m_fcalColdVolumes{this, "FCALColdVolumes"};
59};
60
61#endif
Handle class for recording to StoreGate.
Gaudi::Property< std::vector< std::string > > m_emecVolumes
SG::WriteHandle< CaloCalibrationHitContainer > m_HitColl
ServiceHandle< ILArCalibCalculatorSvc > m_fcal2calc
StatusCode initializeCalculators() override final
Gaudi::Property< std::vector< std::string > > m_fcalColdVolumes
ServiceHandle< ILArCalibCalculatorSvc > m_fcalcoldcalc
StatusCode Gather() override final
End of an athena event.
ServiceHandle< ILArCalibCalculatorSvc > m_heccalc
ServiceHandle< ILArCalibCalculatorSvc > m_emepiwcalc
Gaudi::Property< std::vector< std::string > > m_fcal1Volumes
Gaudi::Property< std::vector< std::string > > m_fcal2Volumes
LArG4H62004CalibSD * m_fcalColdSD
StatusCode initializeSD() override final
ServiceHandle< ILArCalibCalculatorSvc > m_fcal1calc
Gaudi::Property< std::vector< std::string > > m_hecVolumes
virtual ~LArG4H62004ActiveSDTool()=default
LArG4H62004ActiveSDTool(const std::string &type, const std::string &name, const IInterface *parent)
LArG4SDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Forward declaration.
#define private