]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVGEN/AliGenGeVSimEventHeader.cxx
By default all events go into one run-loader's file. Allows to remove the correspondi...
[u/mrichter/AliRoot.git] / EVGEN / AliGenGeVSimEventHeader.cxx
CommitLineData
ac3faee4 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
daa61231 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
925e6570 34ClassImp(AliGenGeVSimEventHeader)
daa61231 35
36
37////////////////////////////////////////////////////////////////////////////////
38
39AliGenGeVSimEventHeader::AliGenGeVSimEventHeader()
1c56e311 40 :AliGenEventHeader(),
41 fEventPlane(0),
42 fEllipticFlow(0)
43{
daa61231 44 //
45 // Default Constructor
46 //
daa61231 47}
48
49
50////////////////////////////////////////////////////////////////////////////////
51
52AliGenGeVSimEventHeader::AliGenGeVSimEventHeader(const char *name)
1c56e311 53 :AliGenEventHeader(name),
54 fEventPlane(0),
55 fEllipticFlow(0)
56 {
daa61231 57 //
58 // Standard constructor
59 //
daa61231 60}
61
62////////////////////////////////////////////////////////////////////////////////
63
64void AliGenGeVSimEventHeader::SetEventPlane(Float_t psi) {
65 //
66 // Psi in rad.
67 //
68
69 fEventPlane = psi;
70}
71
72////////////////////////////////////////////////////////////////////////////////
73
74void AliGenGeVSimEventHeader::SetEllipticFlow(Float_t v2) {
75 //
76 // Set elliptic flow
77 //
78
79 fEllipticFlow = v2;
80}
81
82////////////////////////////////////////////////////////////////////////////////