X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliTPCClustersRow.cxx;h=f26175987dc336c459232fc50718d7e02c73f5a3;hb=8acd5e6001d451de4da3c0a67c3ab89e3cee2207;hp=4a418d5a514d96d8abb2b465056f7a127e472b80;hpb=c3c63118cca33a32045f807d2eddd049020a9310;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliTPCClustersRow.cxx b/TPC/AliTPCClustersRow.cxx index 4a418d5a514..f26175987dc 100644 --- a/TPC/AliTPCClustersRow.cxx +++ b/TPC/AliTPCClustersRow.cxx @@ -12,6 +12,8 @@ * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ + +/* $Id$ */ /////////////////////////////////////////////////////////////////////////////// // // @@ -60,5 +62,11 @@ TObject *AliTPCClustersRow::InsertCluster(const TObject *c) TClonesArray &lclusters = *fClusters; return new(lclusters[fNclusters++]) AliTPCcluster(*((AliTPCcluster*)c)); } +//__________________________________________________________________________ +TObject *AliTPCClustersRow::Append(){ + //create new object return pointer to this object + return fClusters->operator[](fClusters->GetEntriesFast()); +} +