Small but vital uppdate to BdstMrsAna.cxx

From: Mads Mikelsen (mads.mikelsen@fys.uio.no)
Date: Sun Mar 02 2003 - 15:33:37 EST

  • Next message: Apache: "Shift report 20030302 08:00-16:00"
    Hello
    
    I have dicovered an error in the code that fills global information
    for the MRS in BDST. To be more precise in the program
    
    BdstMrsAna.cxx
    
    On line 700 in the old bdst the global ntuple; nGlobal, is wrongfully
    filled:
    
    l700: nGlobal->Fill(trigger, bbMethod, cent);
    
    I have removed this line and updated cvs.
    
    The global ntuple had allready been filled correctly earlier
    in the function "Loop()":
    
    l645:nGlobal->Fill(trigger,bbMethod,vtx,cent);
    
    The global information should only be filled once. The way bdst worked
    before this uppdate centrality information was filled on top of
    the vertex information, giving a very strange vertex distribution to say
    the least.
    
    I discovered this error after trying to do event-normalisation for
    different vertexbins in my yields analasys, and getting some very strange
    restults. I tracked the problem back to bdst.
    
    NOTE. Since i have only been working with the MRS i have only checked this
    for the MRS analysis. I have not seen if a similar mistake is made in the
    FS analysis.
    
    Best regards from Mads
    


    This archive was generated by hypermail 2.1.5 : Sun Mar 02 2003 - 15:37:38 EST