]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenGeVSimEventHeader.cxx
Log replaced by Id
[u/mrichter/AliRoot.git] / EVGEN / AliGenGeVSimEventHeader.cxx
1 //
2 // Event header for GeVSim event generator
3 // support event plane and elliptic flow
4 // in next release will suport full differential 
5 // directed and elliptic flow
6 //
7 // Sylwester Radomski, GSI
8 // mail: S.Radomski@gsi
9 // 31 Oct, 2002
10 //
11 //
12
13 #include "AliGenGeVSimEventHeader.h"
14
15
16 ClassImp(AliGenGeVSimEventHeader);
17
18
19 ////////////////////////////////////////////////////////////////////////////////
20
21 AliGenGeVSimEventHeader::AliGenGeVSimEventHeader()
22   :AliGenEventHeader() {
23   //
24   // Default Constructor 
25   //
26
27   fEventPlane = 0;
28   fEllipticFlow = 0;
29 }
30
31
32 ////////////////////////////////////////////////////////////////////////////////
33
34 AliGenGeVSimEventHeader::AliGenGeVSimEventHeader(const char *name)
35   :AliGenEventHeader(name) {
36   //
37   // Standard constructor
38   //
39   
40   fEventPlane = 0;
41   fEllipticFlow = 0;
42 }
43
44 ////////////////////////////////////////////////////////////////////////////////
45
46 void AliGenGeVSimEventHeader::SetEventPlane(Float_t psi) {
47   //
48   // Psi in rad.
49   //
50
51   fEventPlane = psi;
52 }
53
54 ////////////////////////////////////////////////////////////////////////////////
55
56 void AliGenGeVSimEventHeader::SetEllipticFlow(Float_t v2) {
57   //
58   // Set elliptic flow
59   //
60
61   fEllipticFlow = v2;
62 }
63
64 ////////////////////////////////////////////////////////////////////////////////