ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Utilities
G4PhysicsLists
G4PhysicsLists
AtlasPhysListFactory.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AtlasPhysListFactory_h
6
#define AtlasPhysListFactory_h 1
7
8
#include "G4VModularPhysicsList.hh"
9
#include "globals.hh"
10
11
class
AtlasPhysListFactory
12
{
13
public
:
14
15
AtlasPhysListFactory
();
16
17
~AtlasPhysListFactory
()=
default
;
18
19
G4VModularPhysicsList*
GetReferencePhysList
(
const
G4String&);
20
// instantiate PhysList by name
21
22
G4VModularPhysicsList*
ReferencePhysList
();
23
// instantiate PhysList by environment variable "PHYSLIST"
24
25
G4bool
IsReferencePhysList
(
const
G4String&);
26
// check if the name is in the list of PhysLists names
27
28
const
std::vector<G4String>&
AvailablePhysLists
()
const
;
29
// list of avalable base Phys Lists
30
31
inline
void
SetVerbose
(G4int val) {
m_verbose
= val; }
32
inline
void
SetMultipleStepsInMSCTransport
(G4bool val) {
m_multipleStepsInMSCTransport
= val; }
33
34
private
:
35
36
G4String
m_defName
;
37
G4int
m_verbose
;
38
G4bool
m_multipleStepsInMSCTransport
{
false
};
39
std::vector<G4String>
m_listnames
;
40
};
41
42
#endif
AtlasPhysListFactory::~AtlasPhysListFactory
~AtlasPhysListFactory()=default
AtlasPhysListFactory::AvailablePhysLists
const std::vector< G4String > & AvailablePhysLists() const
AtlasPhysListFactory::m_verbose
G4int m_verbose
Definition
AtlasPhysListFactory.h:37
AtlasPhysListFactory::m_listnames
std::vector< G4String > m_listnames
Definition
AtlasPhysListFactory.h:39
AtlasPhysListFactory::AtlasPhysListFactory
AtlasPhysListFactory()
AtlasPhysListFactory::GetReferencePhysList
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
AtlasPhysListFactory::m_defName
G4String m_defName
Definition
AtlasPhysListFactory.h:36
AtlasPhysListFactory::SetMultipleStepsInMSCTransport
void SetMultipleStepsInMSCTransport(G4bool val)
Definition
AtlasPhysListFactory.h:32
AtlasPhysListFactory::ReferencePhysList
G4VModularPhysicsList * ReferencePhysList()
AtlasPhysListFactory::SetVerbose
void SetVerbose(G4int val)
Definition
AtlasPhysListFactory.h:31
AtlasPhysListFactory::IsReferencePhysList
G4bool IsReferencePhysList(const G4String &)
AtlasPhysListFactory::m_multipleStepsInMSCTransport
G4bool m_multipleStepsInMSCTransport
Definition
AtlasPhysListFactory.h:38
Generated on
for ATLAS Offline Software by
1.17.0