ATLAS Offline Software
LArG4H62004ActiveSDTool.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 LARG4H62004ACTIVESDTOOL_H
6 #define LARG4H62004ACTIVESDTOOL_H
7 
9 #include <string>
10 #include <vector>
11 
12 #include "StoreGate/WriteHandle.h"
15 
16 class LArG4H62004CalibSD;
17 
22 {
23  public:
24  // Constructor
25  LArG4H62004ActiveSDTool(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
46 
52  std::vector<std::string> m_emecVolumes;
53  std::vector<std::string> m_hecVolumes;
54  std::vector<std::string> m_fcal1Volumes;
55  std::vector<std::string> m_fcal2Volumes;
56  std::vector<std::string> m_fcalColdVolumes;
57 };
58 
59 #endif
CaloCalibrationHitContainer
Definition: CaloCalibrationHitContainer.h:25
LArG4H62004ActiveSDTool::initializeCalculators
StatusCode initializeCalculators() override final
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
LArG4H62004ActiveSDTool::m_heccalc
ServiceHandle< ILArCalibCalculatorSvc > m_heccalc
Definition: LArG4H62004ActiveSDTool.h:42
LArG4SDTool
A base class for tools that manage LAr SDs.
Definition: LArG4SDTool.h:33
LArG4H62004ActiveSDTool::m_emecVolumes
std::vector< std::string > m_emecVolumes
Definition: LArG4H62004ActiveSDTool.h:52
LArG4H62004ActiveSDTool::m_fcalColdSD
LArG4H62004CalibSD * m_fcalColdSD
Definition: LArG4H62004ActiveSDTool.h:51
LArG4H62004ActiveSDTool
DEPRECATED AND WILL BE REMOVED.
Definition: LArG4H62004ActiveSDTool.h:22
CaloCalibrationHitContainer.h
LArG4H62004ActiveSDTool::Gather
StatusCode Gather() override final
End of an athena event.
LArG4H62004CalibSD
Definition: LArG4H62004CalibSD.h:20
LArG4H62004ActiveSDTool::LArG4H62004ActiveSDTool
LArG4H62004ActiveSDTool(const std::string &type, const std::string &name, const IInterface *parent)
LArG4H62004ActiveSDTool::m_emepiwcalc
ServiceHandle< ILArCalibCalculatorSvc > m_emepiwcalc
Definition: LArG4H62004ActiveSDTool.h:41
LArG4H62004ActiveSDTool::m_HitColl
SG::WriteHandle< CaloCalibrationHitContainer > m_HitColl
Definition: LArG4H62004ActiveSDTool.h:40
LArG4H62004ActiveSDTool::m_fcal2SD
LArG4H62004CalibSD * m_fcal2SD
Definition: LArG4H62004ActiveSDTool.h:50
WriteHandle.h
Handle class for recording to StoreGate.
LArG4H62004ActiveSDTool::m_fcal2Volumes
std::vector< std::string > m_fcal2Volumes
Definition: LArG4H62004ActiveSDTool.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
LArG4H62004ActiveSDTool::m_fcal1SD
LArG4H62004CalibSD * m_fcal1SD
Definition: LArG4H62004ActiveSDTool.h:49
LArG4H62004ActiveSDTool::m_emecSD
LArG4H62004CalibSD * m_emecSD
Definition: LArG4H62004ActiveSDTool.h:47
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArG4H62004ActiveSDTool::initializeSD
StatusCode initializeSD() override final
LArG4H62004ActiveSDTool::m_hecSD
LArG4H62004CalibSD * m_hecSD
Definition: LArG4H62004ActiveSDTool.h:48
LArG4H62004ActiveSDTool::~LArG4H62004ActiveSDTool
virtual ~LArG4H62004ActiveSDTool()
Definition: LArG4H62004ActiveSDTool.h:28
LArG4H62004ActiveSDTool::m_fcal2calc
ServiceHandle< ILArCalibCalculatorSvc > m_fcal2calc
Definition: LArG4H62004ActiveSDTool.h:44
ILArCalibCalculatorSvc.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArG4H62004ActiveSDTool::m_fcalcoldcalc
ServiceHandle< ILArCalibCalculatorSvc > m_fcalcoldcalc
Definition: LArG4H62004ActiveSDTool.h:45
LArG4H62004ActiveSDTool::m_fcal1Volumes
std::vector< std::string > m_fcal1Volumes
Definition: LArG4H62004ActiveSDTool.h:54
ILArCalibCalculatorSvc
Definition: ILArCalibCalculatorSvc.h:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArG4H62004ActiveSDTool::m_hecVolumes
std::vector< std::string > m_hecVolumes
Definition: LArG4H62004ActiveSDTool.h:53
LArG4H62004ActiveSDTool::m_fcal1calc
ServiceHandle< ILArCalibCalculatorSvc > m_fcal1calc
Definition: LArG4H62004ActiveSDTool.h:43
LArG4SDTool.h
LArG4H62004ActiveSDTool::m_fcalColdVolumes
std::vector< std::string > m_fcalColdVolumes
Definition: LArG4H62004ActiveSDTool.h:56
ServiceHandle
Definition: ClusterMakerTool.h:37