ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4H62004EMECSDTool.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 LARG4H62004EMECSDTOOL_H
6#define LARG4H62004EMECSDTOOL_H
7
10
11#include <string>
12#include <vector>
13
16
17class LArG4SimpleSD;
18
23{
24public:
25 // Constructor
26 LArG4H62004EMECSDTool(const std::string& type, const std::string& name, const IInterface *parent);
27
28 // Destructor
29 virtual ~LArG4H62004EMECSDTool() = default;
30
31 // Method in which all the SDs are created and assigned to the relevant volumes
32 StatusCode initializeSD() override final;
33
34 // Calls down to all the SDs to get them to pack their hits into a central collection
35 StatusCode Gather() override final;
36
39 // StatusCode SetupEvent() override final;
40
42 StatusCode initializeCalculators() override final;
43
44 // The actual hit container - here because the base class is for both calib and standard SD tools
46 ServiceHandle<ILArCalculatorSvc> m_calculator{this, "Calculator", "EMECPosInnerWheel_ECOR_GADJCalculator"};
48};
49
50#endif
Handle class for recording to StoreGate.
LArG4H62004EMECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode Gather() override final
End of an athena event.
StatusCode initializeCalculators() override final
Beginning of an athena event.
StatusCode initializeSD() override final
virtual ~LArG4H62004EMECSDTool()=default
SG::WriteHandle< LArHitContainer > m_HitColl
ServiceHandle< ILArCalculatorSvc > m_calculator
LArG4SDTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Common sensitive detector class for LAr systems.
Hit collection.
Forward declaration.
#define private