11 #include <framework/pybasf2/PyDBArray.h>
12 #include <framework/datastore/DataStore.h>
14 #include <TClonesArray.h>
22 TClass* getDefaultClass(
const std::string& name)
26 TClass* cl = TClass::GetClass((
"Belle2::" + name.substr(0, name.size() - 1)).c_str());
29 cl = TClass::GetClass(name.c_str());
31 if (!cl)
return TObject::Class();
38 return getObject<TClonesArray>()->At(i);
43 return isValid() ? (getObject<TClonesArray>()->GetEntriesFast()) : 0;