[Brahms-dev-l] Small bug fix in banapp AcceptanceMaps.h

From: <i.c.arsene_at_fys.uio.no>
Date: Fri, 16 Mar 2007 16:08:18 +0100 (CET)
         Hi,

       I spotted a small bug in AcceptanceMaps.h,
GetPtVsYAcceptedDS(Float_t vtx, Int_t pid=Selector::kHadron)
function. This function returns the accepted map for a given vertex
and pid. The bug was that the function was returning always the
histogram for non-identified particles (Selector::kHadron).
     Old code:
TH2F*    GetPtVsYAcceptedDS(Float_t vtx, Int_t pid=Selector::kHadron)
  { return GetPtVsYAcceptedDS(GetVtxBinNumber(vtx)); }

      New code:
TH2F*    GetPtVsYAcceptedDS(Float_t vtx, Int_t pid=Selector::kHadron)
  { return GetPtVsYAcceptedDS(GetVtxBinNumber(vtx), pid); }

       This bug does not have impact over the results. This function is
used only in the splitMrsMap.cxx program used for charge splitting
MRS acc maps and i observed it accidentally.
      I bumped the banapp version to 1.3.1

                Cheers,
                     Ionut

_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l_at_lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Fri Mar 16 2007 - 11:09:11 EDT

This archive was generated by hypermail 2.2.0 : Fri Mar 16 2007 - 11:09:33 EDT