ATLAS Offline Software
Loading...
Searching...
No Matches
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{
13public:
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
33private:
34
35 G4String m_defName;
36 G4int m_verbose;
37 std::vector<G4String> m_listnames;
38};
39
40#endif
~AtlasPhysListFactory()=default
const std::vector< G4String > & AvailablePhysLists() const
std::vector< G4String > m_listnames
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
G4VModularPhysicsList * ReferencePhysList()
G4bool IsReferencePhysList(const G4String &)