ATLAS Offline Software
Simulation
G4Extensions
G4ExtraProcesses
src
G4EMProcessesPhysicsTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4_EXTRA_PROCESSESS__G4_EM_PROCESSES_PHYSICS_TOOL_H
6
#define G4_EXTRA_PROCESSESS__G4_EM_PROCESSES_PHYSICS_TOOL_H 1
7
8
// Include files
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
G4AtlasInterfaces/IPhysicsOptionTool.h
"
11
#include "
G4AtlasInterfaces/IPhysicsConstructor.h
"
12
21
class
G4EMProcessesPhysicsTool
22
:
public
extends<AthAlgTool, IPhysicsOptionTool> {
23
public
:
25
G4EMProcessesPhysicsTool
(
const
std::string &
type
,
const
std::string &
name
,
26
const
IInterface *
parent
);
27
28
virtual
~G4EMProcessesPhysicsTool
() {};
29
31
virtual
StatusCode
initialize
() override
final
;
32
34
virtual UPPhysicsConstructor
GetPhysicsOption
() override
final
;
35
36
class
PhysicsConstructor
: public
IPhysicsContructor
{
37
public
:
38
PhysicsConstructor
(
const
std::string &
name
,
MSG::Level
level
,
39
const
std::vector<int> &particleList)
40
:
IPhysicsContructor
(
name
,
level
),
m_particleList
(particleList) {}
41
42
virtual
void
ConstructParticle()
override
;
43
virtual
void
ConstructProcess()
override
;
44
45
private
:
46
std::vector<int>
m_particleList
;
47
};
48
49
protected
:
51
std::vector<int>
m_particleList
;
52
};
53
54
#endif // G4_EXTRA_PROCESSESS__G4_EM_PROCESSES_PHYSICS_TOOL_H
G4EMProcessesPhysicsTool::PhysicsConstructor
Definition:
G4EMProcessesPhysicsTool.h:36
G4EMProcessesPhysicsTool::~G4EMProcessesPhysicsTool
virtual ~G4EMProcessesPhysicsTool()
Definition:
G4EMProcessesPhysicsTool.h:28
G4EMProcessesPhysicsTool::initialize
virtual StatusCode initialize() override final
Destructor.
Definition:
G4EMProcessesPhysicsTool.cxx:39
G4EMProcessesPhysicsTool::G4EMProcessesPhysicsTool
G4EMProcessesPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition:
G4EMProcessesPhysicsTool.cxx:26
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
python.iconfTool.models.loaders.level
level
Definition:
loaders.py:20
TrigConf::MSGTC::Level
Level
Definition:
Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
IPhysicsOptionTool.h
G4EMProcessesPhysicsTool::PhysicsConstructor::m_particleList
std::vector< int > m_particleList
Definition:
G4EMProcessesPhysicsTool.h:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
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
columnar::final
CM final
Definition:
ColumnAccessor.h:106
G4EMProcessesPhysicsTool::PhysicsConstructor::PhysicsConstructor
PhysicsConstructor(const std::string &name, MSG::Level level, const std::vector< int > &particleList)
Definition:
G4EMProcessesPhysicsTool.h:38
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
G4EMProcessesPhysicsTool::GetPhysicsOption
virtual UPPhysicsConstructor GetPhysicsOption() override final
Implements.
Definition:
G4EMProcessesPhysicsTool.cxx:48
IPhysicsConstructor.h
IPhysicsContructor
Definition:
IPhysicsConstructor.h:41
G4EMProcessesPhysicsTool
Definition:
G4EMProcessesPhysicsTool.h:22
Generated on Fri Sep 5 2025 21:10:31 for ATLAS Offline Software by
1.8.18