]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/AliEmptyPhysicsList.cxx
adapted to new design, has to be completed
[u/mrichter/AliRoot.git] / AliGeant4 / AliEmptyPhysicsList.cxx
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 AliEmptyPhysicsList::AliEmptyPhysicsList() {
13 //
14   defaultCutValue = AliGlobals::DefaultCut();
15   SetVerboseLevel(1);
16 }
17
18 AliEmptyPhysicsList::~AliEmptyPhysicsList() {
19 //
20 }
21
22 // public methods
23
24 void AliEmptyPhysicsList::ConstructParticle()
25 {
26 // In this method, static member functions should be called
27 // for all particles which you want to use.
28 // This ensures that objects of these particle types will be
29 // created in the program. 
30 // ---
31
32   ConstructBosons();
33   ConstructLeptons();
34   ConstructMesons();
35   ConstructBarions();
36 }
37
38 void AliEmptyPhysicsList::ConstructBosons()
39 {
40 // Constructs pseudo-particles only.
41 // ---
42
43   G4Geantino::GeantinoDefinition();
44   G4ChargedGeantino::ChargedGeantinoDefinition();
45 }
46
47 void AliEmptyPhysicsList::ConstructLeptons()
48 {
49   // no leptons
50 }
51
52 void AliEmptyPhysicsList::ConstructMesons()
53 {
54  //  no mesons
55 }
56
57 void AliEmptyPhysicsList::ConstructBarions()
58 {
59  // no barions
60 }
61
62 void AliEmptyPhysicsList::ConstructProcess()
63 {
64 // Constructs physics processes.
65 // ---
66
67   AddTransportation();
68   ConstructEM();
69   ConstructGeneral();
70 }
71
72 void AliEmptyPhysicsList::ConstructEM()
73 {
74   // no EM
75 }
76
77 void AliEmptyPhysicsList::ConstructGeneral()
78 {
79   // no Decay Process
80 }
81
82 void AliEmptyPhysicsList::SetCuts()
83 {
84 // Sets the default range cut values for all defined particles.
85 // ---
86
87   SetCutsWithDefault();
88 }
89