44 virtual Bool_t
ActivateObjectAny(
void**,
const std::type_info&,
const char*) {
return kFALSE; }
68bool 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 Int_t CheckMaxEventNo(Int_t=0)
virtual void ReadBranchEvent(const char *, Int_t)
virtual Source_Type GetSourceType()=0
virtual Bool_t SpecifyRunId()=0
virtual Int_t ReadEvent(UInt_t=0)=0
virtual void ReadBranchEvent(const char *)
virtual Bool_t ReInitUnpackers()=0
virtual Bool_t ActivateObjectAny(void **, const std::type_info &, const char *)
virtual void SetParUnpackers()=0
virtual void FillEventHeader(FairEventHeader *feh)
virtual Bool_t ActivateObject(TObject **, const char *)
virtual Bool_t InitUnpackers()=0
void SetRunId(Int_t runId)
GLsizei GLsizei GLchar * source
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"