|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef ROOTAUXDYN_DEFS_H
5 #define ROOTAUXDYN_DEFS_H
62 std::string branch_name = baseBranchName;
63 if( !branch_name.empty() and branch_name.back() ==
'.' ) branch_name.pop_back();
74 std::string field_name = baseName;
75 if (field_name.ends_with(
':')) {
76 field_name.pop_back();
constexpr char AUX_POSTFIX[]
Common post-fix for the names of auxiliary containers in StoreGate.
constexpr char AUXDYN_POSTFIX[]
bool removeAuxPostfix(std::string &str)
if a string ends with AUX_POSTFIX then remove it
std::string auxBranchName(const std::string &attr_name, const std::string &baseBranchName)
Construct branch name for a given dynamic attribute.
std::string auxFieldName(const std::string &attr_name, const std::string &baseName)
Construct field name for a given dynamic attribute.
bool endsWithAuxPostfix(std::string_view str)
Check if a string ends with AUX_POSTFIX.
Specialization of RootAuxDynStore for reading Aux Dynamic attributes from RNTuple.
constexpr size_t AUXDYN_POSTFIX_LEN
constexpr size_t AUX_POSTFIX_LEN