]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDltuTracklet.h
Remove event number reading due to interface changes
[u/mrichter/AliRoot.git] / TRD / AliTRDltuTracklet.h
index af6c740058021d635306c3fd12eae5d8e9c10dc7..c1bf3d5b066d6c855ff8be19c3e14dec861cd668 100644 (file)
@@ -1,5 +1,15 @@
 #ifndef ALITRDLTUTRACKLET_H
 #define ALITRDLTUTRACKLET_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//  TRD LTU tracklet                                                         //
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
 
 #include <TObject.h>
 
@@ -9,48 +19,41 @@ class AliTRDltuTracklet : public TObject {
 
   enum { kNplan = 6 };
 
-  AliTRDltuTracklet(Int_t det, 
-                   Int_t row, 
-                   Float_t rowz,
-                   Float_t slope, 
-                   Float_t offset, 
-                   Float_t time, 
-                   Int_t ncl,
-                   Int_t label,
-                   Float_t q);
-
-  virtual ~AliTRDltuTracklet();
-
-  Bool_t  IsSortable()   const { return kTRUE; }
-  virtual Int_t   Compare(const TObject *o) const;
-
-  Int_t   GetDetector()  const { return fDetector; };
-  Int_t   GetPlane(Int_t det) const { return ((Int_t) (det % kNplan)); };
-  Int_t   GetRow()       const { return fRow; };
-  Int_t   GetNclusters() const { return fNclusters; };
-  Float_t GetSlope()     const { return fSlope; };
-  Float_t GetOffset()    const { return fY; };
-  Float_t GetTime0()     const { return fX; };
-  Float_t GetRowz()      const { return fRowz; };
-  Float_t GetYproj(Float_t xpl) const;
-  Float_t GetZproj(Float_t xpl) const;
-  Int_t   GetLabel()     const { return fLabel; };
-  Float_t GetPt(Float_t field) const;
-  Float_t GetQ() const { return fQ; };
+  AliTRDltuTracklet();
+  AliTRDltuTracklet(Int_t det, Int_t row, Float_t rowz, Float_t slope, Float_t offset
+                  ,Float_t time, Int_t ncl, Int_t label, Float_t q);
+  virtual         ~AliTRDltuTracklet();
+
+          Bool_t   IsSortable() const { return kTRUE; }
+  virtual Int_t    Compare(const TObject *o) const;
+
+          Int_t    GetDetector() const             { return fDetector;                };
+          Int_t    GetPlane(Int_t det) const       { return ((Int_t) (det % kNplan)); };
+          Int_t    GetRow() const                  { return fRow;                     };
+          Int_t    GetNclusters() const            { return fNclusters;               };
+          Float_t  GetSlope() const                { return fSlope;                   };
+          Float_t  GetOffset() const               { return fY;                       }; 
+          Float_t  GetTime0() const                { return fX;                       };
+          Float_t  GetRowz() const                 { return fRowz;                    };
+          Float_t  GetYproj(Float_t xpl) const;
+          Float_t  GetZproj(Float_t xpl) const;
+          Int_t    GetLabel() const                { return fLabel;                   };
+          Float_t  GetPt(Float_t field) const;
+          Float_t  GetQ() const                    { return fQ;                       };
 
  protected:
 
-  Float_t fX;                              // distance vertex to entrance window
-  Float_t fY;                              // tracklet offset at entrance window
-  Float_t fSlope;                          // tracklet slope
-  Float_t fRowz;                           // z coordinate of the pad row center
-  Int_t   fDetector;                       // detector number
-  Int_t   fRow;                            // pad row number 
-  Int_t   fNclusters;                      // number of clusters
-  Int_t   fLabel;                          // mc track label
-  Float_t fQ;                              // charge sum divided by number of clusters
-
-  ClassDef(AliTRDltuTracklet,2)
+          Float_t  fX;                              // Distance vertex to entrance window
+          Float_t  fY;                              // Tracklet offset at entrance window
+          Float_t  fSlope;                          // Tracklet slope
+          Float_t  fRowz;                           // z coordinate of the pad row center
+          Int_t    fDetector;                       // Detector number
+          Int_t    fRow;                            // Pad row number 
+          Int_t    fNclusters;                      // Number of clusters
+          Int_t    fLabel;                          // MC track label
+          Float_t  fQ;                              // Charge sum divided by number of clusters
+
+  ClassDef(AliTRDltuTracklet,2)                     // LTU tracklet
 
 };