Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Public Member Functions | Private Attributes | List of all members
TRTPhysicsTool Class Referencefinal

#include "TRT:TR_Process/TRTPhysicsTool.h"

Inheritance diagram for TRTPhysicsTool:
Collaboration diagram for TRTPhysicsTool:

Classes

class  PhysicsConstructor
 

Public Member Functions

 TRTPhysicsTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor. More...
 
virtual ~TRTPhysicsTool ()
 
virtual StatusCode initialize () override
 Destructor. More...
 
virtual UPPhysicsConstructor GetPhysicsOption () override
 IPhysicsOptionTool method; simply returns self. More...
 

Private Attributes

std::string m_xmlFile
 

Detailed Description

Author
Edoardo Farina
Date
18-05-2015

Definition at line 24 of file TRTPhysicsTool.h.

Constructor & Destructor Documentation

◆ TRTPhysicsTool()

TRTPhysicsTool::TRTPhysicsTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Standard constructor.

Definition at line 36 of file TRTPhysicsTool.cxx.

38  : base_class(type, name, parent) {
39  m_physicsOptionType = G4AtlasPhysicsOption::Type::GlobalProcesses;
40 
41  declareProperty("XMLFile", m_xmlFile="TRgeomodelgeometry.xml");
42 }

◆ ~TRTPhysicsTool()

virtual TRTPhysicsTool::~TRTPhysicsTool ( )
inlinevirtual

Definition at line 30 of file TRTPhysicsTool.h.

30 {};

Member Function Documentation

◆ GetPhysicsOption()

auto TRTPhysicsTool::GetPhysicsOption ( )
overridevirtual

IPhysicsOptionTool method; simply returns self.

Definition at line 56 of file TRTPhysicsTool.cxx.

56  {
57  return std::make_unique<TRTPhysicsTool::PhysicsConstructor>(name(), this->msgLevel(), m_xmlFile);
58 }

◆ initialize()

StatusCode TRTPhysicsTool::initialize ( )
overridevirtual

Destructor.

Initialize method

Definition at line 47 of file TRTPhysicsTool.cxx.

48 {
49  ATH_MSG_DEBUG("TRTPhysicsTool initialize()");
50  return StatusCode::SUCCESS;
51 }

Member Data Documentation

◆ m_xmlFile

std::string TRTPhysicsTool::m_xmlFile
private

Definition at line 53 of file TRTPhysicsTool.h.


The documentation for this class was generated from the following files:
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
TRTPhysicsTool::m_xmlFile
std::string m_xmlFile
Definition: TRTPhysicsTool.h:53
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
G4AtlasPhysicsOption::GlobalProcesses
@ GlobalProcesses
Definition: IPhysicsOptionTool.h:26