]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliComplexCluster.h
Print removed
[u/mrichter/AliRoot.git] / TPC / AliComplexCluster.h
index c7db51564bb0b71e4ba8651bac3573bac3d4cf3f..3eff8f5cc4b9ebf85d791c9c24d39e96592336c2 100644 (file)
@@ -4,16 +4,23 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
+//
+// this is a class
+// AliComplexCluster
+// by M. Ivanov
+//
 
 #include "TObject.h"
 #include "TMath.h"
 #include "AliTPCclusterMI.h"
+//
 
 class AliComplexCluster : public TObject {
-public:
   friend class AliTPC;
   friend class AliTPCClusterFinder;
   friend class AliClusters;
+  friend class AliTPCFast;
+public:
 
   AliComplexCluster() {
     fTracks[0]=fTracks[1]=fTracks[2]=0; 
@@ -22,6 +29,17 @@ public:
   virtual ~AliComplexCluster() {;}
   Bool_t    IsSortable() const;
   Int_t Compare(const TObject *o) const;
+  // the following getters are needed by HLT
+  // please dont remove... C. Loizides
+  Int_t GetTrack(Int_t i)const {return fTracks[i];} //labels of overlapped tracks
+  Float_t GetX()const {return fX;}
+  Float_t GetY()const {return fY;}
+  Float_t GetQ()const {return fQ;}
+  Float_t GetSigmaX2()const {return fSigmaX2;}
+  Float_t GetSigmaY2()const {return fSigmaY2;}
+  Float_t GetSigmaXY()const {return fSigmaXY;}
+  Float_t GetArea()const {return fArea;}
+  Float_t GetMax()const {return fMax;}
 private:
   Int_t     fTracks[3];//labels of overlapped tracks
   Float_t   fX ;       //Y of cluster
@@ -37,23 +55,12 @@ private:
     // Cluster manager
 };
 
-class AliDigitCluster : public AliComplexCluster {
-public:
-  friend class AliTPCClusterFinder;
-private:
-  Int_t fNx; //number of accepted x bins
-  Int_t fNy; //number of accepted y bins
-  Float_t fMaxX; //maximum x bin
-  Float_t fMaxY; //maximum y bin
-
-  ClassDef(AliDigitCluster,1)  // Tclusters
-};
-
 
 
 class AliTPCTrackerPoint  {  
+  friend class AliTPCtrackerMI;
+  friend class AliTPCseed;
  public:
-  Char_t   fIsShared;     // indicate sharing of the point between several tracks
 
   AliTPCTrackerPoint(){fTX=0; fTY=0; fTZ=0; fTAngleZ=0; fTAngleY=0; fIsShared = 0;}
   Float_t  GetX() const  {return (fTX*0.01);}
@@ -87,6 +94,7 @@ class AliTPCTrackerPoint  {
   UShort_t  fSigmaY;     // shape  Y - normalised shape - normaliziation 1 - precision 2 percent
   UShort_t  fErrZ;       // z error estimate - in  mm - 50 mum precision 
   UShort_t  fErrY;       // y error estimate - in  mm - 50 mum precision 
+  Char_t   fIsShared;     // indicate sharing of the point between several tracks
 
   ClassDef(AliTPCTrackerPoint,1)  
 };
@@ -94,13 +102,13 @@ class AliTPCTrackerPoint  {
 class AliTPCClusterPoint  {
  public:
   AliTPCClusterPoint(){fCZ=fCY=fSigmaZ=fSigmaY=fQ=fMax=fCType=0;}
-  inline Float_t  GetZ() const    {return (fCZ*0.01);}
-  inline Float_t  GetY() const   {return (fCY*0.01);}
-  inline Float_t  GetSigmaZ() const {return (fSigmaZ*0.02);}
-  inline Float_t  GetSigmaY() const {return (fSigmaY*0.02);}  
-  inline Int_t  GetType() const  {return fCType;}
-  inline Int_t  GetMax()  const {return fMax;}
-  inline Float_t  GetQ()  const {return fQ;}
+  Float_t  GetZ() const    {return (fCZ*0.01);}
+  Float_t  GetY() const   {return (fCY*0.01);}
+  Float_t  GetSigmaZ() const {return (fSigmaZ*0.02);}
+  Float_t  GetSigmaY() const {return (fSigmaY*0.02);}  
+  Int_t  GetType() const  {return fCType;}
+  Int_t  GetMax()  const {return fMax;}
+  Float_t  GetQ()  const {return fQ;}
 
   //
   void     SetY(Float_t y){ fCY = Short_t(TMath::Nint(y*100.));} 
@@ -125,6 +133,7 @@ class AliTPCClusterPoint  {
 
 
 class AliTPCExactPoint : public TObject{
+  friend class AliTPCtrackerMI;
  public:
   AliTPCExactPoint(){fEZ=fEY=fEAngleZ=fEAngleY=fEAmp=fEPrim=fTrackID=0;}
  private:
@@ -138,14 +147,13 @@ class AliTPCExactPoint : public TObject{
   Int_t   fTrackID;  // id of the track
   Int_t   fRow;      // row
   Int_t   fSec;      //sector
-  friend class AliTPCtrackerMI;
   ClassDef(AliTPCExactPoint,1)  
 };
 
 
 class AliTPCTrackPoint: public TObject{
- public:
   friend class AliTPCtrackerMI;
+ public:
   AliTPCTrackPoint(){}
   // AliTPCClusterPoint & GetCPoint(){return fCPoint;}
   AliTPCTrackerPoint & GetTPoint(){return fTPoint;}
@@ -159,8 +167,8 @@ class AliTPCTrackPoint: public TObject{
 };
 
 class AliTPCTrackPoint2: public AliTPCTrackPoint{
- public:
   friend class AliTPCtrackerMI;
+ public:
   AliTPCTrackPoint2(){}
  private: 
   Float_t fGX;    //global poition of the point
@@ -188,8 +196,8 @@ class AliTPCTrackPoint2: public AliTPCTrackPoint{
 
 
 class AliTPCTrackPointRef: public AliTPCTrackPoint{
- public:
   friend class AliTPCtrackerMI;
+ public:
   AliTPCExactPoint & GetExactPoint(){return fEPoint;}
   AliTPCExactPoint & GetNearestPoint(){return fNPoint;}  
  private: