ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
22 : public extends<AthAlgTool, IPhysicsOptionTool> {
23 public:
25 G4EMProcessesPhysicsTool(const std::string &type, const std::string &name,
26 const IInterface *parent);
27
29
31 virtual StatusCode initialize() override final;
32
34 virtual UPPhysicsConstructor GetPhysicsOption() override final;
35
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
PhysicsConstructor(const std::string &name, MSG::Level level, const std::vector< int > &particleList)
std::vector< int > m_particleList
list of particles to apply the em processes to
G4EMProcessesPhysicsTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual StatusCode initialize() override final
Destructor.
virtual UPPhysicsConstructor GetPhysicsOption() override final
Implements.
IPhysicsContructor(const std::string &name, MSG::Level level)
Standard constructor.