]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowTasks/AliFlowEvent.h
added option to create flow event from SPD tracklets
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliFlowEvent.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 /* $Id$ */
4
5 /*****************************************************************
6   AliFlowEvent: Event container for flow analysis                  
7                                      
8   origin:   Mikolaj Krzewicki  (mikolaj.krzewicki@cern.ch)
9 *****************************************************************/
10
11 #ifndef ALIFLOWEVENT_H
12 #define ALIFLOWEVENT_H
13
14 class TTree;
15 class AliFlowTrackSimpleCuts;
16 class AliFlowTrack;
17 class AliCFManager;
18 class AliMCEvent;
19 class AliESDEvent;
20 class AliMCEvent;
21 class AliAODEvent;
22 class AliMultiplicity;
23
24 #include "AliFlowEventSimple.h"
25
26 class AliFlowEvent: public AliFlowEventSimple {
27 public:
28
29   enum KineSource { kNoKine, kESDkine, kMCkine };
30
31   AliFlowEvent();
32   AliFlowEvent(const AliFlowEvent& event);
33   AliFlowEvent& operator=(const AliFlowEvent& event);
34   virtual  ~AliFlowEvent() {}
35
36   AliFlowEvent( const AliMCEvent* anInput,
37                 const AliCFManager* rpCFManager=NULL,
38                 const AliCFManager* poiCFManager=NULL ); //use CF(2x)
39   AliFlowEvent( const AliESDEvent* anInput,  
40                 const AliCFManager* rpCFManager=NULL, 
41                 const AliCFManager* poiCFManager=NULL ); //use CF(2x)
42   AliFlowEvent( const AliAODEvent* anInput, 
43                 const AliCFManager* rpCFManager=NULL, 
44                 const AliCFManager* poiCFManager=NULL );  //use CF(2x)
45   AliFlowEvent( const AliESDEvent* anInput, 
46                 const AliMCEvent* anInputMc, 
47                 KineSource anOption=kNoKine,
48                 const AliCFManager* rpCFManager=NULL, 
49                 const AliCFManager* poiCFManager=NULL );  //use CF(2x)
50   AliFlowEvent( const AliESDEvent* anInput,
51                 const AliMultiplicity* anInputTracklets,
52                 const AliCFManager* poiCFManager );
53
54   void SetMCReactionPlaneAngle(const AliMCEvent* mcEvent);
55
56   AliFlowTrack* GetTrack( Int_t i );
57
58   ClassDef(AliFlowEvent,1)
59 };
60
61 #endif
62
63