5603c9f71fd59d77ee31b20c18b5246559018b30
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliFlowCandidateTrack.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 AliFlowCandidateTrack_H
6 #define AliFlowCandidateTrack_H
7
8 #include "AliFlowTrack.h"
9
10 ////////////////////////////////////////////////////
11 // AliFlowCandidateTrack:
12 // Class for reconstructed particles to be used in flow analysis
13 // Author: Carlos Perez (cperez@cern.ch)
14 ////////////////////////////////////////////////////
15
16 class AliFlowCandidateTrack : public AliFlowTrack {
17   protected:
18     Double_t fMass;      // mass
19     Int_t fNDaughters;   // number of daughters (5 max)
20     Int_t fDaughter[5]; // index of daughters
21     
22   public:
23     AliFlowCandidateTrack();
24     AliFlowCandidateTrack(const AliFlowCandidateTrack& );
25     AliFlowCandidateTrack& operator=(const AliFlowCandidateTrack& );
26     ~AliFlowCandidateTrack();
27
28     Double_t Mass(void)            { return fMass; }
29     void SetMass(Double_t value)   { fMass=value; }
30
31     Int_t GetNDaughters(void)      { return fNDaughters; }
32     void AddDaughter(Int_t value)  { if(fNDaughters<3) fDaughter[fNDaughters++]=value; }
33
34     ClassDef(AliFlowCandidateTrack, 1);
35 };
36
37 #endif