]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDseed.h
Modified file access mode
[u/mrichter/AliRoot.git] / TRD / AliTRDseed.h
index 11e6e69bb2975923ebdcbfd5ee42e409ef9446d6..d843fdf1f6eb0973884baa1eaef91fff51fb49e2 100644 (file)
@@ -1,6 +1,5 @@
 #ifndef ALITRDSEED_H
-#define ALITRDSEED_H   
-
+#define ALITRDSEED_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */ 
 
@@ -23,7 +22,7 @@ class AliTRDseed : public TObject {
 
   AliTRDseed(); 
   AliTRDseed(const AliTRDseed &s);
-  ~AliTRDseed() {};                 
+  virtual ~AliTRDseed() {};
 
   AliTRDseed      &operator=(const AliTRDseed &s)           { *(new(this) AliTRDseed(s)); 
                                                               return *this;          }
@@ -41,6 +40,8 @@ class AliTRDseed : public TObject {
           Float_t  GetTilt() const                          { return fTilt;          }
           Float_t  GetPadLength() const                     { return fPadLength;     }
           Float_t  GetX0() const                            { return fX0;            }
+          Float_t  GetY0() const                            { return fYfit[0];       }
+          Float_t  GetZ0() const                            { return fZfit[0];       }
           Float_t  GetX(Int_t i) const                      { return fX[i];          }
           Float_t  GetY(Int_t i) const                      { return fY[i];          }
           Float_t  GetZ(Int_t i) const                      { return fZ[i];          }
@@ -65,6 +66,7 @@ class AliTRDseed : public TObject {
           Float_t  GetChi2() const                          { return fChi2;          }
           Float_t  GetChi2Z() const                         { return fChi2Z;         }
 
+                               
           void     SetTilt(Float_t tilt)                    { fTilt        = tilt;   }
           void     SetPadLength(Float_t len)                { fPadLength   = len;    }
           void     SetX0(Float_t x0)                        { fX0          = x0;     }
@@ -97,39 +99,39 @@ class AliTRDseed : public TObject {
 
           void     Copy(TObject &o) const;
           
-          Float_t  fTilt;               //  Tilting angle
-          Float_t  fPadLength;          //  Pad length
-          Float_t  fX0;                 //  X0 position
-          Float_t  fX[knTimebins];      //! X position
-          Float_t  fY[knTimebins];      //! Y position
-          Float_t  fZ[knTimebins];      //! Z position
-          Int_t    fIndexes[knTimebins];//! Indexes
-          AliTRDcluster *fClusters[knTimebins]; // Clusters
-          Bool_t   fUsable[knTimebins]; //! Indication  - usable cluster
-          Float_t  fYref[2];            //  Reference y
-          Float_t  fZref[2];            //  Reference z
-          Float_t  fYfit[2];            //  Y fit position +derivation
-          Float_t  fYfitR[2];           //  Y fit position +derivation
-          Float_t  fZfit[2];            //  Z fit position
-          Float_t  fZfitR[2];           //  Z fit position
-          Float_t  fSigmaY;             //  "Robust" sigma in Y - constant fit
-          Float_t  fSigmaY2;            //  "Robust" sigma in Y - line fit
-          Float_t  fMeanz;              //  Mean vaue of z
-          Float_t  fZProb;              //  Max probbable z
-          Int_t    fLabels[2];          //  Labels
-          Int_t    fN;                  //  Number of associated clusters
-          Int_t    fN2;                 //  Number of not crossed
-          Int_t    fNUsed;              //  Number of used clusters
-          Int_t    fFreq;               //  Frequency
-          Int_t    fNChange;            //  Change z counter
-          Float_t  fMPads;              //  Mean number of pads per cluster
-
-          Float_t  fC;                  //  Curvature
-          Float_t  fCC;                 //  Curvature with constrain
-          Float_t  fChi2;               //  Global chi2
-          Float_t  fChi2Z;              //  Global chi2
-
-  ClassDef(AliTRDseed,1)                //  Seed for a local TRD track
+          Float_t        fTilt;                 //  Tilting angle
+          Float_t        fPadLength;            //  Pad length
+          Float_t        fX0;                   //  X0 position
+          Float_t        fX[knTimebins];        //! X position
+          Float_t        fY[knTimebins];        //! Y position
+          Float_t        fZ[knTimebins];        //! Z position
+          Int_t          fIndexes[knTimebins];  //! Indexes
+          AliTRDcluster *fClusters[knTimebins]; //  Clusters
+          Bool_t         fUsable[knTimebins];   //  Indication  - usable cluster
+          Float_t        fYref[2];              //  Reference y
+          Float_t        fZref[2];              //  Reference z
+          Float_t        fYfit[2];              //  Y fit position +derivation
+          Float_t        fYfitR[2];             //  Y fit position +derivation
+          Float_t        fZfit[2];              //  Z fit position
+          Float_t        fZfitR[2];             //  Z fit position
+          Float_t        fSigmaY;               //  "Robust" sigma in Y - constant fit
+          Float_t        fSigmaY2;              //  "Robust" sigma in Y - line fit
+          Float_t        fMeanz;                //  Mean vaue of z
+          Float_t        fZProb;                //  Max probbable z
+          Int_t          fLabels[2];            //  Labels
+          Int_t          fN;                    //  Number of associated clusters
+          Int_t          fN2;                   //  Number of not crossed
+          Int_t          fNUsed;                //  Number of used clusters
+          Int_t          fFreq;                 //  Frequency
+          Int_t          fNChange;              //  Change z counter
+          Float_t        fMPads;                //  Mean number of pads per cluster
+
+          Float_t        fC;                    //  Curvature
+          Float_t        fCC;                   //  Curvature with constrain
+          Float_t        fChi2;                 //  Global chi2
+          Float_t        fChi2Z;                //  Global chi2
+
+  ClassDef(AliTRDseed,1)                        //  Seed for a local TRD track
 
 };