maureeungaro / banks

0 stars 3 forks source link

fix entry bug and use option B for bank file name as before #10

Closed zhaozhiwen closed 3 years ago

zhaozhiwen commented 3 years ago

While a detector tree can have empty entries because there is no hits for those events, all root trees should have same number of entries and the entry index number is the same as sim event number To achieve this, somehow "header userHeader generated ancestors" and all other banks need different root tree fill condition for evio 5.1 and root 6.18.04

B option need to point to a file name for user defined bank. all GEMC internally defined banks are converted by default, including "header userHeader generated ancestors flux allraws mirror counter chargeTime rf", only "psummary" is not converted for now

example evio2root -INPUTF=out.evio -B="/group/solid/solid_github/JeffersonLab/solid_gemc/geometry/ec_segmented_moved/solid_PVDIS_ec_forwardangle /group/solid/solid_github/JeffersonLab/solid_gemc/geometry/gem/solid_PVDIS_gem /group/solid/solid_github/JeffersonLab/solid_gemc/geometry/lgc_moved/lg_cherenkov" -R="flux"