+//_____________________________________________________________
+AliITSRecPoint::AliITSRecPoint(): AliCluster(),
+fXloc(0),
+fZloc(0),
+fdEdX(0),
+fIndex(0),
+fQ(0),
+fLayer(0),
+fNz(0),
+fNy(0),
+fChargeRatio(0),
+fType(0),
+fDeltaProb(0)
+{
+ // default constructor
+}
+
+//________________________________________________________________________
+AliITSRecPoint::AliITSRecPoint(Int_t *lab,Float_t *hit, Int_t *info, Bool_t local):
+AliCluster(AliAlignObj::LayerToVolUID((info[2]+AliAlignObj::kSPD1),lab[3]&0x3FF),hit,0,0,lab),
+fXloc(0),
+fZloc(0),
+fdEdX(0),
+fIndex(lab[3]),
+fQ(hit[4]),
+fLayer(info[2]),
+fNz(info[1]),
+fNy(info[0]),
+fChargeRatio(0),
+fType(0),
+fDeltaProb(0)
+{
+ //standard constructor used in AliITSClusterFinderV2
+
+ if (!local) { // Cluster V2
+ Double_t txyz[3] = {GetX(), GetY(), GetZ()};
+ Double_t lxyz[3] = {0, 0, 0};
+ GetTracking2LocalMatrix()->LocalToMaster(txyz,lxyz);
+ fXloc = lxyz[0]; fZloc = lxyz[2];
+ }
+ else {
+ switch (fLayer) {
+ case 0:
+ case 1:
+ fdEdX = 0;
+ break;
+ case 2:
+ case 3:
+ fdEdX=fQ*1e-6;
+ break;
+ case 4:
+ case 5:
+ fdEdX=fQ*2.16;
+ break;
+ default:
+ AliError(Form("Wrong ITS layer %d (0 -> 5)",fLayer));
+ break;
+ }
+ fXloc = hit[0];
+ fZloc = hit[1];
+ Double_t lxyz[3] = {fXloc, 0, fZloc};
+ Double_t txyz[3] = {0, 0, 0};
+ GetTracking2LocalMatrix()->MasterToLocal(lxyz,txyz);
+
+ SetX(0.); SetY(txyz[1]); SetZ(txyz[2]);
+
+ }
+