]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDtimeBin.h
Go back to raw data version 0 for the time being
[u/mrichter/AliRoot.git] / TRD / AliTRDtimeBin.h
CommitLineData
46d29e70 1#ifndef ALITRDTIMEBIN_H
2#define ALITRDTIMEBIN_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
04eeac11 7/* $Id$*/
46d29e70 8
04eeac11 9////////////////////////////////////////////////////////////////////////////
10// //
11// Hit compression class //
12// Provides tools to address clusters which lie within one time bin //
13// Adapted from AliTPCTimeBin by Marian //
14// //
15////////////////////////////////////////////////////////////////////////////
0a29d0f1 16
46d29e70 17#include <TObject.h>
18
19class AliTRDcluster;
20
46d29e70 21class AliTRDtimeBin : public TObject {
22
04eeac11 23 public:
46d29e70 24
2685bf00 25 AliTRDtimeBin();
a1c3aded 26 virtual ~AliTRDtimeBin() { };
46d29e70 27
04eeac11 28 operator Int_t() const { return fN; }
29 AliTRDcluster *operator[](Int_t i);
30
31 void InsertCluster(AliTRDcluster *c, UInt_t index);
32 UInt_t GetIndex(Int_t i) const { return fIndex[i]; }
33 Int_t Find(Double_t y) const;
46d29e70 34
04eeac11 35 protected:
0a29d0f1 36
04eeac11 37 enum { kMaxClusterPerTimeBin = 3500 };
46d29e70 38
04eeac11 39 UInt_t fN; // ????
40 AliTRDcluster *fClusters[kMaxClusterPerTimeBin]; // ????
41 UInt_t fIndex[kMaxClusterPerTimeBin]; // ????
46d29e70 42
04eeac11 43 ClassDef(AliTRDtimeBin,1) // Provides tools to address clusters within one time bin
46d29e70 44
45};
46
47#endif
48