ATLAS Offline Software
Loading...
Searching...
No Matches
TBECBackOuterBarretteTool.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 TBECBackOuterBarretteTool_H
6#define TBECBackOuterBarretteTool_H
7
9#include <string>
10#include <vector>
11
15
16class LArG4SimpleSD;
17
24{
25 public:
26 // Constructor
27 TBECBackOuterBarretteTool(const std::string& type, const std::string& name, const IInterface *parent);
28
29 // Destructor
30 virtual ~TBECBackOuterBarretteTool() = 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
40 private:
41 // The actual hit container - here because the base class is for both calib and standard SD tools
49
50 ServiceHandle<ILArCalculatorSvc> m_emecbobgadjcalc {this, "EMECPosBOBWheel_ECOR_GADJCalculator"
51 , "EMECPosBOBWheel_ECOR_GADJCalculator"}; // LArG4::EMEC_ECOR_GADJ
52 ServiceHandle<ILArCalculatorSvc> m_emecbobgadjoldcalc {this, "EMECPosBOBWheel_ECOR_GADJ_OLDCalculator"
53 , "EMECPosBOBWheel_ECOR_GADJ_OLDCalculator"}; // LArG4::EMEC_ECOR_GADJ_OLD
54 ServiceHandle<ILArCalculatorSvc> m_emecbobgadjecalc {this, "EMECPosBOBWheel_ECOR_GADJ_ECalculator"
55 , "EMECPosBOBWheel_ECOR_GADJ_ECalculator"}; // LArG4::EMEC_ECOR_GADJ_E
56 ServiceHandle<ILArCalculatorSvc> m_emecbobgadjscalc {this, "EMECPosBOBWheel_ECOR_GADJ_SCalculator"
57 , "EMECPosBOBWheel_ECOR_GADJ_SCalculator"}; // LArG4::EMEC_ECOR_GADJ_S
58 ServiceHandle<ILArCalculatorSvc> m_emecbobgadjsecalc {this, "EMECPosBOBWheel_ECOR_GADJ_SECalculator"
59 , "EMECPosBOBWheel_ECOR_GADJ_SECalculator"}; // LArG4::EMEC_ECOR_GADJ_SE
60 ServiceHandle<ILArCalculatorSvc> m_emecbobchclcalc {this, "EMECPosBOBWheel_ECOR_CHCLCalculator"
61 , "EMECPosBOBWheel_ECOR_CHCLCalculator"}; // LArG4::EMEC_ECOR_CHCL
62 ServiceHandle<ILArCalculatorSvc> m_emecbobcalc {this, "EMECPosBOBWheelCalculator"
63 , "EMECPosBOBWheelCalculator"}; // LArG4::EMEC_ECOR_ROPT
64
65 // List of volumes for each SD and the corresponding SDs
73};
74
75#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_emecbobgadjcalc
SG::WriteHandle< LArHitContainer > m_HitColl_gapadj
SG::WriteHandle< LArHitContainer > m_HitColl_gapold
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjecalc
ServiceHandle< ILArCalculatorSvc > m_emecbobchclcalc
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjoldcalc
virtual ~TBECBackOuterBarretteTool()=default
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjscalc
StatusCode Gather() override final
End of an athena event.
SG::WriteHandle< LArHitContainer > m_HitColl_gap_s
SG::WriteHandle< LArHitContainer > m_HitColl_gap_se
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjsecalc
TBECBackOuterBarretteTool(const std::string &type, const std::string &name, const IInterface *parent)
SG::WriteHandle< LArHitContainer > m_HitColl_ropt
SG::WriteHandle< LArHitContainer > m_HitColl_gap_e
ServiceHandle< ILArCalculatorSvc > m_emecbobcalc
virtual StatusCode initializeCalculators() override final
StatusCode initializeSD() override final
SG::WriteHandle< LArHitContainer > m_HitColl_chcoll
Forward declaration.
#define private