]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDtrackingSector.h
Last minute changes; ExB correction in AliTRDclusterizerV1; taking into account of...
[u/mrichter/AliRoot.git] / TRD / AliTRDtrackingSector.h
1 #ifndef ALITRDTRACKINGSECTOR_H
2 #define ALITRDTRACKINGSECTOR_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id: AliTRDtrackingSector.h,v */
8
9 #include <TObject.h>
10
11 class AliTRDtimeBin;
12 class AliTRDgeometry;
13
14 class AliTRDtrackingSector : public TObject {
15
16 // Provides tools to address clusters which lay within one sector
17
18 public:
19
20   AliTRDtrackingSector() {fN=0; fTimeBin=0; fGeom=0; fTimeBinSize=0;}
21   virtual ~AliTRDtrackingSector();
22   virtual void SetUp();
23  
24   AliTRDtimeBin& operator[](Int_t i);
25   Int_t GetNtimeBins() const { return fN; }
26   Double_t GetX(Int_t tb) const;
27   Int_t   GetTimeBinNumber(Double_t x) const;
28   Int_t   GetTimeBin(Int_t det, Int_t local_tb) const;
29   Bool_t  TECframe(Int_t tb, Double_t y, Double_t z) const;
30
31 protected:
32
33   Int_t fN;
34   AliTRDgeometry          *fGeom;       // Pointer to TRD geometry
35   AliTRDtimeBin           *fTimeBin;    // Pointer to array of AliTRDtimeBin
36   Float_t                  fTimeBinSize;  // Time bin size in cm  
37                                               
38   ClassDef(AliTRDtrackingSector,1)  // Provides tools to address clusters which lay within one sector
39
40 }; 
41
42
43 #endif