]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDtrackletGTU.h
Taking into account that the default value of the beamType in the DAQ logbook
[u/mrichter/AliRoot.git] / TRD / AliTRDtrackletGTU.h
index f7aa236bfa9705ec61b22dc589fbb7d380069c4a..6ac20092cfb46b77b2fd5417280d679f94831388 100644 (file)
@@ -34,14 +34,14 @@ class AliTRDtrackletGTU : public AliTRDtrackletBase {
   Int_t GetYbin() const { return fTracklet->GetYbin(); }
   Int_t GetdY() const { return fTracklet->GetdY(); }
   Int_t GetZbin() const { return fTracklet->GetZbin(); }
-  Double_t GetPID() const { return fTracklet->GetPID(); }
+  Int_t GetPID() const { return ((Int_t) (255 * fTracklet->GetPID())); }
   Double_t GetPID(Int_t is) const { return fTracklet->GetPID(is); }
 
   // ----- Getters for calculated properties -----
   Int_t GetYProj() const { return fYProj; }
   Int_t GetAlpha() const { return fAlpha; }
   Int_t GetYPrime() const { return fYPrime; }
-  Int_t GetSubChannel(Int_t zch);
+  Int_t GetSubChannel(Int_t zch) const;
 
   // ----- Getters for offline corresponding values -----
   Bool_t CookPID() { return kFALSE; }
@@ -73,7 +73,7 @@ class AliTRDtrackletGTU : public AliTRDtrackletBase {
 
  protected:
   AliTRDgtuParam *fGtuParam;    //!
-  const AliTRDtrackletBase *fTracklet; // always points to a valid tracklet
+  AliTRDtrackletBase *fTracklet; // pointer to the underlying tracklet
 
   Int_t *fSubChannel;          //! [AliTRDgtuParam::GetNZChannels()]
   Bool_t fAssignedZ;           // tracklet assigned to a Z-channel