16 #include "TBranchBrowsable.h"
22 class BranchToClass :
private TVirtualBranchBrowsable {
24 static TClass* doit(
const TBranch* iBranch);
28 BranchToClass() =
delete;
31 TClass* BranchToClass::doit(
const TBranch* iBranch) {
32 TClass* contained =
nullptr;
33 TClass*
type = TVirtualBranchBrowsable::GetCollectionContainedType(iBranch,
nullptr, contained);
34 if (
type ==
nullptr) {
42 TClass*
branchToClass(
const TBranch* iBranch) {
return BranchToClass::doit(iBranch); }