k4SimGeant4
Loading...
Searching...
No Matches
SimG4GflashHomoCalo.h
Go to the documentation of this file.
1#ifndef SIMG4FAST_SIMG4GFLASHHOMOCALO_H
2#define SIMG4FAST_SIMG4GFLASHHOMOCALO_H
3
4// Gaudi
5#include "GaudiKernel/AlgTool.h"
6
7// FCCSW
9
19class SimG4GflashHomoCalo : public AlgTool, virtual public ISimG4GflashTool {
20public:
21 explicit SimG4GflashHomoCalo(const std::string& type, const std::string& name, const IInterface* parent);
22 virtual ~SimG4GflashHomoCalo();
26 virtual StatusCode initialize() final;
30 virtual StatusCode finalize() final;
34 virtual std::unique_ptr<GVFlashShowerParameterisation> parametrisation() final;
35
36private:
38 Gaudi::Property<std::string> m_material{
39 this, "material", "", "Material name of the homogenous calorimeter (to be searched for in Geant NIST table)"};
40};
41
42#endif /* SIMG4FAST_SIMG4GFLASHHOMOCALO_H */
Interface to the Gflash parametrisation tool.
Definition ISimG4GflashTool.h:18
Tool creating a parametrisation of a homogenous calorimeter.
Definition SimG4GflashHomoCalo.h:19
virtual std::unique_ptr< GVFlashShowerParameterisation > parametrisation() final
Get the parametrisation.
Definition SimG4GflashHomoCalo.cpp:32
Gaudi::Property< std::string > m_material
Material name of the homogenous calorimeter (to be searched for in Geant NIST table)
Definition SimG4GflashHomoCalo.h:38
virtual ~SimG4GflashHomoCalo()
Definition SimG4GflashHomoCalo.cpp:12
SimG4GflashHomoCalo(const std::string &type, const std::string &name, const IInterface *parent)
Definition SimG4GflashHomoCalo.cpp:9
virtual StatusCode finalize() final
Finalize.
Definition SimG4GflashHomoCalo.cpp:30
virtual StatusCode initialize() final
Initialize.
Definition SimG4GflashHomoCalo.cpp:14