From: hristov Date: Mon, 21 May 2001 17:42:58 +0000 (+0000) Subject: Constant casted to avoid the ambiguity X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=26edf6a43b23610ec8befa3a19dfb488e945fb62;p=u%2Fmrichter%2FAliRoot.git Constant casted to avoid the ambiguity --- diff --git a/TRD/AliTRDclusterizerV1.cxx b/TRD/AliTRDclusterizerV1.cxx index 4a0e43cf352..d05df732f87 100644 --- a/TRD/AliTRDclusterizerV1.cxx +++ b/TRD/AliTRDclusterizerV1.cxx @@ -15,6 +15,9 @@ /* $Log$ +Revision 1.11 2001/05/21 16:45:47 hristov +Last minute changes (C.Blume) + Revision 1.10 2001/05/07 08:06:44 cblume Speedup of the code. Create only AliTRDcluster @@ -627,7 +630,7 @@ Float_t AliTRDclusterizerV1::Unfold(Float_t eps, Float_t* padSignal) newRightSignal[2] = ampRight * PadResponse( 1 - maxRight); // Calculate new overlapping ratio - ratio = TMath::Min(1.0,newLeftSignal[2] / + ratio = TMath::Min((Float_t)1.0,newLeftSignal[2] / (newLeftSignal[2] + newRightSignal[0])); }