/*
$Log$
+Revision 1.6 2003/11/13 14:21:57 morsch
+Coding Rule violation corrections.
+
Revision 1.5 2003/08/13 17:37:29 hristov
Bug fix (Alpha)
// Float_t dpmax = 5. + ip * 2.5;
// Float_t dpmax = 5. + ip * 2;
Float_t dpmax;
- if (sigmag2<999.) dpmax = 5. * (sigmap + sigmag2);
- else dpmax = 5. * sigmap;
+ if (sigmag2<999.) dpmax = 5. * TMath::Abs(sigmap + sigmag2);
+ else dpmax = 5. * TMath::Abs(sigmap);
Float_t dp = 100;
while (pS<0 || TMath::Abs(dp)>dpmax) {
pS = p + fitp->GetRandom();
/*
$Log$
+Revision 1.9 2004/02/03 16:45:20 morsch
+Unique name for functions (TF1).
+
Revision 1.8 2004/01/27 18:02:38 hristov
Removing some warning (Sun)
Double_t sigma2 = par[1] * par[5];
Double_t fgauss = TMath::Exp(-0.5 * dx2 * dx2 / (sigma2 * sigma2));
Double_t value = fasymm + par[3] * fgauss;
- return value;
+ return TMath::Abs(value);
}
AliMUONFastTracking::AliMUONFastTracking(const AliMUONFastTracking & ft):TObject()