k4SimGeant4
Loading...
Searching...
No Matches
SimG4GflashSamplingCalo.h
Go to the documentation of this file.
1#ifndef SIMG4FAST_SIMG4GFLASHSAMPLINGCALO_H
2#define SIMG4FAST_SIMG4GFLASHSAMPLINGCALO_H
3
4// Gaudi
5#include "GaudiKernel/AlgTool.h"
6
7// FCCSW
9
21class SimG4GflashSamplingCalo : public AlgTool, virtual public ISimG4GflashTool {
22public:
23 explicit SimG4GflashSamplingCalo(const std::string& type, const std::string& name, const IInterface* parent);
28 virtual StatusCode initialize() final;
32 virtual StatusCode finalize() final;
36 virtual std::unique_ptr<GVFlashShowerParameterisation> parametrisation() final;
37
38private:
40 Gaudi::Property<std::string> m_materialActive{
41 this, "materialActive", "",
42 "Material name of the active layer in the sampling calorimeter (to be searched for in Geant NIST table)"};
44 Gaudi::Property<std::string> m_materialPassive{
45 this, "materialPassive", "",
46 "Material name of the passive layer in the sampling calorimeter (to be searched for in Geant NIST table)"};
48 Gaudi::Property<double> m_thicknessActive{this, "thicknessActive", 0, "Thickness of the active layer"};
50 Gaudi::Property<double> m_thicknessPassive{this, "thicknessPassive", 0, "Thickness of the passive layer"};
51};
52
53#endif /* SIMG4FAST_SIMG4GFLASHSAMPLINGCALO_H */
Interface to the Gflash parametrisation tool.
Definition ISimG4GflashTool.h:18
Tool creating a parametrisation of a sampling calorimeter.
Definition SimG4GflashSamplingCalo.h:21
virtual StatusCode initialize() final
Initialize.
Definition SimG4GflashSamplingCalo.cpp:15
SimG4GflashSamplingCalo(const std::string &type, const std::string &name, const IInterface *parent)
Definition SimG4GflashSamplingCalo.cpp:9
virtual ~SimG4GflashSamplingCalo()
Definition SimG4GflashSamplingCalo.cpp:13
Gaudi::Property< std::string > m_materialActive
Material name of the active layer in the sampling calorimeter (to be searched for in Geant NIST table...
Definition SimG4GflashSamplingCalo.h:40
Gaudi::Property< std::string > m_materialPassive
Material name of the passive layer in the sampling calorimeter (to be searched for in Geant NIST tabl...
Definition SimG4GflashSamplingCalo.h:44
virtual std::unique_ptr< GVFlashShowerParameterisation > parametrisation() final
Get the parametrisation.
Definition SimG4GflashSamplingCalo.cpp:37
virtual StatusCode finalize() final
Finalize.
Definition SimG4GflashSamplingCalo.cpp:35
Gaudi::Property< double > m_thicknessActive
Thickness of the active layer.
Definition SimG4GflashSamplingCalo.h:48
Gaudi::Property< double > m_thicknessPassive
Thickness of the passive layer.
Definition SimG4GflashSamplingCalo.h:50