fSecondRunFile(0),
fFirstRunFileName("noname.ESD"),
fSecondRunFileName("noname.ESD"),
- fQ(0),
fWR(0),
fPsi(0),
fSecondReDtheta(0),
#include "AliFlowVector.h"
-//
-// AliFlowVector:
-// Class to hold the flowvector and corresponding multiplicity for flow analysis.
-// Author: A. Bilandzic (anteb@nikhef.nl)
-//
+//********************************************************************
+// AliFlowVector: *
+// Class to hold the flow vector and multiplicity for flow analysis. *
+// Author: A. Bilandzic (anteb@nikhef.nl) *
+//********************************************************************
ClassImp(AliFlowVector)
fMult(aVector.fMult){}
AliFlowVector::AliFlowVector(const TVector2 &v, Double_t m):TVector2(v),fMult(m){}
AliFlowVector::~AliFlowVector(){}
-AliFlowVector& AliFlowVector::operator=(const AliFlowVector&)
+AliFlowVector& AliFlowVector::operator=(const AliFlowVector& aVector)
{
- return *this;
+ //assignement operator
+ fX=aVector.X();
+ fY=aVector.Y();
+ fMult=aVector.GetMult();
+ return *this;
}
+
+
#include "TVector2.h"
-
-// AliFlowVector:
-// Class to hold the flowvector and corresponding multiplicity for flow analysis.
-// Author: A. Bilandzic (anteb@nikhef.nl)
+//********************************************************************
+// AliFlowVector: *
+// Class to hold the flow vector and multiplicity for flow analysis. *
+// Author: A. Bilandzic (anteb@nikhef.nl) *
+//********************************************************************
class AliFlowVector: public TVector2 {
public:
AliFlowVector(const TVector2 &p, Double_t m);
virtual ~AliFlowVector();
- AliFlowVector& operator=(const AliFlowVector&);
+ AliFlowVector& operator=(const AliFlowVector& aVector);
void SetMult(Double_t mult) {this->fMult = mult;} ;
Double_t GetMult() const {return this -> fMult;} ;
};
#endif
+