]>
Commit | Line | Data |
---|---|---|
f1d945a1 | 1 | /************************************************************************* |
2 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | #define AliFlowVector_cxx | |
17 | ||
18 | #include "AliFlowVector.h" | |
19 | ||
19f888a6 | 20 | //******************************************************************** |
21 | // AliFlowVector: * | |
22 | // Class to hold the flow vector and multiplicity for flow analysis. * | |
23 | // Author: A. Bilandzic (anteb@nikhef.nl) * | |
24 | //******************************************************************** | |
f1d945a1 | 25 | |
26 | ClassImp(AliFlowVector) | |
27 | ||
28 | //________________________________________________________________________ | |
29 | ||
30 | AliFlowVector::AliFlowVector():fMult(0){} | |
868536da | 31 | |
32 | AliFlowVector::AliFlowVector(const AliFlowVector& aVector):TVector2(aVector), | |
33 | fMult(aVector.fMult){} | |
f1d945a1 | 34 | AliFlowVector::AliFlowVector(const TVector2 &v, Double_t m):TVector2(v),fMult(m){} |
35 | AliFlowVector::~AliFlowVector(){} | |
19f888a6 | 36 | AliFlowVector& AliFlowVector::operator=(const AliFlowVector& aVector) |
868536da | 37 | { |
19f888a6 | 38 | //assignement operator |
39 | fX=aVector.X(); | |
40 | fY=aVector.Y(); | |
41 | fMult=aVector.GetMult(); | |
42 | return *this; | |
868536da | 43 | } |
19f888a6 | 44 | |
45 |