#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 {
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
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