]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
missing files for ci
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Jun 2010 13:33:34 +0000 (13:33 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Jun 2010 13:33:34 +0000 (13:33 +0000)
PWG2/FLOW/AliFlowTasks/AliFlowTrack.cxx [new file with mode: 0644]
PWG2/FLOW/AliFlowTasks/AliFlowTrack.h [new file with mode: 0644]

diff --git a/PWG2/FLOW/AliFlowTasks/AliFlowTrack.cxx b/PWG2/FLOW/AliFlowTasks/AliFlowTrack.cxx
new file mode 100644 (file)
index 0000000..af0a7e5
--- /dev/null
@@ -0,0 +1,63 @@
+/**************************************************************************
+ * 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
+}
+
diff --git a/PWG2/FLOW/AliFlowTasks/AliFlowTrack.h b/PWG2/FLOW/AliFlowTasks/AliFlowTrack.h
new file mode 100644 (file)
index 0000000..79f309c
--- /dev/null
@@ -0,0 +1,44 @@
+/* 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
+