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;}
42 //................................................................................................
44 //................................................................................................
45 // setters and getters for event-by-event parameters:
46 void SetMultiplicitySpreadOfRP(Double_t multSpreadRP) {this->fMultiplicitySpreadOfRP = multSpreadRP;}
47 Double_t GetMultiplicitySpreadOfRP() const {return this->fMultiplicitySpreadOfRP;}
48 //................................................................................................
52 AliFlowEventSimpleMakerOnTheFly(const AliFlowEventSimpleMakerOnTheFly& anAnalysis); // copy constructor
53 AliFlowEventSimpleMakerOnTheFly& operator=(const AliFlowEventSimpleMakerOnTheFly& anAnalysis); // assignment operator
55 //................................................................................................
57 Int_t fMultiplicityOfRP; // multiplicity of RPs
58 //................................................................................................
60 //................................................................................................
61 // event-by-event parameters:
62 Double_t fMultiplicitySpreadOfRP; // multiplicity spread of RPs
63 //................................................................................................
65 //................................................................................................
66 // equations for distributions:
67 TF1 *fPtFormula; // transverse momentum distribution
68 TF1 *fPhiFormula; // azimuthal distribution
70 //................................................................................................
72 TRandom3* fMyTRandom3; // our random generator
75 ClassDef(AliFlowEventSimpleMakerOnTheFly,0) // macro for rootcint