* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
+
+/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// //
fNclusters=0;
}
+//____________________________________________________________________________
+AliTPCClustersRow::AliTPCClustersRow(const char *classname) : AliClusters(classname)
+{
+ // special constructor
+ fNclusters=0;
+}
+
//_____________________________________________________________________________
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());
+}
+