]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/FLOW/Tasks/AliFlowCandidateTrack.h
addition vzero ep for phi and extension to higher pt
[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
15725198 23 void ClearMe(void);
9812922b 24 Int_t GetNDaughters(void) const { return fNDaughters; }
25 void AddDaughter(Int_t value) { if(fNDaughters<3) fDaughter[fNDaughters++]=value; }
26 Int_t GetIDDaughter(Int_t value) const { return fDaughter[value]; }
41dc4195 27
28 void SetDaughter(Int_t value, AliFlowTrack *track) { fTrack[value]=track; }
9812922b 29 AliFlowTrack *GetDaughter(Int_t value) const { return fTrack[value]; }
41dc4195 30
9812922b 31 protected:
9812922b 32 Int_t fNDaughters; // number of daughters (5 max)
33 Int_t fDaughter[5]; // fID of daughter, points back to ESD track
0f25ad32 34 AliFlowTrack *fTrack[5]; //! pointer to daughter in FlowEvent
6e214c87 35
60875c3c 36 ClassDef(AliFlowCandidateTrack, 2);
6e214c87 37};
38
39#endif