#include "TRT:TR_Process/TRTPhysicsTool.h"
- Author
- Edoardo Farina
- Date
- 18-05-2015
Definition at line 26 of file TRTPhysicsTool.h.
◆ TRTPhysicsTool()
TRTPhysicsTool::TRTPhysicsTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Standard constructor.
Definition at line 35 of file TRTPhysicsTool.cxx.
37 : G4VPhysicsConstructor(nam), base_class (
type, nam ,
parent )
41 declareProperty(
"XMLFile",
m_xmlFile=
"TRgeomodelgeometry.xml");
◆ ~TRTPhysicsTool()
virtual TRTPhysicsTool::~TRTPhysicsTool |
( |
| ) |
|
|
inlinevirtual |
◆ ConstructParticle()
void TRTPhysicsTool::ConstructParticle |
( |
| ) |
|
|
overridevirtual |
◆ ConstructProcess()
void TRTPhysicsTool::ConstructProcess |
( |
| ) |
|
|
overridevirtual |
Definition at line 73 of file TRTPhysicsTool.cxx.
80 G4AutoDelete::Register(trProc);
85 G4ProcessManager* pmanager =
particle->GetProcessManager();
87 trProc->SetVerboseLevel(1);
89 pmanager->AddDiscreteProcess(trProc);
◆ GetPhysicsOption()
G4VPhysicsConstructor * TRTPhysicsTool::GetPhysicsOption |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode TRTPhysicsTool::initialize |
( |
| ) |
|
|
overridevirtual |
Destructor.
Initialize method
Definition at line 47 of file TRTPhysicsTool.cxx.
50 this->SetPhysicsName(
name());
51 return StatusCode::SUCCESS;
◆ m_xmlFile
std::string TRTPhysicsTool::m_xmlFile |
|
protected |
The documentation for this class was generated from the following files:
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses