Simplify JHist madness for unknown tracks like JGandalf
I hate this structure:
/reco (Group) ''
/reco/jhist__jmuonenergy__jmuongandalf__jmuonprefit (Table(12,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONENERGY__JMUONGANDALF__JMUONPREFIT'
/reco/jhist__jmuonenergy__jmuongandalf__jmuonsimplex__jmuonprefit (Table(7493,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONENERGY__JMUONGANDALF__JMUONSIMPLEX__JMUONPREFIT'
/reco/jhist__jmuongandalf__jmuonprefit (Table(64,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONGANDALF__JMUONPREFIT'
/reco/jhist__jmuongandalf__jmuonsimplex__jmuonprefit (Table(89089,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONGANDALF__JMUONSIMPLEX__JMUONPREFIT'
/reco/jhist__jmuonprefit (Table(90632,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONPREFIT'
/reco/jhist__jmuonsimplex__jmuonprefit (Table(89089,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONSIMPLEX__JMUONPREFIT'
/reco/jhist__jmuonstart__jmuonenergy__jmuongandalf__jmuonprefit (Table(12,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONSTART__JMUONENERGY__JMUONGANDALF__JMUONPREFIT'
/reco/jhist__jmuonstart__jmuonenergy__jmuongandalf__jmuonsimplex__jmuonprefit (Table(7493,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONSTART__JMUONENERGY__JMUONGANDALF__JMUONSIMPLEX__JMUONPREFIT'
/reco/jhist__jmuonstart__jmuonprefit (Table(19,), fletcher32, shuffle, zlib(5)) 'JHIST__JMUONSTART__JMUONPREFIT'
But this was needed to separate the different tracks which have the same name (which is not allowed in the Blob
of course).
Instead, I'd combine all the Gandalf tracks into a single table and create boolean values for each step (JMUONPREFIT, JMUONSTART etc.), prefixed with JHist
or so...