ATLAS Offline Software
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 
12 {
13 public:
14 
16 
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 
33 private:
34 
35  G4String m_defName;
36  G4int m_verbose;
37  std::vector<G4String> m_listnames;
38 };
39 
40 #endif
AtlasPhysListFactory::m_verbose
G4int m_verbose
Definition: AtlasPhysListFactory.h:36
AtlasPhysListFactory::IsReferencePhysList
G4bool IsReferencePhysList(const G4String &)
AtlasPhysListFactory
Definition: AtlasPhysListFactory.h:12
AtlasPhysListFactory::~AtlasPhysListFactory
~AtlasPhysListFactory()=default
AtlasPhysListFactory::SetVerbose
void SetVerbose(G4int val)
Definition: AtlasPhysListFactory.h:31
AtlasPhysListFactory::ReferencePhysList
G4VModularPhysicsList * ReferencePhysList()
AtlasPhysListFactory::m_listnames
std::vector< G4String > m_listnames
Definition: AtlasPhysListFactory.h:37
AtlasPhysListFactory::GetReferencePhysList
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
AtlasPhysListFactory::m_defName
G4String m_defName
Definition: AtlasPhysListFactory.h:35
AtlasPhysListFactory::AtlasPhysListFactory
AtlasPhysListFactory()
AtlasPhysListFactory::AvailablePhysLists
const std::vector< G4String > & AvailablePhysLists() const