12 existing.buffer =
false;
13 if (evstring==existing.name) {existing.buffer =
true; found=
true;}
15 if (!found && (!evstring.empty())){
17 bool backFillValue =
false;
18 nb.
branch = tree.Branch(nb.
name.c_str(), &backFillValue, (nb.
name +
"/O").c_str());
22 m_evStringBranches.push_back(nb);
23 for (
auto & existing : m_evStringBranches) existing.branch->SetAddress(&(existing.buffer));
EventID const & id() const
BasicHandle getByToken(EDGetToken token, TypeID const &typeID) const
void fill(const edm::EventForOutput &iEvent, TTree &tree)
std::vector< NamedBranchPtr > m_evStringBranches
LuminosityBlockNumber_t luminosityBlock() const
void updateEventStringNames(TTree &, const std::string &)
bool m_update_only_at_new_lumi