]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSNeuralPoint.h
A simple readme file for all the files stored in this dir.
[u/mrichter/AliRoot.git] / ITS / AliITSNeuralPoint.h
index 631746d8198f062c183bf3738a289192778a8b88..5a1d2fc40bb0fd51ae53fdb7fb8bc260cc35a2e4 100644 (file)
@@ -1,12 +1,16 @@
 #ifndef ALIITSNEURALPOINT_H
 #define ALIITSNEURALPOINT_H
-
-#include <TMath.h>
-
+///////////////////////////////////////////////////////////////
+// AliITSneuralPoint                                         //
+//                                                           //
+// A class which resumes the information of ITS clusters     //
+// in the global reference frame.                            //
+// Author: A. Pulvirenti                                     //
+///////////////////////////////////////////////////////////////
 class AliITSgeom;
 class AliITSgeomMatrix;
 class AliITSRecPoint;
-class AliITSclusterV2;
+class AliITSRecPoint;
 
 class AliITSNeuralPoint : public TObject {
 
@@ -15,9 +19,9 @@ public:
        AliITSNeuralPoint();
        AliITSNeuralPoint(AliITSNeuralPoint *p);
        AliITSNeuralPoint(AliITSRecPoint *rp, AliITSgeomMatrix *gm);
-       AliITSNeuralPoint(AliITSclusterV2 *rp, AliITSgeom *geom, Short_t module, Short_t index);
+       AliITSNeuralPoint(AliITSRecPoint *rp, AliITSgeom *geom, Short_t module, Short_t index);
 
-       virtual ~ AliITSNeuralPoint() { }
+       virtual ~AliITSNeuralPoint() { }
 
        Double_t& X()    {return fX;}   // reference to X coord
        Double_t& Y()    {return fY;}   // reference to Y coord
@@ -51,23 +55,23 @@ public:
        void      SetModule(Short_t val)        {fModule = val;}
        void      SetUser(Short_t val)          {fUser = val;}
        
-       Bool_t    HasID (Int_t ID);
-       Int_t*    SharedID(AliITSNeuralPoint *p);
+       Bool_t    HasID (Int_t ID) const;
+       Int_t*    SharedID(AliITSNeuralPoint *p) const;
 
 protected:
        
        Int_t     Chk(Int_t i) const {if(i<0)i=0;if(i>=3)i=3;return i;}
 
-       Double_t  fX;   //
+       Double_t  fX;   // position 
        Double_t  fY;   // position
-       Double_t  fZ;   //
+       Double_t  fZ;   // position
        
        Double_t  fConfX; // conformal mapping X
        Double_t  fConfY; // conformal mapping Y
                
-       Double_t  fEX;  //
+       Double_t  fEX;  // position error
        Double_t  fEY;  // position error
-       Double_t  fEZ;  //
+       Double_t  fEZ;  // position error
 
        Double_t  fCharge;   // total charge signal in cluster