3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // Manager class for TPC clusters //
10 ////////////////////////////////////////////////
13 #include "AliSegmentID.h"
14 #include <TClonesArray.h>
19 class AliClusters : public AliSegmentID{
22 AliClusters(const char *classname); // special constructor
23 AliClusters(const AliClusters ¶m); // copy constructor
24 AliClusters &operator = (const AliClusters & param);
26 virtual TObject* InsertCluster(const TObject* c ); //insert copy of cluster
27 const TObject* operator[](Int_t i);
28 virtual Int_t Find(Double_t y) const; //find nearest cluster in y direction
30 TClonesArray * GetArray(){return fClusters;}
31 void SetArray(Int_t length); //construct clonnes array of objects of type fClass
32 void DrawClusters(Float_t shiftx, Float_t shifty, Int_t color, Int_t size, Int_t style);
33 Bool_t SetClass(const Text_t *classname);
35 TClonesArray * fClusters; //->array of clusters
37 TClass * fClass; //!type of cluster class
38 ClassDef(AliClusters,1) // Cluster manager
42 #endif //ALICLUSTERS_H