ATLAS Offline Software
LArG4H62004HECSDTool.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 LARG4H62004HECSDTOOL_H
6 #define LARG4H62004HECSDTOOL_H
7 
9 #include <string>
10 #include <vector>
11 
12 #include "StoreGate/WriteHandle.h"
15 
16 class LArG4SimpleSD;
17 
22 {
23  public:
24  // Constructor
25  LArG4H62004HECSDTool(const std::string& type, const std::string& name, const IInterface *parent);
26 
27  // Destructor
28  virtual ~LArG4H62004HECSDTool() {}
29 
30  virtual StatusCode initializeCalculators() override final;
31 
32  // Method in which all the SDs are created and assigned to the relevant volumes
33  StatusCode initializeSD() override final;
34 
35  // Calls down to all the SDs to get them to pack their hits into a central collection
36  StatusCode Gather() override final;
37 
38  private:
39  // The actual hit container - here because the base class is for both calib and standard SD tools
40  SG::WriteHandle<LArHitContainer> m_HitColl;
43 
44 };
45 
46 #endif
LArG4H62004HECSDTool::m_wheelSD
LArG4SimpleSD * m_wheelSD
Definition: LArG4H62004HECSDTool.h:42
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
LArG4H62004HECSDTool::initializeCalculators
virtual StatusCode initializeCalculators() override final
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
LArG4H62004HECSDTool::LArG4H62004HECSDTool
LArG4H62004HECSDTool(const std::string &type, const std::string &name, const IInterface *parent)
LArG4H62004HECSDTool
DEPRECATED AND WILL BE REMOVED.
Definition: LArG4H62004HECSDTool.h:22
LArG4H62004HECSDTool::~LArG4H62004HECSDTool
virtual ~LArG4H62004HECSDTool()
Definition: LArG4H62004HECSDTool.h:28
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
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ILArCalculatorSvc
Definition: ILArCalculatorSvc.h:25
LArG4H62004HECSDTool::Gather
StatusCode Gather() override final
End of an athena event.
LArG4H62004HECSDTool::m_HitColl
SG::WriteHandle< LArHitContainer > m_HitColl
Definition: LArG4H62004HECSDTool.h:40
LArG4H62004HECSDTool::initializeSD
StatusCode initializeSD() override final
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ILArCalculatorSvc.h
LArHitContainer.h
LArG4H62004HECSDTool::m_calculator
ServiceHandle< ILArCalculatorSvc > m_calculator
Definition: LArG4H62004HECSDTool.h:41
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArG4SDTool.h
ServiceHandle
Definition: ClusterMakerTool.h:37