[Brahms-dev-l] small change in banapp, DstLoopModule.cxx

From: <i.c.arsene_at_fys.uio.no>
Date: Fri, 29 Sep 2006 11:43:35 +0200 (CEST)
   Hi,

   I made a small fix in the file DstLoopModule.cxx from banapp, in the
Loop() function where the event selection based on vertex is done:
     This was before:
  Float_t vtxZ = (fInelCCVtx ? fDstReader->G_fCcVtxZ[0] : bbVtxZ);
      // lets check if we are inside desired vertex range, if not we go to
the next
      if (fGlobal->InsideVertexCut(bbVtxZ)) {
         .........
      }
    and this is now:
  Float_t vtxZ = (fInelCCVtx ? fDstReader->G_fCcVtxZ[0] : bbVtxZ);
      // lets check if we are inside desired vertex range, if not we go to
the next
      if (fGlobal->InsideVertexCut(vtxZ)) {
         .........
      }
   The difference is that now we can make selection using the cc vertex if
this is specified by the --inel-cc option in the dst2tree program.

              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 Sep 29 2006 - 07:56:53 EDT

This archive was generated by hypermail 2.2.0 : Fri Sep 29 2006 - 07:57:18 EDT