removed obsolete AliTPCDigitsDisplay.C
[u/mrichter/AliRoot.git] / TPC / AliClusters.h
CommitLineData
cc80f89e 1#ifndef ALICLUSTERS_H
2#define ALICLUSTERS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////
9// Manager class for TPC clusters //
10////////////////////////////////////////////////
11
12
13#include "AliSegmentID.h"
14class TClonesArray;
15class TObjArray;
16
17
18class AliClusters : public AliSegmentID{
19public:
20 AliClusters();
21 virtual AliCluster* InsertCluster(const AliCluster* c ); //insert copy of cluster
22 const AliCluster* operator[](Int_t i);
23 virtual Int_t Find(Double_t y) const; //find nearest cluster in y direction
24 void Sort();
25 TClonesArray * GetArray(){return fClusters;}
26 void SetArray(Int_t length); //construct clonnes array of objects of type fClass
27 void Draw(Float_t shiftx, Float_t shifty, Int_t color, Int_t size, Int_t style);
28 Bool_t SetClass(const Text_t *classname);
29protected:
30 TClonesArray * fClusters;
31 Int_t fNclusters;
32 TClass * fClass; //!type of cluster class
33 ClassDef(AliClusters,1)
34};
35
36
37#endif //ALICLUSTERS_H