more for weigths
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowEventSimpleMaker.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 /* $Id$ */
5
6 #ifndef AliFlowEventSimpleMaker_H
7 #define AliFlowEventSimpleMaker_H
8
9 #include "AliFlowEventSimple.h"  //needed as include
10 //class AliFlowEventSimple; //does not compile
11
12 #include "../../CORRFW/AliCFManager.h"
13 //class AliCFManager;
14 #include "AliFlowTrackSimpleCuts.h"
15
16 class TTree;
17 class AliMCEvent;
18 class AliESDEvent;
19 class AliAODEvent;
20
21 // AliFlowEventSimpleMaker:
22 // Class to fill the AliFlowEventSimple with AliFlowTrackSimple objects
23 // author: N. van der Kolk (kolk@nikhef.nl)
24           
25 class AliFlowEventSimpleMaker {
26
27  public:
28
29   AliFlowEventSimpleMaker();             //constructor
30   virtual ~AliFlowEventSimpleMaker();    //destructor
31   
32   //TTree
33   AliFlowEventSimple* FillTracks(TTree* anInput, AliFlowTrackSimpleCuts* intCuts, AliFlowTrackSimpleCuts* diffCuts);   //use own cut class
34   //AliMCEvent
35   AliFlowEventSimple* FillTracks(AliMCEvent* anInput);   //use own cuts
36   AliFlowEventSimple* FillTracks(AliMCEvent* anInput, AliCFManager* intCFManager, AliCFManager* diffCFManager ); //use CF(2x)
37   //AliESDEvent
38   AliFlowEventSimple* FillTracks(AliESDEvent* anInput);   //use own cuts
39   AliFlowEventSimple* FillTracks(AliESDEvent* anInput,  AliCFManager* intCFManager, AliCFManager* diffCFManager); //use CF(2x)
40   //AliESDEvent & AliMCEvent
41   AliFlowEventSimple* FillTracks(AliESDEvent* anInput, AliMCEvent* anInputMc, Int_t anOption);  //use own cuts
42   AliFlowEventSimple* FillTracks(AliESDEvent* anInput, AliMCEvent* anInputMc, AliCFManager* intCFManager, AliCFManager* diffCFManager, Int_t anOption);  //use CF(2x)
43   // anOption = 0 : kine from ESD
44   // anOption = 1 : kine from MC
45   //AliAODEvent
46   AliFlowEventSimple* FillTracks(AliAODEvent* anInput); //use own cuts
47   AliFlowEventSimple* FillTracks(AliAODEvent* anInput, AliCFManager* intCFManager, AliCFManager* diffCFManager);  //use CF(2x)
48     
49  private:
50   AliFlowEventSimpleMaker(const AliFlowEventSimpleMaker& anAnalysis);            //copy constructor
51   AliFlowEventSimpleMaker& operator=(const AliFlowEventSimpleMaker& anAnalysis); //assignment operator
52        
53   ClassDef(AliFlowEventSimpleMaker,0)    // macro for rootcint
54 };
55  
56      
57 #endif
58