]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/FlowEventMakers/FlowEventSimpleMaker.h
modifications to also run standalone in root
[u/mrichter/AliRoot.git] / PWG2 / FLOW / FlowEventMakers / FlowEventSimpleMaker.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 FlowEventSimpleMaker_H
7 #define FlowEventSimpleMaker_H
8
9 #include "AliFlowCommon/AliFlowEventSimple.h"  
10 #include "AliFlowCommon/AliFlowTrackSimpleCuts.h"
11
12 class TTree;
13
14 // FlowEventSimpleMaker:
15 // Class to fill the AliFlowEventSimple with AliFlowTrackSimple objects
16 // This works also outside the AliRoot Framework
17           
18 class FlowEventSimpleMaker {
19
20  public:
21
22   FlowEventSimpleMaker();             //constructor
23   virtual  ~FlowEventSimpleMaker();   //destructor
24   
25   //TTree
26   AliFlowEventSimple* FillTracks(TTree* anInput, AliFlowTrackSimpleCuts* RPCuts, AliFlowTrackSimpleCuts* POICuts);   //use own cut class
27     
28  private:
29   FlowEventSimpleMaker(const FlowEventSimpleMaker& anAnalysis);            //copy constructor
30   FlowEventSimpleMaker& operator=(const FlowEventSimpleMaker& anAnalysis); //assignment operator
31   Double_t  fMCReactionPlaneAngle;   // the angle of the reaction plane from the MC truth
32   Int_t     fCount;   // counter for the number of events processed
33          
34   ClassDef(FlowEventSimpleMaker,0)    // macro for rootcint
35 };
36       
37 #endif
38