Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagging remastered #86

Merged
merged 75 commits into from Jul 18, 2022
Merged

Tagging remastered #86

merged 75 commits into from Jul 18, 2022

Conversation

jackaraz
Copy link
Member

@jackaraz jackaraz commented Jun 6, 2022

Context
This branch redefines tagging module and completely deprecates the old tagger module.

Changes

  • Tau has been redefined as a predecessor of RecJetFormat
  • Old tagger has been deprecated.
  • Various code efficiency has been implemented.
  • Fully customizable tagging algorithm has been designed. Now users can fully customize the way B/C/Tau is tagged. By default, Ma5 uses old features, but users can now customize
    • C-jet matching radius and Exclusive/inclusive algorithm
    • Hadronic tau tagging type, i.e. hadron-based (as in the previous version) and jet based. The jet-based method makes exclusive and inclusive algorithms available to tau tagging and adds a customizable matching radius for the jet-based algorithm.
    • If tau mistagging is available in the SFS implementation, jet-based tagging is necessary otherwise, substructure tools may crash the algorithm.

Multi-level tagger
With this update, the SFS module is capable of using three different types of tagging algorithms, namely, loose, medium and tight. The tagging level can be activated via curly brackets e.g.
define tagger j as b 0.03 [pt>=60 and pt<90] {tight}
if the curly bracket is not defined, by default function will be considered as a loose tag.

Fixing the random seed
SFS module does not use a fixed random seed by default, but it can be fixed via the following command
set main.random_seed = 47

@github-actions
Copy link

github-actions bot commented Jun 6, 2022

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@jackaraz jackaraz requested a review from BFuks June 9, 2022 14:46
@jackaraz jackaraz added the SFS Simplified detector simulation in MadAnalysis 5 label Jun 9, 2022
@jackaraz jackaraz marked this pull request as ready for review June 9, 2022 21:52
@jackaraz jackaraz marked this pull request as ready for review June 24, 2022 22:18
@jackaraz jackaraz requested a review from econte-cms June 24, 2022 22:18
 - Fixing a compilation bugs with the delphes interface and the new b-tagging.
 - Adding the ‘med’ keyword for medium b-jets.
 - Updating the way to enable tau tagging.
 - Issues with the various taggers in SFSTaggerBase that could yield inconsistencies.
 - Printout in RecJetFormat (all tags printed now).
 - MET calculation to discuss in ClusterAlgoFastjet.cpp
Copy link
Member

@BFuks BFuks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review all my changes. Then we will be able to merge

@jackaraz jackaraz merged commit 7535afc into substructure Jul 18, 2022
@jackaraz jackaraz deleted the tau_tagging branch July 18, 2022 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SFS Simplified detector simulation in MadAnalysis 5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants