]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliGenGeVSimEventHeader.cxx
changing msg to aliinfo
[u/mrichter/AliRoot.git] / STEER / 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: AliGenGeVSimEventHeader.cxx 14845 2006-08-15 12:25:37Z morsch $ */
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    fEventPlane(0),
42    fEllipticFlow(0)
43 {
44   //
45   // Default Constructor 
46   //
47 }
48
49
50 ////////////////////////////////////////////////////////////////////////////////
51
52 AliGenGeVSimEventHeader::AliGenGeVSimEventHeader(const char *name)
53   :AliGenEventHeader(name),
54    fEventPlane(0),
55    fEllipticFlow(0)
56  {
57   //
58   // Standard constructor
59   //
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 ////////////////////////////////////////////////////////////////////////////////