Skip to content

Commit

Permalink
DPL Analysis: copy parentFiles in AO2D -> RNTuple converter
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Dec 13, 2024
1 parent a2ee722 commit 5c1a8d6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Framework/Core/test/o2AO2DToAO3D.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ int main(int argc, char** argv)
out->WriteTObject(copy);
continue;
}
if (dk->GetName() == std::string("parentFiles")) {
TMap* m = dynamic_cast<TMap*>(in->Get(dk->GetName()));
m->Print();
auto* copy = m->Clone("parentFiles");
out->WriteTObject(copy);
continue;
}
auto* d = (TDirectory*)in->Get(dk->GetName());
std::cout << "Processing: " << dk->GetName() << std::endl;
// For the moment RNTuple does not support TDirectory, so
Expand Down

0 comments on commit 5c1a8d6

Please sign in to comment.