ATLAS Offline Software
TBECBackOuterBarretteTool.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 TBECBackOuterBarretteTool__H
6 #define TBECBackOuterBarretteTool__H
7 
9 #include <string>
10 #include <vector>
11 
12 #include "StoreGate/WriteHandle.h"
15 
16 class LArG4SimpleSD;
17 
24 {
25  public:
26  // Constructor
27  TBECBackOuterBarretteTool(const std::string& type, const std::string& name, const IInterface *parent);
28 
29  // Destructor
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 
60  ServiceHandle<ILArCalculatorSvc> m_emecbobcalc;// LArG4::EMEC_ECOR_ROPT
61 
62  // List of volumes for each SD and the corresponding SDs
70 };
71 
72 #endif
TBECBackOuterBarretteTool::m_HitColl_gap_e
SG::WriteHandle< LArHitContainer > m_HitColl_gap_e
Definition: TBECBackOuterBarretteTool.h:48
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
TBECBackOuterBarretteTool::m_HitColl_gapadj
SG::WriteHandle< LArHitContainer > m_HitColl_gapadj
Beginning of an athena event.
Definition: TBECBackOuterBarretteTool.h:46
TBECBackOuterBarretteTool::m_emecbobgadjsecalc
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjsecalc
Definition: TBECBackOuterBarretteTool.h:58
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
TBECBackOuterBarretteTool::m_emecbobgadjcalc
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjcalc
Definition: TBECBackOuterBarretteTool.h:54
TBECBackOuterBarretteTool::m_gap_sSD
LArG4SimpleSD * m_gap_sSD
Definition: TBECBackOuterBarretteTool.h:66
TBECBackOuterBarretteTool::TBECBackOuterBarretteTool
TBECBackOuterBarretteTool(const std::string &type, const std::string &name, const IInterface *parent)
WriteHandle.h
Handle class for recording to StoreGate.
TBECBackOuterBarretteTool::m_emecbobgadjscalc
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjscalc
Definition: TBECBackOuterBarretteTool.h:57
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TBECBackOuterBarretteTool::m_gapadjSD
LArG4SimpleSD * m_gapadjSD
Definition: TBECBackOuterBarretteTool.h:63
TBECBackOuterBarretteTool::m_HitColl_chcoll
SG::WriteHandle< LArHitContainer > m_HitColl_chcoll
Definition: TBECBackOuterBarretteTool.h:51
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TBECBackOuterBarretteTool::initializeCalculators
virtual StatusCode initializeCalculators() override final
ILArCalculatorSvc
Definition: ILArCalculatorSvc.h:25
TBECBackOuterBarretteTool::m_chcollSD
LArG4SimpleSD * m_chcollSD
Definition: TBECBackOuterBarretteTool.h:68
TBECBackOuterBarretteTool::~TBECBackOuterBarretteTool
virtual ~TBECBackOuterBarretteTool()
Definition: TBECBackOuterBarretteTool.h:30
TBECBackOuterBarretteTool::m_gapoldSD
LArG4SimpleSD * m_gapoldSD
Definition: TBECBackOuterBarretteTool.h:64
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TBECBackOuterBarretteTool::m_gap_seSD
LArG4SimpleSD * m_gap_seSD
Definition: TBECBackOuterBarretteTool.h:67
TBECBackOuterBarretteTool::m_emecbobgadjoldcalc
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjoldcalc
Definition: TBECBackOuterBarretteTool.h:55
TBECBackOuterBarretteTool::m_emecbobgadjecalc
ServiceHandle< ILArCalculatorSvc > m_emecbobgadjecalc
Definition: TBECBackOuterBarretteTool.h:56
TBECBackOuterBarretteTool::initializeSD
StatusCode initializeSD() override final
TBECBackOuterBarretteTool::m_roptSD
LArG4SimpleSD * m_roptSD
Definition: TBECBackOuterBarretteTool.h:69
TBECBackOuterBarretteTool
Definition: TBECBackOuterBarretteTool.h:24
TBECBackOuterBarretteTool::m_emecbobchclcalc
ServiceHandle< ILArCalculatorSvc > m_emecbobchclcalc
Definition: TBECBackOuterBarretteTool.h:59
TBECBackOuterBarretteTool::Gather
StatusCode Gather() override final
End of an athena event.
TBECBackOuterBarretteTool::m_gap_eSD
LArG4SimpleSD * m_gap_eSD
Definition: TBECBackOuterBarretteTool.h:65
ILArCalculatorSvc.h
LArHitContainer.h
TBECBackOuterBarretteTool::m_HitColl_ropt
SG::WriteHandle< LArHitContainer > m_HitColl_ropt
Definition: TBECBackOuterBarretteTool.h:52
TBECBackOuterBarretteTool::m_emecbobcalc
ServiceHandle< ILArCalculatorSvc > m_emecbobcalc
Definition: TBECBackOuterBarretteTool.h:60
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TBECBackOuterBarretteTool::m_HitColl_gapold
SG::WriteHandle< LArHitContainer > m_HitColl_gapold
Definition: TBECBackOuterBarretteTool.h:47
LArG4SDTool.h
TBECBackOuterBarretteTool::m_HitColl_gap_s
SG::WriteHandle< LArHitContainer > m_HitColl_gap_s
Definition: TBECBackOuterBarretteTool.h:49
TBECBackOuterBarretteTool::m_HitColl_gap_se
SG::WriteHandle< LArHitContainer > m_HitColl_gap_se
Definition: TBECBackOuterBarretteTool.h:50
ServiceHandle
Definition: ClusterMakerTool.h:37