Skip to content

Commit

Permalink
Change name of current campaign file to extract branch sizes from
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmans1 authored Dec 18, 2024
1 parent 0dc7a93 commit 548fe5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

root -q -b root://dtn-eic.jlab.org//work/eic2/EPIC/RECO/<current_file> -e 'for (auto b : *events->GetListOfLeaves()) { if (events->GetBranch(b->GetName()) == nullptr) continue; cout << events->GetBranch(b->GetName())->GetTotalSize() << " " << b->GetName() << endl; }' | sort -n > branch_size_current.txt
root -q -b eicrecon.tree.edm4eic.root -e 'for (auto b : *events->GetListOfLeaves()) { if (events->GetBranch(b->GetName()) == nullptr) continue; cout << events->GetBranch(b->GetName())->GetTotalSize() << " " << b->GetName() << endl; }' | sort -n > branch_size_current.txt
root -q -b root://dtn-eic.jlab.org//work/eic2/EPIC/RECO/<default_file> -e 'for (auto b : *events->GetListOfLeaves()) { if (events->GetBranch(b->GetName()) == nullptr) continue; cout << events->GetBranch(b->GetName())->GetTotalSize() << " " << b->GetName() << endl; }' | sort -n > branch_size_default.txt
python plot.py -c branch_size_current.txt -d branch_size_default.txt

0 comments on commit 548fe5c

Please sign in to comment.