]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowCommon/AliFlowVector.h
make it browsable (partly)
[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
c076fda8 25 Bool_t IsFolder() const {return kTRUE;};
26
ae733b3b 27 void SetMult(Double_t const mult) {this->fMult = mult;};
28 Double_t GetMult() const {return this->fMult;};
f1d945a1 29
ae733b3b 30 void SetSumOfWeightsToPower2(Double_t const p2w) {this->fSumOfWeightsToPower2 = p2w;};
31 Double_t GetSumOfWeightsToPower2() const {return this->fSumOfWeightsToPower2;};
32
33 void SetSumOfWeightsToPower3(Double_t const p3w) {this->fSumOfWeightsToPower3 = p3w;};
34 Double_t GetSumOfWeightsToPower3() const {return this->fSumOfWeightsToPower3;};
35
36 void SetSumOfWeightsToPower4(Double_t const p4w) {this->fSumOfWeightsToPower4 = p4w;};
37 Double_t GetSumOfWeightsToPower4() const {return this->fSumOfWeightsToPower4;};
38
39 void SetSumOfWeightsToPower5(Double_t const p5w) {this->fSumOfWeightsToPower5 = p5w;};
40 Double_t GetSumOfWeightsToPower5() const {return this->fSumOfWeightsToPower5;};
41
42 void SetSumOfWeightsToPower6(Double_t const p6w) {this->fSumOfWeightsToPower6 = p6w;};
43 Double_t GetSumOfWeightsToPower6() const {return this->fSumOfWeightsToPower6;};
44
45 void SetSumOfWeightsToPower7(Double_t const p7w) {this->fSumOfWeightsToPower7 = p7w;};
46 Double_t GetSumOfWeightsToPower7() const {return this->fSumOfWeightsToPower7;};
47
48 void SetSumOfWeightsToPower8(Double_t const p8w) {this->fSumOfWeightsToPower8 = p8w;};
49 Double_t GetSumOfWeightsToPower8() const {return this->fSumOfWeightsToPower8;};
50
f1d945a1 51 private:
ae733b3b 52 Double_t fMult; // multiplicity = sum of weights = w_1 + w_2 + ... + w_n
53 Double_t fSumOfWeightsToPower2; // pow(w_1,2) + pow(w_2,2) + ... + pow(w_n,2)
54 Double_t fSumOfWeightsToPower3; // pow(w_1,3) + pow(w_2,3) + ... + pow(w_n,4)
55 Double_t fSumOfWeightsToPower4; // pow(w_1,4) + pow(w_2,4) + ... + pow(w_n,4)
56 Double_t fSumOfWeightsToPower5; // pow(w_1,5) + pow(w_2,5) + ... + pow(w_n,5)
57 Double_t fSumOfWeightsToPower6; // pow(w_1,6) + pow(w_2,6) + ... + pow(w_n,6)
58 Double_t fSumOfWeightsToPower7; // pow(w_1,7) + pow(w_2,7) + ... + pow(w_n,7)
59 Double_t fSumOfWeightsToPower8; // pow(w_1,8) + pow(w_2,8) + ... + pow(w_n,8)
60
46bec39c 61 ClassDef(AliFlowVector, 1)
f1d945a1 62};
63#endif
64
19f888a6 65