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; }
33
34private:
35
36 G4String m_defName;
37 G4int m_verbose;
39 std::vector<G4String> m_listnames;
40};
41
42#endif
~AtlasPhysListFactory()=default
const std::vector< G4String > & AvailablePhysLists() const
std::vector< G4String > m_listnames
G4VModularPhysicsList * GetReferencePhysList(const G4String &)
void SetMultipleStepsInMSCTransport(G4bool val)
G4VModularPhysicsList * ReferencePhysList()
G4bool IsReferencePhysList(const G4String &)