File indexing completed on 2025-08-12 02:29:05
0001 #include "L1TriggerScouting/Utilities/plugins/SelectedBxTableOutputBranches.h"
0002
0003 void SelectedBxTableOutputBranches::beginFill(const edm::OccurrenceForOutput &iWhatever, TTree &tree) {
0004 if (m_branch == nullptr) {
0005 m_branch = tree.Branch(m_name.c_str(), &m_value, (m_name + "/O").c_str());
0006 m_branch->SetTitle("SelectionBx bit");
0007 }
0008 iWhatever.getByToken(m_token, m_handle);
0009 m_bitset.reset();
0010 for (unsigned bx : *m_handle) {
0011 m_bitset[bx] = true;
0012 }
0013 }