52 outfit->Add(s.c_str());
57 Int_t FT{}, slot{}, channel{};
63 outfit->SetBranchAddress(
"channelId", &channelId);
64 outfit->SetBranchAddress(
"FT", &FT);
65 outfit->SetBranchAddress(
"slot", &slot);
66 outfit->SetBranchAddress(
"channel", &channel);
67 outfit->SetBranchAddress(
"gain", &gain);
69 outfit->SetBranchAddress(
"Tdiff", &tdiff);
72 outfit->SetBranchAddress(
"OFCBin", &
bin);
76 auto larOFCParams = std::make_unique<LArOFCBinComplete>();
79 auto larTdiffParams = std::make_unique<LArPhysCaliTdiffComplete>();
81 ATH_CHECK ( larTdiffParams->initialize() );
87 Long64_t nentries = outfit->GetEntries();
88 for ( Long64_t i = 0; i < nentries; i++ )
91 ATH_MSG_INFO (
" Chan " << std::hex << channelId << std::dec );
95 if(FT != onlineHelper->
feedthrough(
id) || slot != onlineHelper->
slot(
id) || channel != onlineHelper->
channel(
id)) {
106 if(
m_filltdiff) larTdiffParams->set(
id,gain,tdiff);
123 ATH_MSG_INFO (
"LArOFCBin_PhysCaliTdiffFromStdNtuple finalized!" );
124 return StatusCode::SUCCESS;