--- /dev/null
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * *
+ * Author: The ALICE Off-line Project. *
+ * Contributors are mentioned in the code where appropriate. *
+ * *
+ * Permission to use, copy, modify and distribute this software and its *
+ * documentation strictly for non-commercial purposes is hereby granted *
+ * without fee, provided that the above copyright notice appears in all *
+ * copies and that both the copyright notice and this permission notice *
+ * appear in the supporting documentation. The authors make no claims *
+ * about the suitability of this software for any purpose. It is *
+ * provided "as is" without express or implied warranty. *
+ **************************************************************************/
+
+/* $Id$ */
+
+// AliFlowTrack:
+// A simple track class to the the AliFlowEventSimple for flow analysis
+//
+//
+// author: N. van der Kolk (kolk@nikhef.nl)
+// mods: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch)
+
+#include "AliFlowTrack.h"
+
+ClassImp(AliFlowTrack)
+
+//-----------------------------------------------------------------------
+AliFlowTrack::AliFlowTrack():
+ AliFlowTrackSimple(0),
+ fTrackSourceBits(),
+ fFMDmultiplicity(0.)
+{
+ //constructor
+}
+
+//-----------------------------------------------------------------------
+AliFlowTrack::AliFlowTrack(const AliFlowTrack& aTrack):
+ AliFlowTrackSimple(aTrack),
+ fTrackSourceBits(aTrack.fTrackSourceBits),
+ fFMDmultiplicity(aTrack.fFMDmultiplicity)
+{
+ //copy constructor
+}
+
+//-----------------------------------------------------------------------
+AliFlowTrack& AliFlowTrack::operator=(const AliFlowTrack& aTrack)
+{
+ AliFlowTrackSimple::operator=(aTrack);
+ fTrackSourceBits = aTrack.fTrackSourceBits;
+ fFMDmultiplicity = aTrack.fFMDmultiplicity;
+
+ return *this;
+}
+
+
+//-----------------------------------------------------------------------
+AliFlowTrack::~AliFlowTrack()
+{
+ //destructor
+}
+
--- /dev/null
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+* See cxx source for full Copyright notice */
+/* $Id$ */
+
+#ifndef ALIFLOWTRACK_H
+#define ALIFLOWTRACK_H
+
+#include "AliFlowTrackSimple.h"
+
+// AliFlowTrack:
+// A track class to the the AliFlowEvent for flow analysis
+// origin: Mikolaj Krzewicki (mikolaj.krzewicki@cern.ch)
+
+class AliFlowTrack: public AliFlowTrackSimple {
+
+public:
+ enum trackSource {kFromESD=0,
+ kFromMC=1,
+ kFromAOD=2,
+ kFromTracklet=3};
+ AliFlowTrack();
+ AliFlowTrack& operator=(const AliFlowTrack& aTrack);
+ AliFlowTrack(const AliFlowTrack& aTrack);
+ virtual ~AliFlowTrack();
+
+ void SetFMDMultiplicity( const Float_t m ) {fFMDmultiplicity=m;}
+ Float_t GetFMDMultiplicity() const {return fFMDmultiplicity;}
+ void SetSource( trackSource s )
+ { fTrackSourceBits.SetBitNumber(UInt_t(s),kTRUE); }
+ Bool_t IsSource( trackSource s ) const
+ { return fTrackSourceBits.TestBitNumber(s); }
+
+
+
+private:
+ TBits fTrackSourceBits; //where do i come from?
+ Float_t fFMDmultiplicity; //FMD multiplicity
+
+
+ ClassDef(AliFlowTrack,1);
+};
+
+#endif
+