]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
wrong sign of alpha parameter in AP plot fixed
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Dec 2009 16:50:55 +0000 (16:50 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Dec 2009 16:50:55 +0000 (16:50 +0000)
-This line, and those below, will be ignored--

M    physics/AliHLTV0HistoComponent.cxx

HLT/global/physics/AliHLTV0HistoComponent.cxx

index 4f5c77b60824c981c6e4bf75a312ab79efd55080..189a5da3e2fbb93162977b3ed78e601059f322a7 100644 (file)
@@ -295,7 +295,7 @@ int AliHLTV0HistoComponent::DoEvent(const AliHLTComponentEventData& evtData, Ali
        double l1 = (px*px1 + py*py1 + pz*pz1)/p;
        double l2 = (px*px2 + py*py2 + pz*pz2)/p;
        pt = sqrt(px1*px1+py1*py1+pz1*pz1 - l1*l1);
-       ap = (l1-l2)/(l1+l2);
+       ap = (l2-l1)/(l1+l2);
       }
       
       if(