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 */
9 //////////////////////////////////////////////////////////////////////
11 // Hit compression class //
12 // Adapted from AliTPCTimeBin by Marian //
14 //////////////////////////////////////////////////////////////////////
20 //-----------------------------------------------------------------
21 class AliTRDtimeBin : public TObject {
23 // Provides tools to address clusters which lay within one time bin
28 virtual ~AliTRDtimeBin() { };
29 void InsertCluster(AliTRDcluster *c, UInt_t index);
31 operator Int_t() const {return fN;}
32 AliTRDcluster* operator[](Int_t i);
33 UInt_t GetIndex(Int_t i) const {return fIndex[i];}
35 Int_t Find(Double_t y) const;
39 enum { kMaxClusterPerTimeBin=3500 };
42 AliTRDcluster *fClusters[kMaxClusterPerTimeBin]; // ????
43 UInt_t fIndex[kMaxClusterPerTimeBin]; // ????
45 ClassDef(AliTRDtimeBin,1) // Provides tools to address clusters which lay within one time bin