Print

Print


Hi all,
something weird is happening in recoilNtp code:
I see
    fHistFile->cd();
    ((TH1D*)gDirectory->Get("meszero"))->Fill(mseB0[0]);
    ((TH1D*)gDirectory->Get("meszero"))->Fill(mseChB[0]);
    if(bestB0) {
      ((TH1D*)gDirectory->Get("mesbest"))->Fill(mseB0[indexbestB]);
    }else{
      ((TH1D*)gDirectory->Get("mesbest"))->Fill(mseChB[indexbestB]);
    }

either in findbestB option and Loop function.
We are fillling those histos twice:
why?

Alessio

______________________________________________________
Alessio Sarti     Universita' & I.N.F.N. Ferrara
 tel  +39-0532-781928  Ferrara
roma  +39-06-49914338
SLAC +001-650-926-2972