]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Tasks/AliFlowCandidateTrack.h
AOD handeling, added mass to the flowtracks, new task to reuse flowevent
[u/mrichter/AliRoot.git] / PWG / FLOW / Tasks / AliFlowCandidateTrack.h
CommitLineData
6e214c87 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2* See cxx source for full Copyright notice */
3/* $Id: $ */
4
9812922b 5#ifndef ALIFLOWCANDIDATETRACK_H
6#define ALIFLOWCANDIDATETRACK_H
6e214c87 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
16class AliFlowCandidateTrack : public AliFlowTrack {
6e214c87 17 public:
18 AliFlowCandidateTrack();
19 AliFlowCandidateTrack(const AliFlowCandidateTrack& );
20 AliFlowCandidateTrack& operator=(const AliFlowCandidateTrack& );
21 ~AliFlowCandidateTrack();
22
9812922b 23 Int_t GetNDaughters(void) const { return fNDaughters; }
24 void AddDaughter(Int_t value) { if(fNDaughters<3) fDaughter[fNDaughters++]=value; }
25 Int_t GetIDDaughter(Int_t value) const { return fDaughter[value]; }
41dc4195 26
27 void SetDaughter(Int_t value, AliFlowTrack *track) { fTrack[value]=track; }
9812922b 28 AliFlowTrack *GetDaughter(Int_t value) const { return fTrack[value]; }
41dc4195 29
9812922b 30 protected:
9812922b 31 Int_t fNDaughters; // number of daughters (5 max)
32 Int_t fDaughter[5]; // fID of daughter, points back to ESD track
33 AliFlowTrack *fTrack[5]; // pointer to daughter in FlowEvent
34
6e214c87 35
60875c3c 36 ClassDef(AliFlowCandidateTrack, 2);
6e214c87 37};
38
39#endif