]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDtrackingSector.h
Dimitri just makes it work
[u/mrichter/AliRoot.git] / TRD / AliTRDtrackingSector.h
CommitLineData
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
11class AliTRDtimeBin;
12class AliTRDgeometry;
13
14class AliTRDtrackingSector : public TObject {
15
16// Provides tools to address clusters which lay within one sector
17
18protected:
19 Int_t fN;
20 AliTRDtimeBin *fTimeBin; // Pointer to array of AliTRDtimeBin
21 AliTRDgeometry *fGeom; // Pointer to TRD geometry
22 Float_t fTimeBinSize; // Time bin size in cm
23
24public:
25 AliTRDtrackingSector() {fN=0; fTimeBin=0; fGeom=0; fTimeBinSize=0;}
26 virtual ~AliTRDtrackingSector();
27 virtual void SetUp();
28
29 AliTRDtimeBin& operator[](Int_t i);
30 Int_t GetNtimeBins() const { return fN; }
31 Double_t GetX(Int_t l) const;
32 Double_t GetMaxY(Int_t l) const;
0e9c2ad5 33 //Double_t GetAlpha() const { return 2*TMath::Pi()/kNsect; }
46d29e70 34 Int_t GetTimeBinNumber(Double_t x) const;
35 Int_t GetTimeBin(Int_t det, Int_t local_tb) const;
36 Float_t GetPitch() const {return fTimeBinSize;}
37
38 ClassDef(AliTRDtrackingSector,1) // Provides tools to address clusters which lay within one sector
39
40};
41
42#endif