ATLAS Offline Software
Classes | Public Member Functions | Protected Attributes | List of all members
G4EMProcessesPhysicsTool Class Reference

#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. More...
 
virtual ~G4EMProcessesPhysicsTool ()
 
virtual StatusCode initialize () override final
 Destructor. More...
 
virtual UPPhysicsConstructor GetPhysicsOption () override final
 Implements. More...
 

Protected Attributes

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

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 }

◆ ~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 }

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:
G4AtlasPhysicsOption::QS_ExtraProc
@ QS_ExtraProc
Definition: IPhysicsOptionTool.h:25
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4EMProcessesPhysicsTool::m_particleList
std::vector< int > m_particleList
list of particles to apply the em processes to
Definition: G4EMProcessesPhysicsTool.h:51
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240