// ----- Getters for offline corresponding values -----
Bool_t CookPID() { return kFALSE; }
- Double_t GetPID(Int_t /* is */) const { return 0; }
+ Double_t GetPID(Int_t /* is */) const { return GetPID()/255.; }
Int_t GetDetector() const { return fHCId / 2; }
Int_t GetHCId() const { return fHCId; }
Float_t GetdYdX() const { return (GetdY() * 140e-4 / 3.); }
Int_t GetQ0() const { return fQ0; }
Int_t GetQ1() const { return fQ1; }
+ Int_t GetNHits() const { return fNHits; }
+ Int_t GetNHits0() const { return fNHits0; }
+ Int_t GetNHits1() const { return fNHits1; }
UInt_t GetTrackletWord() const { return fTrackletWord; }
void SetTrackletWord(UInt_t trackletWord) { fTrackletWord = trackletWord; }
void SetLabel(Int_t label) { fLabel = label; }
void SetQ0(Int_t charge) { fQ0 = charge; }
void SetQ1(Int_t charge) { fQ1 = charge; }
+ void SetNHits(Int_t nhits) { fNHits = nhits; }
+ void SetNHits0(Int_t nhits) { fNHits0 = nhits; }
+ void SetNHits1(Int_t nhits) { fNHits1 = nhits; }
+
+ void SetSlope(Float_t slope) { fSlope = slope; }
+ void SetOffset(Float_t offset) { fOffset = offset; }
+ void SetError(Float_t error) { fError = error; }
+ void SetClusters(Float_t *res, Float_t *q, Int_t n);
+
+ Float_t GetSlope() const { return fSlope; }
+ Float_t GetOffset() const { return fOffset; }
+ Float_t GetError() const { return fError; }
+ Int_t GetNClusters() const { return fNClusters; }
+ Float_t *GetResiduals() const { return fResiduals; }
+ Float_t *GetClsCharges() const { return fClsCharges; }
protected:
AliTRDgeometry *fGeo; //! TRD geometry
Int_t fQ0; // accumulated charge in the first time window
Int_t fQ1; // accumulated charge in the second time window
+ Int_t fNHits; // no. of contributing clusters
+ Int_t fNHits0; // no. of contributing clusters in window 0
+ Int_t fNHits1; // no. of contributing clusters in window 1
+
Int_t fLabel; // label for MC track
+
+ Float_t fSlope; // tracklet slope
+ Float_t fOffset; // tracklet offset
+ Float_t fError; // tracklet error
+ Int_t fNClusters; // no. of clusters
+ Float_t *fResiduals; //[fNClusters] cluster to tracklet residuals
+ Float_t *fClsCharges; //[fNClusters] cluster charge
private:
AliTRDtrackletMCM& operator=(const AliTRDtrackletMCM &rhs); // not implemented