20 TString name(Form(
"Pedestal_serial_%08X_ch_%02d_smpl_%d", ser, ch, smpl));
21 const Int_t n_spills = 40;
22 auto p =
fAdcHists.insert(make_pair(
AdcKey(ser, ch, smpl), std::make_unique<TH1D>(name, name, n_spills, 0, n_spills)));
24 it->second->SetDirectory(0);
27 h->SetBinContent(spill_id, content);
28 printf(
"Pedestal serial %08X ch %2d smpl %3d spill %d %4.2f\n", ser, ch, smpl, spill_id, content);