14 #include <fmt/format.h>
21 {
"char",
"B" }, {
"unsigned char",
"b" }, {
"short",
"S" }, {
"unsigned short",
"s" },
22 {
"int",
"I" }, {
"unsigned int",
"i" }, {
"float",
"F" }, {
"double",
"D" },
23 {
"long long",
"L" }, {
"unsigned long long",
"l" }, {
"long",
"G" }, {
"unsigned long",
"g" },
27 auto getLeafListForType(
const std::string_view&
typeName ) {
38 : m_className( className ), m_branchName( branchName ), m_location(
location ), m_algRef( algRef ) {
39 auto leafListTag = getLeafListForType(
m_className );
40 if ( !leafListTag.empty() ) {
44 setBranchAddress = []( gsl::not_null<TBranch*> br,
void** wrappedDataPtr ) { br->SetAddress( *wrappedDataPtr ); };
49 setBranchAddress = []( gsl::not_null<TBranch*> br,
void** wrappedDataPtr ) { br->SetAddress( wrappedDataPtr ); };