small mods for separate task
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowVector.h
CommitLineData
f1d945a1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3/* $Id$ */
4
ae733b3b 5#ifndef ALIFLOWVECTOR_H
6#define ALIFLOWVECTOR_H
f1d945a1 7
8#include "TVector2.h"
9
19f888a6 10//********************************************************************
11// AliFlowVector: *
12// Class to hold the flow vector and multiplicity for flow analysis. *
13// Author: A. Bilandzic (anteb@nikhef.nl) *
14//********************************************************************
f1d945a1 15
16class AliFlowVector: public TVector2 {
17 public:
18 AliFlowVector();
868536da 19 AliFlowVector(const AliFlowVector& aVector);
ae733b3b 20 AliFlowVector(const TVector2 &p, const Double_t m, const Double_t sumPow2w, const Double_t sumPow3w, const Double_t sumPow4w, const Double_t sumPow5w, const Double_t sumPow6w, const Double_t sumPow7w, const Double_t sumPow8w);
f1d945a1 21 virtual ~AliFlowVector();
868536da 22
19f888a6 23 AliFlowVector& operator=(const AliFlowVector& aVector);
868536da 24
ae733b3b 25 void SetMult(Double_t const mult) {this->fMult = mult;};
26 Double_t GetMult() const {return this->fMult;};
f1d945a1 27
ae733b3b 28 void SetSumOfWeightsToPower2(Double_t const p2w) {this->fSumOfWeightsToPower2 = p2w;};
29 Double_t GetSumOfWeightsToPower2() const {return this->fSumOfWeightsToPower2;};
30
31 void SetSumOfWeightsToPower3(Double_t const p3w) {this->fSumOfWeightsToPower3 = p3w;};
32 Double_t GetSumOfWeightsToPower3() const {return this->fSumOfWeightsToPower3;};
33
34 void SetSumOfWeightsToPower4(Double_t const p4w) {this->fSumOfWeightsToPower4 = p4w;};
35 Double_t GetSumOfWeightsToPower4() const {return this->fSumOfWeightsToPower4;};
36
37 void SetSumOfWeightsToPower5(Double_t const p5w) {this->fSumOfWeightsToPower5 = p5w;};
38 Double_t GetSumOfWeightsToPower5() const {return this->fSumOfWeightsToPower5;};
39
40 void SetSumOfWeightsToPower6(Double_t const p6w) {this->fSumOfWeightsToPower6 = p6w;};
41 Double_t GetSumOfWeightsToPower6() const {return this->fSumOfWeightsToPower6;};
42
43 void SetSumOfWeightsToPower7(Double_t const p7w) {this->fSumOfWeightsToPower7 = p7w;};
44 Double_t GetSumOfWeightsToPower7() const {return this->fSumOfWeightsToPower7;};
45
46 void SetSumOfWeightsToPower8(Double_t const p8w) {this->fSumOfWeightsToPower8 = p8w;};
47 Double_t GetSumOfWeightsToPower8() const {return this->fSumOfWeightsToPower8;};
48
f1d945a1 49 private:
ae733b3b 50 Double_t fMult; // multiplicity = sum of weights = w_1 + w_2 + ... + w_n
51 Double_t fSumOfWeightsToPower2; // pow(w_1,2) + pow(w_2,2) + ... + pow(w_n,2)
52 Double_t fSumOfWeightsToPower3; // pow(w_1,3) + pow(w_2,3) + ... + pow(w_n,4)
53 Double_t fSumOfWeightsToPower4; // pow(w_1,4) + pow(w_2,4) + ... + pow(w_n,4)
54 Double_t fSumOfWeightsToPower5; // pow(w_1,5) + pow(w_2,5) + ... + pow(w_n,5)
55 Double_t fSumOfWeightsToPower6; // pow(w_1,6) + pow(w_2,6) + ... + pow(w_n,6)
56 Double_t fSumOfWeightsToPower7; // pow(w_1,7) + pow(w_2,7) + ... + pow(w_n,7)
57 Double_t fSumOfWeightsToPower8; // pow(w_1,8) + pow(w_2,8) + ... + pow(w_n,8)
58
46bec39c 59 ClassDef(AliFlowVector, 1)
f1d945a1 60};
61#endif
62
19f888a6 63