]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/AliEmptyPhysicsList.cxx
added comment lines separating methods
[u/mrichter/AliRoot.git] / AliGeant4 / AliEmptyPhysicsList.cxx
CommitLineData
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
78ca1e9c 12//_____________________________________________________________________________
676fb573 13AliEmptyPhysicsList::AliEmptyPhysicsList() {
14//
15 defaultCutValue = AliGlobals::DefaultCut();
16 SetVerboseLevel(1);
17}
18
78ca1e9c 19//_____________________________________________________________________________
676fb573 20AliEmptyPhysicsList::~AliEmptyPhysicsList() {
21//
22}
23
24// public methods
25
78ca1e9c 26//_____________________________________________________________________________
676fb573 27void 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
78ca1e9c 41//_____________________________________________________________________________
676fb573 42void AliEmptyPhysicsList::ConstructBosons()
43{
44// Constructs pseudo-particles only.
45// ---
46
47 G4Geantino::GeantinoDefinition();
48 G4ChargedGeantino::ChargedGeantinoDefinition();
49}
50
78ca1e9c 51//_____________________________________________________________________________
676fb573 52void AliEmptyPhysicsList::ConstructLeptons()
53{
54 // no leptons
55}
56
78ca1e9c 57//_____________________________________________________________________________
676fb573 58void AliEmptyPhysicsList::ConstructMesons()
59{
60 // no mesons
61}
62
78ca1e9c 63//_____________________________________________________________________________
676fb573 64void AliEmptyPhysicsList::ConstructBarions()
65{
66 // no barions
67}
68
78ca1e9c 69//_____________________________________________________________________________
676fb573 70void AliEmptyPhysicsList::ConstructProcess()
71{
72// Constructs physics processes.
73// ---
74
75 AddTransportation();
76 ConstructEM();
77 ConstructGeneral();
78}
79
78ca1e9c 80//_____________________________________________________________________________
676fb573 81void AliEmptyPhysicsList::ConstructEM()
82{
83 // no EM
84}
85
78ca1e9c 86//_____________________________________________________________________________
676fb573 87void AliEmptyPhysicsList::ConstructGeneral()
88{
89 // no Decay Process
90}
91
78ca1e9c 92//_____________________________________________________________________________
676fb573 93void AliEmptyPhysicsList::SetCuts()
94{
95// Sets the default range cut values for all defined particles.
96// ---
97
98 SetCutsWithDefault();
99}
100