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