13 std::string const productProvenance =
"BranchEntryInfo";
17 std::string const statusInformation =
"StatusInformation";
37 std::string const subRunAuxiliary = subRun + auxiliary;
38 std::string const eventAuxiliary =
event + auxiliary;
39 std::string const resultsAuxiliary = results + auxiliary;
41 std::string const runProductProvenance = run + productProvenance;
42 std::string const subRunProductProvenance = subRun + productProvenance;
43 std::string const eventProductProvenance =
event + productProvenance;
44 std::string const resultsProductProvenance = results + productProvenance;
46 std::string const runMajorIndex = runAuxiliary + majorIndex;
47 std::string const subRunMajorIndex = subRunAuxiliary + majorIndex;
48 std::string const eventMajorIndex = eventAuxiliary + majorIndex;
51 std::string const subRunMinorIndex = subRunAuxiliary +
".id_.subRun_";
52 std::string const eventMinorIndex = eventAuxiliary +
".id_.event_";
57 return (static_cast<size_t>(bt) < strs.size()) ? *strs[bt] :
79 return select(bt, {&eventMeta, &subRunMeta, &runMeta, &resultsMeta});
87 {&eventAuxiliary, &subRunAuxiliary, &runAuxiliary, &resultsAuxiliary});
94 {&eventProductProvenance,
95 &subRunProductProvenance,
96 &runProductProvenance,
97 &resultsProductProvenance});
103 return select(bt, {&eventMajorIndex, &subRunMajorIndex, &runMajorIndex});
109 return select(bt, {&eventMinorIndex, &subRunMinorIndex, &runMinorIndex});
std::string const & BranchTypeToProductTreeName(BranchType const bt)
std::string const & productProvenanceBranchName(BranchType const bt)
std::string const & BranchTypeToMajorIndexName(BranchType const bt)
std::string const & BranchTypeToMinorIndexName(BranchType const bt)
std::string const & BranchTypeToMetaDataTreeName(BranchType const bt)
std::string const & BranchTypeToAuxiliaryBranchName(BranchType const bt)
auto select(T const &...t)
std::string const & BranchTypeToString(BranchType const bt)