fLayColor[i] = 0;
fLayMedia[i] = 0;
};
-};
+}
//________________________________________________________________________
AliITSv11GeomCableFlat::
fLayColor[i] = 0;
fLayMedia[i] = 0;
};
-};
+}
//________________________________________________________________________
AliITSv11GeomCableFlat::AliITSv11GeomCableFlat(const AliITSv11GeomCableFlat &s) :
// Get the correct point #iCheckPt
TVectorD *coordVector =(TVectorD *)fPointArray.At(2*iCheckPt);
if (coordVector) {
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
} else {
return kFALSE;
};
-};
+}
//________________________________________________________________________
TVectorD *coordVector =(TVectorD *)fPointArray.At(2*iCheckPt+1);
if (coordVector) {
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
} else {
return kFALSE;
};
-};
+}
//________________________________________________________________________
TVectorD *vect = new TVectorD(3,orthVect);
fPointArray.AddAtAndExpand(point, iCheckPt*2 );
fPointArray.AddAtAndExpand(vect, iCheckPt*2+1);
-};
+}
//________________________________________________________________________
void AliITSv11GeomCableFlat::PrintCheckPoints() const {
if (GetPoint( i, coord))
printf(" ( %.2f, %.2f, %.2f )\n", coord[0], coord[1], coord[2]);
};
-};
+}
//________________________________________________________________________
Int_t AliITSv11GeomCableFlat::CreateAndInsertCableSegment(Int_t p2,
// p2Vol->AddNode(vSphere, p2*3 , tr2);
return kTRUE;
-};
+}
//________________________________________________________________________
TGeoVolume *AliITSv11GeomCableFlat::CreateSegment( Double_t *coord1,
vCableSeg->SetVisibility(kFALSE);
return vCableSeg;
-};
+}
//________________________________________________________________________
fLayMedia[i] = 0;
};
};
-};
+}
//________________________________________________________________________
Int_t AliITSv11GeomCableFlat::SetLayer(Int_t nLayer, Double_t thick,
fLayColor[nLayer] = color;
fTranslation[nLayer] = 0;
return kTRUE;
-};
+}