ATLAS Offline Software
LArFastShowerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARG4FASTSIMULATION_LARFASTSHOWERTOOL_H
6 #define LARG4FASTSIMULATION_LARFASTSHOWERTOOL_H
7 
8 // Base class header
10 
11 // Member variable headers
12 #include "GaudiKernel/ServiceHandle.h"
14 #include "FastShowerConfigStruct.h"
15 
16 // STL headers
17 #include <string>
18 
21 {
22 public:
23 
24  LArFastShowerTool(const std::string& type, const std::string& name, const IInterface *parent);
25 
26  virtual ~LArFastShowerTool() {}
27 
28  StatusCode initialize() override final;
29 
30  StatusCode EndOfAthenaEvent() override final;
31 
32 protected:
36  virtual G4VFastSimulationModel* makeFastSimModel() override final;
37 
38 private:
39  std::string m_fastSimDedicatedSD;
42 };
43 
44 #endif //LARG4FASTSIMULATION_LARFASTSHOWERTOOL_H
FastSimulationBase.h
LArFastShowerTool::m_configuration
FastShowerConfigStruct m_configuration
Definition: LArFastShowerTool.h:41
LArFastShowerTool::EndOfAthenaEvent
StatusCode EndOfAthenaEvent() override final
End of an athena event - do any tidying up required at the end of each athena event.
Definition: LArFastShowerTool.cxx:82
ILArG4ShowerLibSvc
Definition: ILArG4ShowerLibSvc.h:19
FastSimulationBase
Definition: FastSimulationBase.h:26
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
LArFastShowerTool::makeFastSimModel
virtual G4VFastSimulationModel * makeFastSimModel() override final
Method to make the actual fast simulation model itself, which will be owned by the tool.
Definition: LArFastShowerTool.cxx:59
LArFastShowerTool
NEEDS DOCUMENTATION.
Definition: LArFastShowerTool.h:21
ILArG4ShowerLibSvc.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArFastShowerTool::initialize
StatusCode initialize() override final
Definition: LArFastShowerTool.cxx:52
FastShowerConfigStruct
Definition: FastShowerConfigStruct.h:12
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArFastShowerTool::~LArFastShowerTool
virtual ~LArFastShowerTool()
Default destructor.
Definition: LArFastShowerTool.h:26
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
FastShowerConfigStruct.h
LArFastShowerTool::m_fastSimDedicatedSD
std::string m_fastSimDedicatedSD
Shower library sensitive detector for this shower.
Definition: LArFastShowerTool.h:39
LArFastShowerTool::LArFastShowerTool
LArFastShowerTool(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition: LArFastShowerTool.cxx:12
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArFastShowerTool::m_showerLibSvc
ServiceHandle< ILArG4ShowerLibSvc > m_showerLibSvc
Pointer to the shower library service.
Definition: LArFastShowerTool.h:40
ServiceHandle
Definition: ClusterMakerTool.h:37