MoAly98 / Pythium

ROOT Killa'
2 stars 5 forks source link

Check different combinations of branch status #13

Open MoAly98 opened 3 years ago

MoAly98 commented 3 years ago

Check user can ask to drop branches AND specify new branches? What if there is a clash between ones to drop and once needed for new branch...

MoAly98 commented 3 years ago

an interesting use case where both dropping and keeping is needed: if user wants all pT branches, but not the truth pT branches.

Need to check what uproot will do in case of clashing -- best design i can think of is if there is a clash, keep the branch.

Can we get branch names in input files before opening through uproot? this will also help prevent errors in uproott for missing trees/branches if we implement a check. It is not sensible to just check one file -- what if others are corrupted??