]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVGEN/AliGenGeVSimEventHeader.cxx
Adding the full covariance matrix for the ITS space-points
[u/mrichter/AliRoot.git] / EVGEN / AliGenGeVSimEventHeader.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /* $Id$ */
17
18
19 //
20 // Event header for GeVSim event generator
21 // support event plane and elliptic flow
22 // in next release will suport full differential 
23 // directed and elliptic flow
24 //
25 // Sylwester Radomski, GSI
26 // mail: S.Radomski@gsi
27 // 31 Oct, 2002
28 //
29 //
30
31 #include "AliGenGeVSimEventHeader.h"
32
33
34 ClassImp(AliGenGeVSimEventHeader)
35
36
37 ////////////////////////////////////////////////////////////////////////////////
38
39 AliGenGeVSimEventHeader::AliGenGeVSimEventHeader()
40   :AliGenEventHeader() {
41   //
42   // Default Constructor 
43   //
44
45   fEventPlane = 0;
46   fEllipticFlow = 0;
47 }
48
49
50 ////////////////////////////////////////////////////////////////////////////////
51
52 AliGenGeVSimEventHeader::AliGenGeVSimEventHeader(const char *name)
53   :AliGenEventHeader(name) {
54   //
55   // Standard constructor
56   //
57   
58   fEventPlane = 0;
59   fEllipticFlow = 0;
60 }
61
62 ////////////////////////////////////////////////////////////////////////////////
63
64 void AliGenGeVSimEventHeader::SetEventPlane(Float_t psi) {
65   //
66   // Psi in rad.
67   //
68
69   fEventPlane = psi;
70 }
71
72 ////////////////////////////////////////////////////////////////////////////////
73
74 void AliGenGeVSimEventHeader::SetEllipticFlow(Float_t v2) {
75   //
76   // Set elliptic flow
77   //
78
79   fEllipticFlow = v2;
80 }
81
82 ////////////////////////////////////////////////////////////////////////////////