1 #ifndef ALITRDTIMEBIN_H
2 #define ALITRDTIMEBIN_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliTRDtimeBin.h,v */
13 const unsigned kMAX_CLUSTER_PER_TIME_BIN=3500;
15 //-----------------------------------------------------------------
16 class AliTRDtimeBin : public TObject {
18 // Provides tools to address clusters which lay within one time bin
23 virtual ~AliTRDtimeBin() { };
24 void InsertCluster(AliTRDcluster*,UInt_t);
26 operator Int_t() const {return fN;}
27 AliTRDcluster* operator[](Int_t i);
28 UInt_t GetIndex(Int_t i) const {return fIndex[i];}
30 Int_t Find(Double_t y) const;
35 AliTRDcluster *fClusters[kMAX_CLUSTER_PER_TIME_BIN];
36 UInt_t fIndex[kMAX_CLUSTER_PER_TIME_BIN];
38 ClassDef(AliTRDtimeBin,1) // Provides tools to address clusters which lay within one time bin