JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Small typo in THcShower.cxx array #480

Open Yero1990 opened 2 years ago

Yero1990 commented 2 years ago

While trying to find a separate issue (outside hcana) with why Im not getting etottracknorm in HMS (most likely a cuts file), I found a small type on a variable that is used by a function to set default pedestals in THcShower.h

See DBRequest list[] in THcShower.cxx

    {"cal_PedNegDefault", fPedNegDefault, kInt, static_cast<UInt_t>(fNTotBlocks),1},
    {"cal_PedPosDefault", fPedNegDefault, kInt, static_cast<UInt_t>(fNTotBlocks),1},

where the positive pedestal default parameter is actually read in as if it were the negative side.