Hello experts,
Could someone help to resolve how to read the TList object from a THashList structure?
I try to:
TDirectory* dir_se_pairing = proData->GetDirectory("analysis-same-event-pairing");
THashList* hash_output = (THashList*)dir_se_pairing->FindObject("output");
TList* pairbarrelSEPM = (TList*)hash_output->FindObject("PairsBarrelSEPM_jpsiO2MCdebugCuts");
And the response:
warning: null passed to a callee that requires a non-null argument [-Wnonnull]
TList* pairbarrelSEPM = (TList*)hash_output->FindObject("PairsBarrelSEPM_jpsiO2MCdebugCuts");
Thanks in advance.
Best
Liuyao