ATLAS Offline Software
Loading...
Searching...
No Matches
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.
virtual ~TRTPhysicsTool ()
virtual StatusCode initialize () override
 Destructor.
virtual UPPhysicsConstructor GetPhysicsOption () override
 IPhysicsOptionTool method; simply returns self.

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}
std::string m_xmlFile

◆ ~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}
#define ATH_MSG_DEBUG(x)

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: