2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
3 * See cxx source for full Copyright notice
7 /**********************************
8 * create an event and perform *
9 * flow analysis 'on the fly' *
11 * authors: Raimond Snellings *
12 * (snelling@nikhef.nl) *
15 *********************************/
17 #ifndef ALIFLOWEVENTSIMPLEMAKERONTHEFLY_H
18 #define ALIFLOWEVENTSIMPLEMAKERONTHEFLY_H
23 #include "AliFlowEventSimple.h" //needed as include
25 class AliFlowEventSimpleMakerOnTheFly {
29 AliFlowEventSimpleMakerOnTheFly(UInt_t); // constructor
30 virtual ~AliFlowEventSimpleMakerOnTheFly(); // destructor
32 AliFlowEventSimple* CreateEventOnTheFly(); // create an event on the fly
35 // *****************************
36 // **** SETTERS AND GETTERS ****
37 // *****************************
38 //................................................................................................
39 // setters and getters for global parameters:
40 void SetMultiplicityOfRP(Int_t multRP) {this->fMultiplicityOfRP = multRP;}
41 Int_t GetMultiplicityOfRP() const {return this->fMultiplicityOfRP;}
43 void SetMultiplicitySpreadOfRP(Double_t multSpreadRP) {this->fMultiplicitySpreadOfRP = multSpreadRP;}
44 Double_t GetMultiplicitySpreadOfRP() const {return this->fMultiplicitySpreadOfRP;}
46 void SetV1RP(Double_t dV1RP) {this->fV1RP = dV1RP;}
47 Double_t GetV1RP() const {return this->fV1RP;}
49 void SetV1SpreadRP(Double_t dV1SpreadRP) {this->fV1SpreadRP = dV1SpreadRP;}
50 Double_t GetV1SpreadRP() const {return this->fV1SpreadRP;}
52 void SetV2RP(Double_t dV2RP) {this->fV2RP = dV2RP;}
53 Double_t GetV2RP() const {return this->fV2RP;}
55 void SetV2SpreadRP(Double_t dV2SpreadRP) {this->fV2SpreadRP = dV2SpreadRP;}
56 Double_t GetV2SpreadRP() const {return this->fV2SpreadRP;}
57 //................................................................................................
61 AliFlowEventSimpleMakerOnTheFly(const AliFlowEventSimpleMakerOnTheFly& anAnalysis); // copy constructor
62 AliFlowEventSimpleMakerOnTheFly& operator=(const AliFlowEventSimpleMakerOnTheFly& anAnalysis); // assignment operator
64 //................................................................................................
66 Int_t fMultiplicityOfRP; // multiplicity of RPs
67 Double_t fMultiplicitySpreadOfRP; // multiplicity spread of RPs
68 Double_t fV1RP; // directed flow of RPs
69 Double_t fV1SpreadRP; // directed flow spread of RPs
70 Double_t fV2RP; // elliptic flow of RPs
71 Double_t fV2SpreadRP; // elliptic flow spread of RPs
72 //................................................................................................
74 //................................................................................................
75 // equations for distributions:
76 TF1 *fPtSpectra; // transverse momentum distribution
77 TF1 *fPhiDistribution; // azimuthal distribution
78 //................................................................................................
80 TRandom3* fMyTRandom3; // our random generator
83 ClassDef(AliFlowEventSimpleMakerOnTheFly,0) // macro for rootcint