]>
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 | ||
0a29d0f1 | 9 | ///////////////////////////////////////////////////////////////////////// |
10 | // // | |
11 | // Tracking sector // | |
12 | // // | |
13 | ///////////////////////////////////////////////////////////////////////// | |
14 | ||
46d29e70 | 15 | #include <TObject.h> |
16 | ||
17 | class AliTRDtimeBin; | |
18 | class AliTRDgeometry; | |
19 | ||
20 | class AliTRDtrackingSector : public TObject { | |
21 | ||
22 | // Provides tools to address clusters which lay within one sector | |
23 | ||
46d29e70 | 24 | public: |
bbf92647 | 25 | |
46d29e70 | 26 | AliTRDtrackingSector() {fN=0; fTimeBin=0; fGeom=0; fTimeBinSize=0;} |
27 | virtual ~AliTRDtrackingSector(); | |
28 | virtual void SetUp(); | |
29 | ||
30 | AliTRDtimeBin& operator[](Int_t i); | |
31 | Int_t GetNtimeBins() const { return fN; } | |
a819a5f7 | 32 | Double_t GetX(Int_t tb) const; |
33 | Int_t GetTimeBinNumber(Double_t x) const; | |
34 | Int_t GetTimeBin(Int_t det, Int_t local_tb) const; | |
35 | Bool_t TECframe(Int_t tb, Double_t y, Double_t z) const; | |
bbf92647 | 36 | |
37 | protected: | |
38 | ||
0a29d0f1 | 39 | Int_t fN; // ??????? |
40 | AliTRDgeometry *fGeom; // Pointer to TRD geometry | |
41 | AliTRDtimeBin *fTimeBin; // Pointer to array of AliTRDtimeBin | |
42 | Float_t fTimeBinSize; // Time bin size in cm | |
a819a5f7 | 43 | |
46d29e70 | 44 | ClassDef(AliTRDtrackingSector,1) // Provides tools to address clusters which lay within one sector |
45 | ||
46 | }; | |
47 | ||
a819a5f7 | 48 | |
46d29e70 | 49 | #endif |