#include "AliSegmentID.h"
-class TClonesArray;
+#include <TClonesArray.h>
+
class TObjArray;
class AliClusters : public AliSegmentID{
public:
- AliClusters();
- virtual AliCluster* InsertCluster(const AliCluster* c ); //insert copy of cluster
- const AliCluster* operator[](Int_t i);
+ AliClusters();
+ AliClusters(const char *classname); // special constructor
+ AliClusters(const AliClusters ¶m); // copy constructor
+ AliClusters &operator = (const AliClusters & param);
+ ~AliClusters();
+ virtual TObject* InsertCluster(const TObject* c ); //insert copy of cluster
+ const TObject* operator[](Int_t i);
virtual Int_t Find(Double_t y) const; //find nearest cluster in y direction
void Sort();
TClonesArray * GetArray(){return fClusters;}
void SetArray(Int_t length); //construct clonnes array of objects of type fClass
- void Draw(Float_t shiftx, Float_t shifty, Int_t color, Int_t size, Int_t style);
+ void DrawClusters(Float_t shiftx, Float_t shifty, Int_t color, Int_t size, Int_t style);
Bool_t SetClass(const Text_t *classname);
protected:
- TClonesArray * fClusters;
+ TClonesArray * fClusters; //->array of clusters
Int_t fNclusters;
TClass * fClass; //!type of cluster class
- ClassDef(AliClusters,1)
+ ClassDef(AliClusters,1) // Cluster manager
};