ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
AthAlgTool.h
IPhysicsConstructor.h
IPhysicsOptionTool.h
G4EMProcessesPhysicsTool::PhysicsConstructor::m_particleList
std::vector< int > m_particleList
Definition
G4EMProcessesPhysicsTool.h:46
G4EMProcessesPhysicsTool::PhysicsConstructor::PhysicsConstructor
PhysicsConstructor(const std::string &name, MSG::Level level, const std::vector< int > &particleList)
Definition
G4EMProcessesPhysicsTool.h:38
G4EMProcessesPhysicsTool::m_particleList
std::vector< int > m_particleList
list of particles to apply the em processes to
Definition
G4EMProcessesPhysicsTool.h:51
G4EMProcessesPhysicsTool::G4EMProcessesPhysicsTool
G4EMProcessesPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
G4EMProcessesPhysicsTool.cxx:26
G4EMProcessesPhysicsTool::initialize
virtual StatusCode initialize() override final
Destructor.
Definition
G4EMProcessesPhysicsTool.cxx:39
G4EMProcessesPhysicsTool::GetPhysicsOption
virtual UPPhysicsConstructor GetPhysicsOption() override final
Implements.
Definition
G4EMProcessesPhysicsTool.cxx:48
G4EMProcessesPhysicsTool::~G4EMProcessesPhysicsTool
virtual ~G4EMProcessesPhysicsTool()
Definition
G4EMProcessesPhysicsTool.h:28
IPhysicsContructor::IPhysicsContructor
IPhysicsContructor(const std::string &name, MSG::Level level)
Standard constructor.
Definition
IPhysicsConstructor.h:44
type
Generated on
for ATLAS Offline Software by
1.17.0