Decorate UFOs with cluster's energies.
Decorate UFOs with cluster's information (energies).
The files added/modified with this MR are:
- Addition of
FTagDumper/src/FlowEnergyDecorator.cxx/.h
(code for decorating UFOs); - Modification of
FTagDumper/CMakeLists.txt
(add FlowEnergyDecorator); - Modification of
FTagDumper/src/components/BTagTrainingPreprocessing_entries.cxx
(add FlowEnergyDecorator); - Addition of
FTagDumper/bin/dump-fatjet-cluster
(command to run to access these energies -- based on Jackson Barr's dump-fatjet command to extract charged/neutral flows); - Addition of
configs/FatJetsFlow_emhad.json
(example of a configuration to have these energies in the .h5 output file); - Addition of
FTagDumper/grid/inputs/xbb_tau.txt
(list of files to dump for X H->tautau tagging); - Modification of
FTagDumper/grid/grid-submit
(add a new mode xbb_tau corresponding to the dump-fatjet-cluster command, with the FatJetsFlow_emhad.json configuration and the xbb_tau.txt input files).
This MR is related to the AFT-729 JIRA ticket. The getJetLinkWriter.cxx file only allows to access one cluster per flow (which is not ideal in our case, because we want to dump energies in the layers of the calorimeter for a given flow that can have several clusters). So instead we tried to access the clusters directly in an athena algorithm (FlowEnergyDecorator) and decorate the UFOs with the variables we need (typically, electromagnetic/hadronic energy fractions). This way, these new variables can be accessed directly in the floats section of the charged/neutral collections in the config file.
(Remark: this method does not require to have new collections in the derivation (CSSKGCharged/Neutral or CaloCalTopoClusters as we thought at the beginnning and as mentionned in the JIRA ticket)