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 AliFlowCandidateTrack();
19 AliFlowCandidateTrack(const AliFlowCandidateTrack& );
20 AliFlowCandidateTrack& operator=(const AliFlowCandidateTrack& );
21 ~AliFlowCandidateTrack();
23 Double_t Mass(void) const { return fMass; }
24 void SetMass(Double_t value) { fMass=value; }
26 Int_t GetNDaughters(void) const { return fNDaughters; }
27 void AddDaughter(Int_t value) { if(fNDaughters<3) fDaughter[fNDaughters++]=value; }
28 Int_t GetIDDaughter(Int_t value) const { return fDaughter[value]; }
30 void SetDaughter(Int_t value, AliFlowTrack *track) { fTrack[value]=track; }
31 AliFlowTrack *GetDaughter(Int_t value) const { return fTrack[value]; }
34 Double_t fMass; // mass
35 Int_t fNDaughters; // number of daughters (5 max)
36 Int_t fDaughter[5]; // fID of daughter, points back to ESD track
37 AliFlowTrack *fTrack[5]; // pointer to daughter in FlowEvent
40 ClassDef(AliFlowCandidateTrack, 1);