1 #ifndef ALITRDTRACKINGSECTOR_H
2 #define ALITRDTRACKINGSECTOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliTRDtrackingSector.h,v */
9 /////////////////////////////////////////////////////////////////////////
13 /////////////////////////////////////////////////////////////////////////
19 class AliTRDparameter;
21 class AliTRDtrackingSector : public TObject {
23 // Provides tools to address clusters which lay within one sector
27 AliTRDtrackingSector() {fN=0; fTimeBin=0; fGeom=0; fTimeBinSize=0;}
28 virtual ~AliTRDtrackingSector();
31 AliTRDtimeBin& operator[](Int_t i);
32 Int_t GetNtimeBins() const { return fN; }
33 Double_t GetX(Int_t tb) const;
34 Int_t GetTimeBinNumber(Double_t x) const;
35 Int_t GetTimeBin(Int_t det, Int_t local_tb) const;
36 Bool_t TECframe(Int_t tb, Double_t y, Double_t z) const;
38 virtual void SetParameter(AliTRDparameter *par) { fPar = par; };
39 AliTRDparameter *GetParameter() const { return fPar; };
44 AliTRDgeometry *fGeom; // Pointer to TRD geometry
45 AliTRDtimeBin *fTimeBin; // Pointer to array of AliTRDtimeBin
46 Float_t fTimeBinSize; // Time bin size in cm
47 AliTRDparameter *fPar; // TRD parameter
49 ClassDef(AliTRDtrackingSector,2) // Provides tools to address clusters which lay within one sector