AliPhysics  8b695ca (8b695ca)
AliFlowCandidateTrack.h
Go to the documentation of this file.
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 
11 // AliFlowCandidateTrack:
12 // Class for reconstructed particles to be used in flow analysis
13 // Author: Carlos Perez (cperez@cern.ch)
15 
17  public:
22 
23  void ClearMe(void);
24  virtual void Clear(Option_t* /*o=""*/) {ClearMe();}
25 
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]; }
29 
30  void SetDaughter(Int_t value, AliFlowTrackSimple *track) { fTrack[value]=track; }
31  AliFlowTrackSimple *GetDaughter(Int_t value) const { return fTrack[value]; }
32 
33  protected:
34  Int_t fNDaughters; // number of daughters (5 max)
35  Int_t fDaughter[5]; // fID of daughter, points back to ESD track
37 
38  ClassDef(AliFlowCandidateTrack, 2);
39 };
40 
41 #endif
AliFlowTrackSimple * fTrack[5]
void AddDaughter(Int_t value)
AliFlowCandidateTrack & operator=(const AliFlowCandidateTrack &)
Int_t GetNDaughters(void) const
int Int_t
Definition: External.C:63
virtual void Clear(Option_t *)
AliFlowTrackSimple * GetDaughter(Int_t value) const
Int_t GetIDDaughter(Int_t value) const
const char Option_t
Definition: External.C:48
void SetDaughter(Int_t value, AliFlowTrackSimple *track)