1 |
nikolas |
1.1 |
#ifndef PAMG4_RANGE_CUTS_PHYSICS_LIST_H |
2 |
|
|
#define PAMG4_RANGE_CUTS_PHYSICS_LIST_H |
3 |
|
|
|
4 |
|
|
|
5 |
|
|
#include "TG4Verbose.h" |
6 |
|
|
|
7 |
|
|
#include <G4VModularPhysicsList.hh> |
8 |
|
|
#include "TG4Globals.h" |
9 |
|
|
|
10 |
|
|
|
11 |
|
|
class PamG4RangeCutsPhysicsList: public G4VModularPhysicsList, |
12 |
|
|
public TG4Verbose |
13 |
|
|
{ |
14 |
|
|
public: |
15 |
|
|
PamG4RangeCutsPhysicsList(); |
16 |
|
|
virtual ~PamG4RangeCutsPhysicsList(); |
17 |
|
|
|
18 |
|
|
// static methods |
19 |
|
|
static PamG4RangeCutsPhysicsList* Instance(); |
20 |
|
|
|
21 |
|
|
// methods |
22 |
|
|
virtual void ConstructProcess(); |
23 |
|
|
/// No cuts are set here |
24 |
|
|
virtual void SetCuts() {} |
25 |
|
|
|
26 |
|
|
virtual void Configure(); |
27 |
|
|
|
28 |
|
|
virtual G4int VerboseLevel() const; |
29 |
|
|
virtual void VerboseLevel(G4int level); |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
private: |
33 |
|
|
|
34 |
|
|
// static data members |
35 |
|
|
static PamG4RangeCutsPhysicsList* fgInstance; ///< this instance |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
}; |
39 |
|
|
// inline methods |
40 |
|
|
|
41 |
|
|
inline PamG4RangeCutsPhysicsList* PamG4RangeCutsPhysicsList::Instance() { |
42 |
|
|
/// Return this instance |
43 |
|
|
return fgInstance; |
44 |
|
|
} |
45 |
|
|
|
46 |
|
|
#endif //PAMG4_RANGE_CUTS_PHYSICS_LIST_H |
47 |
|
|
|