diff --git a/CALIBRATION/bcm_current_calib/ScalerCalib.C b/CALIBRATION/bcm_current_calib/ScalerCalib.C index b28bb9ed0597a875d31d3d7f9c63eb6d3ff15467..2a6cbff59344b6476b4371b1405dbb05af6427b5 100644 --- a/CALIBRATION/bcm_current_calib/ScalerCalib.C +++ b/CALIBRATION/bcm_current_calib/ScalerCalib.C @@ -165,14 +165,18 @@ int ScalerCalib::FillContainer() T->SetBranchAddress(bname[3].c_str(), &bcm4b_current); T->SetBranchAddress(bname[4].c_str(), &bcm17_current); + const double kBig = 1.e38; + Long64_t nentries = T->GetEntries(); for(Long64_t ientry=0; ientry<nentries; ientry++) { T->GetEntry(ientry); - if(evnumber < 0) continue; + if(evnumber < 0) + evnum.push_back(kBig); + else + evnum.push_back(evnumber); - evnum.push_back(evnumber); bcm1.push_back(bcm1_current); bcm2.push_back(bcm2_current); bcm4a.push_back(bcm4a_current);