ATLAS Offline Software
LArG4H62004FCALSDTool.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 LARG4H62004FCALSDTOOL_H
6 #define LARG4H62004FCALSDTOOL_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  LArG4H62004FCALSDTool(const std::string& type, const std::string& name, const IInterface *parent);
26 
27  // Destructor
29 
30  // Method in which all the SDs are created and assigned to the relevant volumes
31  StatusCode initializeSD() override final;
32 
33  // Calls down to all the SDs to get them to pack their hits into a central collection
34  StatusCode Gather() override final;
35 
36  private:
38 
39  // The actual hit container - here because the base class is for both calib and standard SD tools
40  SG::WriteHandle<LArHitContainer> m_HitColl;
41 
45  // Sensitive detectors and their corresponding volumes
49  std::vector<std::string> m_fcal1Volumes;
50  std::vector<std::string> m_fcal2Volumes;
51  std::vector<std::string> m_fcalColdVolumes;
52 };
53 
54 #endif
LArG4H62004FCALSDTool::m_fcal2SD
LArG4SimpleSD * m_fcal2SD
Definition: LArG4H62004FCALSDTool.h:47
LArG4H62004FCALSDTool::Gather
StatusCode Gather() override final
End of an athena event.
LArG4H62004FCALSDTool::initializeSD
StatusCode initializeSD() override final
LArG4H62004FCALSDTool::~LArG4H62004FCALSDTool
virtual ~LArG4H62004FCALSDTool()
Definition: LArG4H62004FCALSDTool.h:28
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
LArG4H62004FCALSDTool::m_fcalColdSD
LArG4SimpleSD * m_fcalColdSD
Definition: LArG4H62004FCALSDTool.h:48
LArG4SimpleSD
Common sensitive detector class for LAr systems.
Definition: LArG4SimpleSD.h:36
LArHitContainer
Hit collection.
Definition: LArHitContainer.h:26
LArG4H62004FCALSDTool::m_fcalColdVolumes
std::vector< std::string > m_fcalColdVolumes
Definition: LArG4H62004FCALSDTool.h:51
LArG4SDTool
A base class for tools that manage LAr SDs.
Definition: LArG4SDTool.h:33
LArG4H62004FCALSDTool::m_HitColl
SG::WriteHandle< LArHitContainer > m_HitColl
Definition: LArG4H62004FCALSDTool.h:40
LArG4H62004FCALSDTool::LArG4H62004FCALSDTool
LArG4H62004FCALSDTool(const std::string &type, const std::string &name, const IInterface *parent)
WriteHandle.h
Handle class for recording to StoreGate.
LArG4H62004FCALSDTool::initializeCalculators
StatusCode initializeCalculators() override final
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
LArG4H62004FCALSDTool::m_fcal1SD
LArG4SimpleSD * m_fcal1SD
Definition: LArG4H62004FCALSDTool.h:46
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ILArCalculatorSvc
Definition: ILArCalculatorSvc.h:25
LArG4H62004FCALSDTool::m_fcal1Volumes
std::vector< std::string > m_fcal1Volumes
Definition: LArG4H62004FCALSDTool.h:49
LArG4H62004FCALSDTool::m_fcal1calc
ServiceHandle< ILArCalculatorSvc > m_fcal1calc
Definition: LArG4H62004FCALSDTool.h:42
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArG4H62004FCALSDTool::m_fcal2Volumes
std::vector< std::string > m_fcal2Volumes
Definition: LArG4H62004FCALSDTool.h:50
LArG4H62004FCALSDTool
DEPRECATED AND WILL BE REMOVED.
Definition: LArG4H62004FCALSDTool.h:22
ILArCalculatorSvc.h
LArHitContainer.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArG4SDTool.h
LArG4H62004FCALSDTool::m_fcal2calc
ServiceHandle< ILArCalculatorSvc > m_fcal2calc
Definition: LArG4H62004FCALSDTool.h:43
LArG4H62004FCALSDTool::m_fcalcoldcalc
ServiceHandle< ILArCalculatorSvc > m_fcalcoldcalc
Definition: LArG4H62004FCALSDTool.h:44
ServiceHandle
Definition: ClusterMakerTool.h:37