ATLAS Offline Software
LArG4H62004EMECSDTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
14 #include "StoreGate/WriteHandle.h"
16 
17 class LArG4SimpleSD;
18 
23 {
24 public:
25  // Constructor
26  LArG4H62004EMECSDTool(const std::string& type, const std::string& name, const IInterface *parent);
27 
28  // Destructor
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 
41 private:
43 
44  // The actual hit container - here because the base class is for both calib and standard SD tools
45  SG::WriteHandle<LArHitContainer> m_HitColl;
47 
49 
50 };
51 
52 #endif
LArG4H62004EMECSDTool::~LArG4H62004EMECSDTool
virtual ~LArG4H62004EMECSDTool()
Definition: LArG4H62004EMECSDTool.h:29
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
LArG4H62004EMECSDTool
DEPRECATED AND WILL BE REMOVED.
Definition: LArG4H62004EMECSDTool.h:23
LArG4H62004EMECSDTool::initializeCalculators
StatusCode initializeCalculators() override final
Beginning of an athena event.
LArG4SimpleSD
Common sensitive detector class for LAr systems.
Definition: LArG4SimpleSD.h:36
LArHitContainer
Hit collection.
Definition: LArHitContainer.h:26
LArG4SDTool
A base class for tools that manage LAr SDs.
Definition: LArG4SDTool.h:33
LArG4H62004EMECSDTool::LArG4H62004EMECSDTool
LArG4H62004EMECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
LArG4H62004EMECSDTool::m_HitColl
SG::WriteHandle< LArHitContainer > m_HitColl
Definition: LArG4H62004EMECSDTool.h:45
LArG4H62004EMECSDTool::initializeSD
StatusCode initializeSD() override final
WriteHandle.h
Handle class for recording to StoreGate.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArG4H62004EMECSDTool::m_emecSD
LArG4SimpleSD * m_emecSD
Definition: LArG4H62004EMECSDTool.h:48
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ILArCalculatorSvc
Definition: ILArCalculatorSvc.h:25
LArG4H62004EMECSDTool::m_calculator
ServiceHandle< ILArCalculatorSvc > m_calculator
Definition: LArG4H62004EMECSDTool.h:46
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArG4H62004EMECSDTool::Gather
StatusCode Gather() override final
End of an athena event.
ILArCalculatorSvc.h
LArHitContainer.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArG4SDTool.h
ServiceHandle
Definition: ClusterMakerTool.h:37