ATLAS Offline Software
Loading...
Searching...
No Matches
InnerDetector
InDetSimUtils
TRT_TR_Process
src
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
9
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "
G4AtlasInterfaces/IPhysicsOptionTool.h
"
12
13
//to handle
14
#include "
G4AtlasInterfaces/IPhysicsConstructor.h
"
15
#include "GaudiKernel/ToolHandle.h"
16
24
class
TRTPhysicsTool
final :
public
extends<AthAlgTool, IPhysicsOptionTool> {
25
public
:
27
TRTPhysicsTool
(
const
std::string&
type
,
const
std::string& name,
28
const
IInterface* parent ) ;
29
30
virtual
~TRTPhysicsTool
(){};
31
33
virtual
StatusCode
initialize
()
override
;
34
36
virtual
UPPhysicsConstructor
GetPhysicsOption
()
override
;
37
38
class
PhysicsConstructor
:
public
IPhysicsContructor
{
39
public
:
40
PhysicsConstructor
(
const
std::string& name, MSG::Level level,
41
const
std::string& xml_file)
42
:
IPhysicsContructor
(name, level),
m_xmlFile
(xml_file) {}
43
44
virtual
void
ConstructParticle
()
override
;
45
virtual
void
ConstructProcess
()
override
;
46
47
private
:
48
std::string
m_xmlFile
;
49
};
50
51
private
:
52
53
std::string
m_xmlFile
;
54
};
55
56
#endif
AthAlgTool.h
IPhysicsConstructor.h
IPhysicsOptionTool.h
IPhysicsContructor::IPhysicsContructor
IPhysicsContructor(const std::string &name, MSG::Level level)
Standard constructor.
Definition
IPhysicsConstructor.h:44
TRTPhysicsTool::PhysicsConstructor::PhysicsConstructor
PhysicsConstructor(const std::string &name, MSG::Level level, const std::string &xml_file)
Definition
TRTPhysicsTool.h:40
TRTPhysicsTool::PhysicsConstructor::m_xmlFile
std::string m_xmlFile
Definition
TRTPhysicsTool.h:48
TRTPhysicsTool::PhysicsConstructor::ConstructParticle
virtual void ConstructParticle() override
Definition
TRTPhysicsTool.cxx:63
TRTPhysicsTool::PhysicsConstructor::ConstructProcess
virtual void ConstructProcess() override
Definition
TRTPhysicsTool.cxx:68
TRTPhysicsTool::m_xmlFile
std::string m_xmlFile
Definition
TRTPhysicsTool.h:53
TRTPhysicsTool::GetPhysicsOption
virtual UPPhysicsConstructor GetPhysicsOption() override
IPhysicsOptionTool method; simply returns self.
Definition
TRTPhysicsTool.cxx:56
TRTPhysicsTool::~TRTPhysicsTool
virtual ~TRTPhysicsTool()
Definition
TRTPhysicsTool.h:30
TRTPhysicsTool::TRTPhysicsTool
TRTPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
TRTPhysicsTool.cxx:36
TRTPhysicsTool::initialize
virtual StatusCode initialize() override
Destructor.
Definition
TRTPhysicsTool.cxx:47
type
Generated on
for ATLAS Offline Software by
1.14.0