ATLAS Offline Software
Classes | Public Member Functions | Private Attributes | List of all members
FastSimulationConstructorTool Class Referencefinal

#include "G4AtlasTools/FastSimulationConstructorTool.h"

Inheritance diagram for FastSimulationConstructorTool:
Collaboration diagram for FastSimulationConstructorTool:

Classes

class  PhysicsConstructor
 

Public Member Functions

 FastSimulationConstructorTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor. More...
 
virtual ~FastSimulationConstructorTool ()=default
 Destructor. More...
 
virtual StatusCode initialize () override
 Initialize method. More...
 
UPPhysicsConstructor GetPhysicsOption () override
 

Private Attributes

Gaudi::Property< bool > m_initializeFastSimulation {this, "InitializeFastSimulation", true, "Fast simulation initialization flag"}
 

Detailed Description

This tool creates a physics constructor to enable fast simulation for all particles.

Author
Julien Esseiva
Date
20-10-2025

Definition at line 21 of file FastSimulationConstructorTool.h.

Constructor & Destructor Documentation

◆ FastSimulationConstructorTool()

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

Standard constructor.

Definition at line 16 of file FastSimulationConstructorTool.cxx.

18  : base_class(type, name, parent) {
19  m_physicsOptionType = G4AtlasPhysicsOption::Type::UnknownType;
20 }

◆ ~FastSimulationConstructorTool()

virtual FastSimulationConstructorTool::~FastSimulationConstructorTool ( )
virtualdefault

Destructor.

Member Function Documentation

◆ GetPhysicsOption()

auto FastSimulationConstructorTool::GetPhysicsOption ( )
override

Definition at line 31 of file FastSimulationConstructorTool.cxx.

31  {
32  return std::make_unique<FastSimulationConstructorTool::PhysicsConstructor>(
33  m_initializeFastSimulation, name(), this->msgLevel());
34 }

◆ initialize()

StatusCode FastSimulationConstructorTool::initialize ( )
overridevirtual

Initialize method.

Definition at line 25 of file FastSimulationConstructorTool.cxx.

25  {
26  ATH_MSG_VERBOSE("FastSimulationConstructorTool initialize( )");
27 
28  return StatusCode::SUCCESS;
29 }

Member Data Documentation

◆ m_initializeFastSimulation

Gaudi::Property<bool> FastSimulationConstructorTool::m_initializeFastSimulation {this, "InitializeFastSimulation", true, "Fast simulation initialization flag"}
private

Definition at line 45 of file FastSimulationConstructorTool.h.


The documentation for this class was generated from the following files:
FastSimulationConstructorTool::m_initializeFastSimulation
Gaudi::Property< bool > m_initializeFastSimulation
Definition: FastSimulationConstructorTool.h:45
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
G4AtlasPhysicsOption::UnknownType
@ UnknownType
Definition: IPhysicsOptionTool.h:27