]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDtrackingSector.h
Using AliLog (F.Carminati)
[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
0a29d0f1 9/////////////////////////////////////////////////////////////////////////
10// //
11// Tracking sector //
12// //
13/////////////////////////////////////////////////////////////////////////
14
46d29e70 15#include <TObject.h>
16
17class AliTRDtimeBin;
18class AliTRDgeometry;
5443e65e 19class AliTRDparameter;
46d29e70 20
21class AliTRDtrackingSector : public TObject {
22
23// Provides tools to address clusters which lay within one sector
24
46d29e70 25public:
bbf92647 26
46d29e70 27 AliTRDtrackingSector() {fN=0; fTimeBin=0; fGeom=0; fTimeBinSize=0;}
28 virtual ~AliTRDtrackingSector();
29 virtual void SetUp();
30
31 AliTRDtimeBin& operator[](Int_t i);
32 Int_t GetNtimeBins() const { return fN; }
a819a5f7 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;
bbf92647 37
5443e65e 38 virtual void SetParameter(AliTRDparameter *par) { fPar = par; };
39 AliTRDparameter *GetParameter() const { return fPar; };
40
bbf92647 41protected:
42
0a29d0f1 43 Int_t fN; // ???????
44 AliTRDgeometry *fGeom; // Pointer to TRD geometry
45 AliTRDtimeBin *fTimeBin; // Pointer to array of AliTRDtimeBin
46 Float_t fTimeBinSize; // Time bin size in cm
5443e65e 47 AliTRDparameter *fPar; // TRD parameter
a819a5f7 48
5443e65e 49 ClassDef(AliTRDtrackingSector,2) // Provides tools to address clusters which lay within one sector
46d29e70 50
51};
52
a819a5f7 53
46d29e70 54#endif