]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Possibility to copy the number of the TPC clusters from an AOD track to an ESD track...
authorbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Jun 2010 14:55:15 +0000 (14:55 +0000)
committerbelikov <belikov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Jun 2010 14:55:15 +0000 (14:55 +0000)
STEER/AliESDtrack.cxx
STEER/AliVTrack.h

index a282477d538344c99f6a98a64ee23a1d525a20ae..9ed7979abe2d6508930d1d2aa03b2daf7895d695 100644 (file)
@@ -485,6 +485,10 @@ AliESDtrack::AliESDtrack(const AliVTrack *track) :
     if(HasPointOnITSLayer(i)) fITSncls++;
   }
 
+  // Set TPC ncls 
+  fTPCncls=track->GetTPCNcls();
+
+
   // Set the combined PID
   const Double_t *pid = track->PID();
   if(pid){
index 251766025e5c091613899b9045e318c37201a373..840282e253db2a3828da8962e75db0ed047ebdfc 100644 (file)
@@ -22,6 +22,7 @@ public:
 
   virtual Int_t    GetID() const = 0;
   virtual UChar_t  GetITSClusterMap() const = 0;
+  virtual UShort_t GetTPCNcls() const { return 0;}
   virtual ULong_t  GetStatus() const = 0;
   virtual Bool_t   GetXYZ(Double_t *p) const = 0;
   virtual Double_t GetBz() const;