]>
Commit | Line | Data |
---|---|---|
676fb573 | 1 | // $Id$ |
2 | // Category: physics | |
3 | // | |
4 | // See the class description in the header file. | |
5 | ||
6 | #include "AliEmptyPhysicsList.h" | |
7 | #include "AliGlobals.h" | |
8 | ||
9 | #include <G4Geantino.hh> | |
10 | #include <G4ChargedGeantino.hh> | |
11 | ||
12 | #include <iomanip.h> | |
13 | ||
14 | AliEmptyPhysicsList::AliEmptyPhysicsList() { | |
15 | // | |
16 | defaultCutValue = AliGlobals::DefaultCut(); | |
17 | SetVerboseLevel(1); | |
18 | } | |
19 | ||
20 | AliEmptyPhysicsList::~AliEmptyPhysicsList() { | |
21 | // | |
22 | } | |
23 | ||
24 | // public methods | |
25 | ||
26 | void AliEmptyPhysicsList::ConstructParticle() | |
27 | { | |
28 | // In this method, static member functions should be called | |
29 | // for all particles which you want to use. | |
30 | // This ensures that objects of these particle types will be | |
31 | // created in the program. | |
32 | // --- | |
33 | ||
34 | ConstructBosons(); | |
35 | ConstructLeptons(); | |
36 | ConstructMesons(); | |
37 | ConstructBarions(); | |
38 | } | |
39 | ||
40 | void AliEmptyPhysicsList::ConstructBosons() | |
41 | { | |
42 | // Constructs pseudo-particles only. | |
43 | // --- | |
44 | ||
45 | G4Geantino::GeantinoDefinition(); | |
46 | G4ChargedGeantino::ChargedGeantinoDefinition(); | |
47 | } | |
48 | ||
49 | void AliEmptyPhysicsList::ConstructLeptons() | |
50 | { | |
51 | // no leptons | |
52 | } | |
53 | ||
54 | void AliEmptyPhysicsList::ConstructMesons() | |
55 | { | |
56 | // no mesons | |
57 | } | |
58 | ||
59 | void AliEmptyPhysicsList::ConstructBarions() | |
60 | { | |
61 | // no barions | |
62 | } | |
63 | ||
64 | void AliEmptyPhysicsList::ConstructProcess() | |
65 | { | |
66 | // Constructs physics processes. | |
67 | // --- | |
68 | ||
69 | AddTransportation(); | |
70 | ConstructEM(); | |
71 | ConstructGeneral(); | |
72 | } | |
73 | ||
74 | void AliEmptyPhysicsList::ConstructEM() | |
75 | { | |
76 | // no EM | |
77 | } | |
78 | ||
79 | void AliEmptyPhysicsList::ConstructGeneral() | |
80 | { | |
81 | // no Decay Process | |
82 | } | |
83 | ||
84 | void AliEmptyPhysicsList::SetCuts() | |
85 | { | |
86 | // Sets the default range cut values for all defined particles. | |
87 | // --- | |
88 | ||
89 | SetCutsWithDefault(); | |
90 | } | |
91 |