From bee2b41e0cf04c3eecf3baff5c38aff3eaf66699 Mon Sep 17 00:00:00 2001 From: cblume Date: Tue, 2 Dec 2008 15:31:23 +0000 Subject: [PATCH] Additional setters and getters --- TRD/AliTRDcluster.h | 12 +++++++++--- TRD/AliTRDseed.h | 5 +++++ TRD/AliTRDseedV1.h | 1 + TRD/AliTRDtrackV1.h | 3 +++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/TRD/AliTRDcluster.h b/TRD/AliTRDcluster.h index dea022363bc..4309c2e46f7 100644 --- a/TRD/AliTRDcluster.h +++ b/TRD/AliTRDcluster.h @@ -21,9 +21,9 @@ class AliTRDcluster : public AliCluster { , kUsed = BIT(15) , kShared = BIT(16) }; - enum { kMaskedLeft = 0 - , kMaskedCenter= 1 - , kMaskedRight = 2 + enum { kMaskedLeft = 0 + , kMaskedCenter = 1 + , kMaskedRight = 2 }; AliTRDcluster(); @@ -63,6 +63,12 @@ class AliTRDcluster : public AliCluster { void SetInChamber(Bool_t in = kTRUE) { SetBit(kInChamber,in); } void SetPadMaskedPosition(UChar_t position); void SetPadMaskedStatus(UChar_t status); + void SetPadCol(UChar_t inPadCol){ fPadCol = inPadCol;} + void SetPadRow(UChar_t inPadRow){ fPadRow = inPadRow;} + void SetPadTime(UChar_t inPadTime){ fPadTime = inPadTime;} + void SetDetector(Short_t inDetector){ fDetector = inDetector;} + void SetQ(Float_t inQ){ fQ = inQ;} + void SetClusterMasking(UChar_t inClusterMasking){ fClusterMasking = inClusterMasking;} void SetShared(Bool_t sh = kTRUE) { SetBit(kShared,sh); } void Use(Int_t = 0) { SetBit(kUsed, kTRUE); } diff --git a/TRD/AliTRDseed.h b/TRD/AliTRDseed.h index c1dd0140a8c..e8a85cc5dfe 100644 --- a/TRD/AliTRDseed.h +++ b/TRD/AliTRDseed.h @@ -58,6 +58,8 @@ class AliTRDseed : public TObject { Float_t GetMeanz() const { return fMeanz; } Float_t GetZProb() const { return fZProb; } Int_t GetLabels(Int_t i) const { return fLabels[i]; } + Float_t GetMPads() const { return fMPads; } + Int_t GetNbClusters() const { return fN; } Int_t GetN2() const { return fN2; } Int_t GetNChange() const { return fNChange; } Int_t GetNUsed() const { return fNUsed; } @@ -88,6 +90,9 @@ class AliTRDseed : public TObject { void SetMeanz(Float_t meanz) { fMeanz = meanz; } void SetZProb(Float_t zprob) { fZProb = zprob; } void SetLabels(Int_t i, Int_t label) { fLabels[i] = label; } + void SetMPads(Float_t mPads) { fMPads = mPads; } + void SetN(Int_t n) { fN = n; } + void SetNChange(Int_t n) { fNChange = n; } void SetN2(Int_t n2) { fN2 = n2; } void SetNUsed(Int_t nused) { fNUsed = nused; } void SetFreq(Int_t freq) { fFreq = freq; } diff --git a/TRD/AliTRDseedV1.h b/TRD/AliTRDseedV1.h index 0c70dae8a5e..aafc487d1ea 100644 --- a/TRD/AliTRDseedV1.h +++ b/TRD/AliTRDseedV1.h @@ -97,6 +97,7 @@ class AliTRDseedV1 : public AliTRDseed void SetMomentum(Double_t mom){ fMom = mom;} void SetOwner(); void SetDetector(Int_t d) { fDet = d; } + void SetDX(Float_t inDX) { fdX = inDX;} void SetSnp(Double_t snp) { fSnp = snp;} void SetTgl(Double_t tgl) { fTgl = tgl;} void SetReconstructor(const AliTRDReconstructor *rec) {fReconstructor = rec;} diff --git a/TRD/AliTRDtrackV1.h b/TRD/AliTRDtrackV1.h index 35081bbc463..af62913f08b 100644 --- a/TRD/AliTRDtrackV1.h +++ b/TRD/AliTRDtrackV1.h @@ -85,8 +85,11 @@ public: Int_t PropagateToR(Double_t xr, Double_t step); Bool_t Rotate(Double_t angle, Bool_t absolute = kFALSE); void SetBudget(Int_t i, Double_t b) {if(i>=0 && i<3) fBudget[i] = b;} + void SetEdep(Double32_t inDE){fDE = inDE;}; void SetNumberOfClusters(); void SetOwner(); + void SetPID(Short_t is, Double_t inPID){if (is >=0 && is < AliPID::kSPECIES) fPID[is]=inPID;}; + void SetPIDquality(UChar_t inPIDquality){fPIDquality = inPIDquality;}; void SetStopped(Bool_t stop) {SetBit(kStopped, stop);} void SetTracklet(AliTRDseedV1 *trklt, Int_t index); inline void SetReconstructor(const AliTRDReconstructor *rec); -- 2.43.0