]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDtrackingSector.h
New Clusterization by IHEP (yuri)
[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
46d29e70 18public:
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
31protected:
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