#endif
-#ifndef ALITRDSEED_H
-#include "AliTRDseed.h"
+#ifndef ALITRDSEEDV1_H
+#include "AliTRDseedV1.h"
#endif
-class AliTRDCalDet;
class AliTRDgeometry;
class AliTRDReconstructor;
class AliTRDtrackingChamber : public TObject
{
public:
- enum{
- kNTimeBins = AliTRDseed::knTimebins
- };
AliTRDtrackingChamber();
virtual ~AliTRDtrackingChamber(){}
- Bool_t Build(AliTRDgeometry *geo, const AliTRDCalDet *cal, Bool_t hlt = kFALSE);
- void Clear(const Option_t *opt = 0x0);
- Int_t GetDetector() const {return fDetector;}
+ void Bootstrap(const AliTRDReconstructor *rec);
+ Bool_t Build(AliTRDgeometry *const geo, Bool_t hlt = kFALSE);
+ void Clear(const Option_t *opt = NULL);
+ Int_t GetDetector() const { return fDetector;}
Int_t GetNClusters() const;
Double_t GetQuality();
- Bool_t GetSeedingLayer(AliTRDchamberTimeBin *&layer, AliTRDgeometry *geo, const AliTRDReconstructor *rec);
+ Bool_t GetSeedingLayer(AliTRDchamberTimeBin *&layer, AliTRDgeometry * const geo, const AliTRDReconstructor *rec);
Float_t GetX() const {return fX0;}
- AliTRDchamberTimeBin* GetTB(int tb) {return tb >= 0 && tb < kNTimeBins ? &fTB[tb] : 0x0;}
- void InsertCluster(AliTRDcluster *c, Int_t index);
+ AliTRDchamberTimeBin* GetTB(int tb) {return tb >= 0 && tb < AliTRDseedV1::kNtb ? &fTB[tb] : NULL;}
+ // Float_t GetExB() const { return fExB;}
+ // Float_t GetVD() const { return fVD;}
+ // Float_t GetT0() const { return fT0;}
+ // Float_t GetS2PRF() const { return fS2PRF;}
+ // Float_t GetDiffL() const { return fDiffL;}
+ // Float_t GetDiffT() const { return fDiffT;}
+
+ void SetDetector(Int_t det) { fDetector = det; }
+ void InsertCluster(AliTRDcluster *c, Int_t index) { fTB[c->GetPadTime()].InsertCluster(c, index); }
- void SetDetector(Int_t det) { fDetector = det;}
+ void Print(Option_t *opt = NULL) const;
+
+ void SetOwner();
+ void Update();
private:
Int_t fDetector; // detector number
- Float_t fX0; // approximate position of the pad plane
+ Float_t fX0; // radial position of the pad plane
+ // Float_t fExB; // tg(a_L) for chamber
+ // Float_t fVD; // drift velocity for chamber
+ // Float_t fT0; // time 0 for chamber
+ // Float_t fS2PRF; // sigma^2 PRF for xd->0 and phi=a_L
+ // Float_t fDiffL; // longitudinal diffusion coefficient
+ // Float_t fDiffT; // transversal diffusion coefficient
- AliTRDchamberTimeBin fTB[kNTimeBins]; // time bins
+ AliTRDchamberTimeBin fTB[AliTRDseedV1::kNtb]; // time bins
- ClassDef(AliTRDtrackingChamber, 1) // TRD tracker container for one chamber
+ ClassDef(AliTRDtrackingChamber, 2) // TRD tracker container for one chamber
};
#endif // ALITRDTRACKINGCHAMBER_H