1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 #ifndef AliFlowCandidateTrack_H
6 #define AliFlowCandidateTrack_H
8 #include "AliFlowTrack.h"
10 ////////////////////////////////////////////////////
11 // AliFlowCandidateTrack:
12 // Class for reconstructed particles to be used in flow analysis
13 // Author: Carlos Perez (cperez@cern.ch)
14 ////////////////////////////////////////////////////
16 class AliFlowCandidateTrack : public AliFlowTrack {
18 Double_t fMass; // mass
19 Int_t fNDaughters; // number of daughters (5 max)
20 Int_t fDaughter[5]; // index of daughters
23 AliFlowCandidateTrack();
24 AliFlowCandidateTrack(const AliFlowCandidateTrack& );
25 AliFlowCandidateTrack& operator=(const AliFlowCandidateTrack& );
26 ~AliFlowCandidateTrack();
28 Double_t Mass(void) { return fMass; }
29 void SetMass(Double_t value) { fMass=value; }
31 Int_t GetNDaughters(void) { return fNDaughters; }
32 void AddDaughter(Int_t value) { if(fNDaughters<3) fDaughter[fNDaughters++]=value; }
34 ClassDef(AliFlowCandidateTrack, 1);