Posible memory leak fixed. Changes AliITSpList destructor. Not clear if
[u/mrichter/AliRoot.git] / EVGEN / AliGeVSimParticle.h
CommitLineData
7816887f 1#ifndef ALIGEVSIMPARTICLE_H
2#define ALIGEVSIMPARTICLE_H
3
4#include "TObject.h"
5
6
7class AliGeVSimParticle : public TObject {
8
9
10 Int_t fPDG; // Particle type code
11
12 Float_t fN; // Multiplicity (subject to scalling)
13 Float_t fT; // Slope Parameter (subject to scalling)
14 Float_t fSigmaY; // Rapidity Width
15 Float_t fExpansion; // Expansion Velocity in c units (subject to scalling)
16
17 Float_t fV1; // Direct Flow coefficient (subject to scalling)
18 Float_t fV2; // Elliptical flow coefficient (subject to scalling)
19
20 public:
21
22 ////////////////////////////////////////////////////////////////////////////
23
24 AliGeVSimParticle() {}
25 AliGeVSimParticle(Int_t pdg);
26 AliGeVSimParticle(Int_t pdg, Int_t n,
27 Float_t T, Float_t dY = 1., Float_t exp=0.);
28
29 ~AliGeVSimParticle() {}
30
31 ////////////////////////////////////////////////////////////////////////////
32
33 Int_t GetPdgCode() {return fPDG;}
34
35
36 Float_t GetMultiplicity() {return fN;}
37 Float_t GetTemperature() {return fT;}
38 Float_t GetSigmaY() {return fSigmaY;}
39 Float_t GetExpansionVelocity() {return fExpansion;}
40
41 void SetMultiplicity(Float_t n) {fN = n;}
42 void SetExpansionVelocity(Float_t vel) {fExpansion = vel;}
43
44 // Flow
45
46 void SetDirectFlow(Float_t v1) {fV1 = v1;}
47 void SetEllipticalFlow(Float_t v2) {fV2 = v2;}
48
49 Float_t GetDirectFlow() {return fV1;}
50 Float_t GetEllipticalFlow() {return fV2;}
51
52
53 ////////////////////////////////////////////////////////////////////////////
54
55 ClassDef(AliGeVSimParticle, 1)
56
57};
58
59
60#endif