]>
Commit | Line | Data |
---|---|---|
46d29e70 | 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 | ||
46d29e70 | 18 | public: |
bbf92647 | 19 | |
46d29e70 | 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; } | |
a819a5f7 | 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; | |
bbf92647 | 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 | |
a819a5f7 | 37 | |
46d29e70 | 38 | ClassDef(AliTRDtrackingSector,1) // Provides tools to address clusters which lay within one sector |
39 | ||
40 | }; | |
41 | ||
a819a5f7 | 42 | |
46d29e70 | 43 | #endif |