CPAlgorithms: new algorithm to save the b-tagging scores
This is migrated from TopCPToolkit; credits to @dbaronmo.
Adding a new algorithm ("BTaggingScores" in YAML/ConfigFactory
notation) to save the per-jet overall and per-flavour b-tagging scores. While this information should not be used directly in analysis right now (uncalibrated!), it is useful for a number of studies (especially in FTAG CP). In the future, the b-taggers may also become calibrated fully continuously...
Example YAML config:
- containerName: 'AnaJets'
jetCollection: 'AntiKt4EMPFlowJets'
...
BTaggingScores:
- bTagCalibFile : /cvmfs/atlas.cern.ch/repo/sw/database/GroupData/xAODBTaggingEfficiency/13p6TeV/2021-22-13TeV-MC21-CDI_GN2v01_Test_smooth.root
taggerName: 'GN2v01'
minPt: 20000.0
saveAllProbabilities: True
Edited by Baptiste Ravina