]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Additional setters and getters
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Dec 2008 15:31:23 +0000 (15:31 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 2 Dec 2008 15:31:23 +0000 (15:31 +0000)
TRD/AliTRDcluster.h
TRD/AliTRDseed.h
TRD/AliTRDseedV1.h
TRD/AliTRDtrackV1.h

index dea022363bc72b776eddcdff165eee2fb147e358..4309c2e46f75680c8ea58f54dd008faa3ff8a594 100644 (file)
@@ -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);              }
 
index c1dd0140a8cb87353797f68d75f30c725d4d1789..e8a85cc5dfe42e5744e10ae8521fb6bdf3b740c1 100644 (file)
@@ -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;   }
index 0c70dae8a5e6c40f441ed7ea9d69c477207a981b..aafc487d1ea1ec2a607fbe310914360be24d17fe 100644 (file)
@@ -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;}
index 35081bbc46340f6431136df87b7d4aec8aa41d0e..af62913f08be5cf7eb23033aad0b2085bdb59b99 100644 (file)
@@ -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);