]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDtrackingSector.h
Remove Process_t
[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 l) const;
27   Double_t GetMaxY(Int_t l) const; 
28   //Double_t GetAlpha() const { return 2*TMath::Pi()/kNsect; } 
29   Int_t GetTimeBinNumber(Double_t x) const;
30   Int_t GetTimeBin(Int_t det, Int_t local_tb) const;
31   Float_t GetPitch() const {return fTimeBinSize;}   
32
33
34 protected:
35
36   Int_t fN;
37   AliTRDgeometry          *fGeom;       // Pointer to TRD geometry
38   AliTRDtimeBin           *fTimeBin;    // Pointer to array of AliTRDtimeBin
39   Float_t                  fTimeBinSize;  // Time bin size in cm  
40
41
42   ClassDef(AliTRDtrackingSector,1)  // Provides tools to address clusters which lay within one sector
43
44 }; 
45
46 #endif