Skip to content

Commit 5c1a8d6

Browse files
committed
DPL Analysis: copy parentFiles in AO2D -> RNTuple converter
1 parent a2ee722 commit 5c1a8d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Framework/Core/test/o2AO2DToAO3D.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ int main(int argc, char** argv)
9898
out->WriteTObject(copy);
9999
continue;
100100
}
101+
if (dk->GetName() == std::string("parentFiles")) {
102+
TMap* m = dynamic_cast<TMap*>(in->Get(dk->GetName()));
103+
m->Print();
104+
auto* copy = m->Clone("parentFiles");
105+
out->WriteTObject(copy);
106+
continue;
107+
}
101108
auto* d = (TDirectory*)in->Get(dk->GetName());
102109
std::cout << "Processing: " << dk->GetName() << std::endl;
103110
// For the moment RNTuple does not support TDirectory, so

0 commit comments

Comments
 (0)