1 #ifndef ALITRDTRACKINGCHAMBER_H
2 #define ALITRDTRACKINGCHAMBER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /* $Id: AliTRDtrackingChamber.h 22646 2007-11-29 18:13:40Z cblume $ */
9 ////////////////////////////////////////////////////////////////////////////
11 // Data container for one TRD chamber //
15 // Alex Bercuci <A.Bercuci@gsi.de> //
17 ////////////////////////////////////////////////////////////////////////////
19 #ifndef ALITRDCHAMBERTIMEBIN_H
20 #include "AliTRDchamberTimeBin.h"
24 #ifndef ALITRDSEEDV1_H
25 #include "AliTRDseedV1.h"
30 class AliTRDReconstructor;
31 class AliTRDtrackingChamber : public TObject
35 AliTRDtrackingChamber();
36 virtual ~AliTRDtrackingChamber(){}
38 void Bootstrap(const AliTRDReconstructor *rec);
39 Bool_t Build(AliTRDgeometry *const geo, const AliTRDCalDet *cal, Bool_t hlt = kFALSE);
40 void Clear(const Option_t *opt = NULL);
41 Int_t GetDetector() const {return fDetector;}
42 Int_t GetNClusters() const;
43 Double_t GetQuality();
44 Bool_t GetSeedingLayer(AliTRDchamberTimeBin *&layer, AliTRDgeometry * const geo, const AliTRDReconstructor *rec);
45 Float_t GetX() const {return fX0;}
46 AliTRDchamberTimeBin* GetTB(int tb) {return tb >= 0 && tb < AliTRDseedV1::kNtb ? &fTB[tb] : NULL;}
47 void InsertCluster(AliTRDcluster *c, Int_t index);
49 void Print(Option_t *opt = NULL) const;
51 void SetDetector(Int_t det) { fDetector = det;}
56 Int_t fDetector; // detector number
57 Float_t fX0; // approximate position of the pad plane
59 AliTRDchamberTimeBin fTB[AliTRDseedV1::kNtb]; // time bins
62 ClassDef(AliTRDtrackingChamber, 1) // TRD tracker container for one chamber
65 #endif // ALITRDTRACKINGCHAMBER_H