Clarify which base projects are useful where
Discussion with some people in the algorithms group revealed that the use case for various base-projects isn't all that clear.
Briefly, the main "dumper" loop is meant to do several things:
- Read in a jet collection
- Add some information we normally apply in
FlavorTagDiscriminants
, e.g.- Add track-or-muon-or-vertex derived scalar decorations to
BTagging
- Run any number of DIPS or DL1 NNs and decorate
BTagging
- Add track-or-muon-or-vertex derived scalar decorations to
- Update the jet calibration
- Write out track and jet information
This should be supported within the AnalysisBase
project. In general only DAODs in release 22 have sufficient information to support this.
Running on AODs or r21 DAODs will generally require that some additional algorithms are run beforehand. Most of this can be done from AthAnalysis
, for example:
- Release 21
BTagging
objects lack ajetLink
decoration that we need run most flavor tagging code. TheBTagToJetLinkerAlg
can provide this. - Jets and b-tagging objects can be decorated with flavor labeling and track association using various algorithms in
ParticleJetTools
.
Self-contained docker images for AthAnalysis
are slightly larger than those for AnalysisBase
, but both are created regularly and are easy to use with CI. Building against either of these projects (and adding unit tests where possible) is thus strongly encouraged.
Running the full b-tagging chain requires Athena
, mostly for the track extrapolation and the secondary vertexing code that relies on track extrapolation heavily. At the moment selecting jets based on trigger information is also only supported in Athena
. Beyond the the lack of self-contained Athena
images (and a corresponding lack of CI in this code) Athena
-only workflows tend to be quite bloated: development is less productive due to the slow start up time, and grid jobs will suffer from high memory consumption. Again, unless you absolutely need Athena
to do what you're doing, one of the other options is strongly encouraged.