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
void fill(const edm::EventForOutput &iEvent, TTree &tree)
std::vector< NamedBranchPtr > m_evStringBranches
LuminosityBlockNumber_t luminosityBlock() const
bool getByToken(EDGetToken token, TypeID const &typeID, BasicHandle &result) const
void updateEventStringNames(TTree &, const std::string &)
bool m_update_only_at_new_lumi