]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDtrackingChamber.h
speed up for HLT (Konstantin Markus Alex Raphaelle)
[u/mrichter/AliRoot.git] / TRD / AliTRDtrackingChamber.h
CommitLineData
eb38ed55 1#ifndef ALITRDTRACKINGCHAMBER_H
2#define ALITRDTRACKINGCHAMBER_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: AliTRDtrackingChamber.h 22646 2007-11-29 18:13:40Z cblume $ */
8
9////////////////////////////////////////////////////////////////////////////
10// //
11// Data container for one TRD chamber //
12// //
13// Authors: //
14// //
15// Alex Bercuci <A.Bercuci@gsi.de> //
16// //
17////////////////////////////////////////////////////////////////////////////
18
19#ifndef ALITRDCHAMBERTIMEBIN_H
20#include "AliTRDchamberTimeBin.h"
21#endif
22
b0a48c4d 23class AliTRDCalDet;
eb38ed55 24class AliTRDgeometry;
3a039a31 25class AliTRDReconstructor;
eb38ed55 26class AliTRDtrackingChamber
27{
28
29public:
30 enum{
31 kNTimeBins = 35
32 };
33 AliTRDtrackingChamber(Int_t det);
34 virtual ~AliTRDtrackingChamber(){}
35
b0a48c4d 36 Bool_t Build(AliTRDgeometry *geo, const AliTRDCalDet *cal, Bool_t hlt = kFALSE);
eb38ed55 37 void Clear(const Option_t *opt = 0x0);
38 Int_t GetDetector() const {return fDetector;}
39 Int_t GetNClusters() const;
2985ffcb 40 Double_t GetQuality();
3a039a31 41 Bool_t GetSeedingLayer(AliTRDchamberTimeBin *&layer, AliTRDgeometry *geo, const AliTRDReconstructor *rec);
eb38ed55 42 Float_t GetX() const {return fX0;}
43 AliTRDchamberTimeBin* GetTB(int tb) {return tb >= 0 && tb < kNTimeBins ? &fTB[tb] : 0x0;}
44 void InsertCluster(AliTRDcluster *c, Int_t index);
45
46
47private:
48 Int_t fDetector; // detector number
49 Float_t fX0; // approximate position of the pad plane
50
51 AliTRDchamberTimeBin fTB[kNTimeBins]; // time bins
52
53
54 ClassDef(AliTRDtrackingChamber, 1) // TRD tracker container for one chamber
55};
56
57#endif // ALITRDTRACKINGCHAMBER_H