38 virtual Bool_t
Init() = 0;
41 virtual void Close() = 0;
42 virtual void Reset() = 0;
44 virtual Bool_t
ActivateObjectAny(
void**,
const std::type_info&,
const char*) {
return kFALSE; }
68 bool ActivateObjectAnyImpl(S* source,
void** obj,
const std::type_info& info,
const char* brname)
71 auto br = source->GetBranch(brname);
78 auto cl = TClass::GetClass(br->GetClassName());
84 auto storedtype = cl->GetTypeInfo();
87 if (info.hash_code() != storedtype->hash_code()) {
88 LOG(info) <<
"Trying to read from branch " << brname <<
" with wrong type " << info.name()
89 <<
" (expected: " << storedtype->name() <<
")\n";
92 source->SetBranchStatus(brname, 1);
94 source->SetBranchAddress(brname, (
void*)obj);
virtual void SetParUnpackers()=0
virtual Bool_t ActivateObjectAny(void **, const std::type_info &, const char *)
virtual Int_t ReadEvent(UInt_t=0)=0
virtual Source_Type GetSourceType()=0
virtual void FillEventHeader(FairEventHeader *feh)
virtual void ReadBranchEvent(const char *)
virtual void ReadBranchEvent(const char *, Int_t)
void SetRunId(Int_t runId)
virtual Bool_t InitUnpackers()=0
virtual Bool_t SpecifyRunId()=0
virtual Int_t CheckMaxEventNo(Int_t=0)
virtual Bool_t ReInitUnpackers()=0
virtual Bool_t ActivateObject(TObject **, const char *)