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