ATLAS Offline Software
Loading...
Searching...
No Matches
G4EMProcessesPhysicsTool Class Reference

"G4ExtraProcesses/G4EMProcessesPhysicsTool.h" More...

#include <G4EMProcessesPhysicsTool.h>

Inheritance diagram for G4EMProcessesPhysicsTool:
Collaboration diagram for G4EMProcessesPhysicsTool:

Classes

class  PhysicsConstructor

Public Member Functions

 G4EMProcessesPhysicsTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor.
virtual ~G4EMProcessesPhysicsTool ()
virtual StatusCode initialize () override final
 Destructor.
virtual UPPhysicsConstructor GetPhysicsOption () override final
 Implements.

Protected Attributes

std::vector< int > m_particleList
 list of particles to apply the em processes to

Detailed Description

"G4ExtraProcesses/G4EMProcessesPhysicsTool.h"

Tool for the concrete implementation of a Physics List selection class

Author
Miha Muskinja
Date
August-2020

Definition at line 21 of file G4EMProcessesPhysicsTool.h.

Constructor & Destructor Documentation

◆ G4EMProcessesPhysicsTool()

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

Standard constructor.

Definition at line 26 of file G4EMProcessesPhysicsTool.cxx.

29 : base_class(type, name, parent)
30{
31 m_physicsOptionType = G4AtlasPhysicsOption::Type::QS_ExtraProc;
32
33 declareProperty("ParticleList", m_particleList);
34}
std::vector< int > m_particleList
list of particles to apply the em processes to

◆ ~G4EMProcessesPhysicsTool()

virtual G4EMProcessesPhysicsTool::~G4EMProcessesPhysicsTool ( )
inlinevirtual

Definition at line 28 of file G4EMProcessesPhysicsTool.h.

28{};

Member Function Documentation

◆ GetPhysicsOption()

auto G4EMProcessesPhysicsTool::GetPhysicsOption ( )
finaloverridevirtual

Implements.

Definition at line 48 of file G4EMProcessesPhysicsTool.cxx.

48 {
49 return std::make_unique<G4EMProcessesPhysicsTool::PhysicsConstructor>(
50 name(), msgLevel(), m_particleList);
51}

◆ initialize()

StatusCode G4EMProcessesPhysicsTool::initialize ( )
finaloverridevirtual

Destructor.

Initialize method

Definition at line 39 of file G4EMProcessesPhysicsTool.cxx.

40{
41 ATH_MSG_DEBUG("initializing...");
42 return StatusCode::SUCCESS;
43}
#define ATH_MSG_DEBUG(x)

Member Data Documentation

◆ m_particleList

std::vector<int> G4EMProcessesPhysicsTool::m_particleList
protected

list of particles to apply the em processes to

Definition at line 51 of file G4EMProcessesPhysicsTool.h.


The documentation for this class was generated from the following files: