]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliFlowCommon/AliFlowVector.h
b932b3380d02bbefbf39cfe62094eae7734674c1
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowVector.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 #ifndef AliFlowVector_H
6 #define AliFlowVector_H
7
8 #include "TVector2.h"
9
10 //********************************************************************
11 // AliFlowVector:                                                    *
12 // Class to hold the flow vector and multiplicity for flow analysis. *
13 // Author: A. Bilandzic (anteb@nikhef.nl)                            *
14 //********************************************************************
15
16 class AliFlowVector: public TVector2 {
17  public:
18   AliFlowVector();
19   AliFlowVector(const AliFlowVector& aVector);
20   AliFlowVector(const TVector2 &p, Double_t m);
21   virtual ~AliFlowVector();
22
23   AliFlowVector& operator=(const AliFlowVector& aVector);
24
25   void SetMult(Double_t mult)       {this->fMult = mult;} ;
26   Double_t GetMult() const          {return this -> fMult;} ;
27   
28  private:
29   Double_t fMult;   //multiplicity
30         
31   ClassDef(AliFlowVector, 0) 
32 };
33 #endif
34
35