fZ(0),
fSigmaX(0.005),
fSigmaY(0.005),
- fSigmaZ(0.010)
+ fSigmaZ(0.010),
+ fEventInfo(NULL)
{
//--------------------------------------------------------------------
// The default constructor.
fZ(atr.fZ),
fSigmaX(atr.fSigmaX),
fSigmaY(atr.fSigmaY),
- fSigmaZ(atr.fSigmaZ)
+ fSigmaZ(atr.fSigmaZ),
+ fEventInfo(atr.fEventInfo)
{
//--------------------------------------------------------------------
// The default constructor.
Bool_t
AliTracker::PropagateTrackTo(AliExternalTrackParam *track, Double_t xToGo,
-Double_t mass, Double_t maxStep, Bool_t rotateTo, Double_t maxSnp){
+ Double_t mass, Double_t maxStep, Bool_t rotateTo, Double_t maxSnp, Double_t sign){
//----------------------------------------------------------------
//
// Propagates the track to the plane X=xk (cm) using the magnetic field map
if (!track->PropagateTo(x,bz)) return kFALSE;
MeanMaterialBudget(xyz0,xyz1,param);
- Double_t xrho=param[0]*param[4], xx0=param[1];
+ Double_t xrho=param[0]*param[4]*sign, xx0=param[1];
if (!track->CorrectForMeanMaterial(xx0,xrho,mass)) return kFALSE;
if (rotateTo){
Bool_t
AliTracker::PropagateTrackToBxByBz(AliExternalTrackParam *track,
Double_t xToGo,
-Double_t mass, Double_t maxStep, Bool_t rotateTo, Double_t maxSnp){
+ Double_t mass, Double_t maxStep, Bool_t rotateTo, Double_t maxSnp,Double_t sign){
//----------------------------------------------------------------
//
// Propagates the track to the plane X=xk (cm)
if (!track->PropagateToBxByBz(x,b)) return kFALSE;
MeanMaterialBudget(xyz0,xyz1,param);
- Double_t xrho=param[0]*param[4], xx0=param[1];
+ Double_t xrho=param[0]*param[4]*sign, xx0=param[1];
if (!track->CorrectForMeanMaterial(xx0,xrho,mass)) return kFALSE;
if (rotateTo){