ATLAS Offline Software
Loading...
Searching...
No Matches
TBECInnerModuleTool.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 TBECInnerModuleTool_H
6#define TBECInnerModuleTool_H
7
9#include <string>
10#include <vector>
11
15
16class LArG4SimpleSD;
17
24{
25 public:
26 // Constructor
27 TBECInnerModuleTool(const std::string& type, const std::string& name, const IInterface *parent);
28
29 // Destructor
30 virtual ~TBECInnerModuleTool() = default;
31
32 virtual StatusCode initializeCalculators() override final;
33
34 // Method in which all the SDs are created and assigned to the relevant volumes
35 StatusCode initializeSD() override final;
36
37 // Calls down to all the SDs to get them to pack their hits into a central collection
38 StatusCode Gather() override final;
39
42// StatusCode SetupEvent() override final;
43
44 private:
45 // The actual hit container - here because the base class is for both calib and standard SD tools
53
54 ServiceHandle<ILArCalculatorSvc> m_emecinnergadjcalc {this, "EMECPosInnerWheel_ECOR_GADJCalculator"
55 , "EMECPosInnerWheel_ECOR_GADJCalculator"}; // LArG4::EMEC_ECOR_GADJ
56 ServiceHandle<ILArCalculatorSvc> m_emecinnergadjoldcalc {this, "EMECPosInnerWheel_ECOR_GADJ_OLDCalculator"
57 , "EMECPosInnerWheel_ECOR_GADJ_OLDCalculator"}; // LArG4::EMEC_ECOR_GADJ_OLD
58 ServiceHandle<ILArCalculatorSvc> m_emecinnergadjecalc {this, "EMECPosInnerWheel_ECOR_GADJ_ECalculator"
59 , "EMECPosInnerWheel_ECOR_GADJ_ECalculator"}; // LArG4::EMEC_ECOR_GADJ_E
60 ServiceHandle<ILArCalculatorSvc> m_emecinnergadjscalc {this, "EMECPosInnerWheel_ECOR_GADJ_SCalculator"
61 , "EMECPosInnerWheel_ECOR_GADJ_SCalculator"}; // LArG4::EMEC_ECOR_GADJ_S
62 ServiceHandle<ILArCalculatorSvc> m_emecinnergadjsecalc {this, "EMECPosInnerWheel_ECOR_GADJ_SECalculator"
63 , "EMECPosInnerWheel_ECOR_GADJ_SECalculator"}; // LArG4::EMEC_ECOR_GADJ_SE
64 ServiceHandle<ILArCalculatorSvc> m_emecinnerchclcalc {this, "EMECPosInnerWheel_ECOR_CHCLCalculator"
65 , "EMECPosInnerWheel_ECOR_CHCLCalculator"}; //LArG4::EMEC_ECOR_CHCL
66 ServiceHandle<ILArCalculatorSvc> m_emecinnercalc {this, "EMECPosInnerWheelCalculator"
67 , "EMECPosInnerWheelCalculator"}; //LArG4::EMEC_ECOR_ROPT
68
69 // List of volumes for each SD and the corresponding SDs
77};
78
79#endif
Handle class for recording to StoreGate.
LArG4SDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Common sensitive detector class for LAr systems.
Hit collection.
ServiceHandle< ILArCalculatorSvc > m_emecinnergadjoldcalc
SG::WriteHandle< LArHitContainer > m_HitColl_gapold
SG::WriteHandle< LArHitContainer > m_HitColl_gap_se
ServiceHandle< ILArCalculatorSvc > m_emecinnerchclcalc
ServiceHandle< ILArCalculatorSvc > m_emecinnergadjecalc
ServiceHandle< ILArCalculatorSvc > m_emecinnergadjscalc
StatusCode initializeSD() override final
LArG4SimpleSD * m_gapadjSD
LArG4SimpleSD * m_chcollSD
virtual StatusCode initializeCalculators() override final
SG::WriteHandle< LArHitContainer > m_HitColl_gapadj
Beginning of an athena event.
TBECInnerModuleTool(const std::string &type, const std::string &name, const IInterface *parent)
ServiceHandle< ILArCalculatorSvc > m_emecinnergadjsecalc
StatusCode Gather() override final
End of an athena event.
LArG4SimpleSD * m_gap_sSD
SG::WriteHandle< LArHitContainer > m_HitColl_ropt
SG::WriteHandle< LArHitContainer > m_HitColl_chcoll
LArG4SimpleSD * m_gap_seSD
SG::WriteHandle< LArHitContainer > m_HitColl_gap_e
SG::WriteHandle< LArHitContainer > m_HitColl_gap_s
ServiceHandle< ILArCalculatorSvc > m_emecinnercalc
ServiceHandle< ILArCalculatorSvc > m_emecinnergadjcalc
LArG4SimpleSD * m_gapoldSD
LArG4SimpleSD * m_gap_eSD
virtual ~TBECInnerModuleTool()=default
Forward declaration.
#define private