ATLAS Offline Software
TRTPhysicsTool.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 TRTPhysicsTool_H
6 #define TRTPhysicsTool_H
7 
8 // Include files
10 
12 
13 //to handle
14 #include "GaudiKernel/ToolHandle.h"
15 
16 #include "G4VPhysicsConstructor.hh"
17 
18 
26 class TRTPhysicsTool final: public G4VPhysicsConstructor, public extends<AthAlgTool, IPhysicsOptionTool>
27 {
28 public:
30  TRTPhysicsTool( const std::string& type , const std::string& name,
31  const IInterface* parent ) ;
32 
33  virtual ~TRTPhysicsTool(){};
34 
36  virtual StatusCode initialize() override;
37  virtual void ConstructParticle() override;
38  virtual void ConstructProcess() override;
39 
41  virtual G4VPhysicsConstructor* GetPhysicsOption() override;
42 
43 protected:
44 
45  std::string m_xmlFile;
46 
47 };
48 
49 #endif
TRTPhysicsTool::~TRTPhysicsTool
virtual ~TRTPhysicsTool()
Definition: TRTPhysicsTool.h:33
TRTPhysicsTool::TRTPhysicsTool
TRTPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: TRTPhysicsTool.cxx:35
TRTPhysicsTool::m_xmlFile
std::string m_xmlFile
Definition: TRTPhysicsTool.h:45
IPhysicsOptionTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTPhysicsTool::initialize
virtual StatusCode initialize() override
Destructor.
Definition: TRTPhysicsTool.cxx:47
AthAlgTool.h
TRTPhysicsTool::ConstructProcess
virtual void ConstructProcess() override
Definition: TRTPhysicsTool.cxx:73
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TRTPhysicsTool::GetPhysicsOption
virtual G4VPhysicsConstructor * GetPhysicsOption() override
IPhysicsOptionTool method; simply returns self.
Definition: TRTPhysicsTool.cxx:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TRTPhysicsTool::ConstructParticle
virtual void ConstructParticle() override
Definition: TRTPhysicsTool.cxx:66
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TRTPhysicsTool
Definition: TRTPhysicsTool.h:27