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

"ExtraParticles/ExtraParticlesPhysicsTool.h" More...

#include <ExtraParticlesPhysicsTool.h>

Inheritance diagram for ExtraParticlesPhysicsTool:
Collaboration diagram for ExtraParticlesPhysicsTool:

Classes

class  PhysicsConstructor

Public Member Functions

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

Protected Attributes

std::map< std::string, std::vector< double > > m_extraParticlesConfig
 a set of parameters for extra particle building

Detailed Description

"ExtraParticles/ExtraParticlesPhysicsTool.h"

Tool for the concrete implementation of a Physics List selection class

Author
Miha Muskinja
Date
August-2019

Definition at line 21 of file ExtraParticlesPhysicsTool.h.

Constructor & Destructor Documentation

◆ ExtraParticlesPhysicsTool()

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

Standard constructor.

Definition at line 35 of file ExtraParticlesPhysicsTool.cxx.

38 : base_class(type, name, parent) {
39 m_physicsOptionType = G4AtlasPhysicsOption::Type::QS_ExtraParticles;
40
41 declareProperty("ExtraParticlesConfig", m_extraParticlesConfig);
42}
std::map< std::string, std::vector< double > > m_extraParticlesConfig
a set of parameters for extra particle building

◆ ~ExtraParticlesPhysicsTool()

ExtraParticlesPhysicsTool::~ExtraParticlesPhysicsTool ( )
virtual

Destructor.

Definition at line 47 of file ExtraParticlesPhysicsTool.cxx.

47{}

Member Function Documentation

◆ GetPhysicsOption()

auto ExtraParticlesPhysicsTool::GetPhysicsOption ( )
finaloverridevirtual

Implements.

Definition at line 60 of file ExtraParticlesPhysicsTool.cxx.

60 {
61 return std::make_unique<ExtraParticlesPhysicsTool::PhysicsConstructor>(
62 name(), this->msgLevel(), m_extraParticlesConfig);
63}

◆ initialize()

StatusCode ExtraParticlesPhysicsTool::initialize ( )
finaloverridevirtual

Initialize method.

Definition at line 52 of file ExtraParticlesPhysicsTool.cxx.

52 {
53 ATH_MSG_DEBUG("initializing...");
54 return StatusCode::SUCCESS;
55}
#define ATH_MSG_DEBUG(x)

Member Data Documentation

◆ m_extraParticlesConfig

std::map<std::string, std::vector<double> > ExtraParticlesPhysicsTool::m_extraParticlesConfig
protected

a set of parameters for extra particle building

Definition at line 57 of file ExtraParticlesPhysicsTool.h.


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