Skip to content
Snippets Groups Projects

Update large-R labelling for Xbb

Merged Samuel Van Stroud requested to merge (removed):master-update-largeR-labels into master

Update the large-R JetTruthLabelingTool.cxx for use Xbb/cc. Based on discussions in !57667 (closed) (which is replaced by this MR) and on mattermost.

Changes:

  • add Hcc, Zbb, Zcc categories
  • add new label R10TruthLabel_Xbb which is similar to R10TruthLabel_R21Precision_2022v1 but contains the Hcc label, and uses the HadronConeExclExtendedTruthLabelID instead of counting the GhostBHadronsFinal/GhostCHadronsFinal for the labelling which may be more robust.
  • some cleanup

Things to consider:

  • Adding also a coarse set of labels which are better suited for Xbb training. This can also be done downstream in the FTAG training dataset dumper.

@fdibello @biliu @vdao @dguest @arelycg @vvecchio @jveatch @jcantero @mswiatlo @camacho @mleblanc

Edited by ATLAS Robot

Merge request reports

Approval is optional

Merged by Vakhtang TsulaiaVakhtang Tsulaia 2 years ago (Nov 28, 2022 6:30pm UTC)

Merge details

  • Changes merged into master with 0a813550 (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    Compare with previous version

  • This merge request affects 3 packages:

    • PhysicsAnalysis/AnalysisCommon/ParticleJetTools
    • PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss
    • Reconstruction/Jet/JetRecConfig

    Affected files list will not be printed in this case

    Adding @goetz ,@jcatmore ,@calpigia ,@jmellent ,@cantel ,@jveatch ,@nelsonc ,@ispokhar as watchers

    • Resolved by Samuel Van Stroud

      Hi,

      Yes, in general I agree we should use HadronConeExclExtendedTruthLabelID to check number of B-hadrons (C-hadrons) in our top (nB > =1), W (nB = 0) and Zbb,Zcc, Hcc,Hbb categories.

      On the other hand, @jveatch , I see that currently the fully contained Zqq definition doesn't include the d12 cuts (L703) to ensure full containment. The corresponding d12 cut should be exactly the same ones applied to Wqq. i.e: isZ = matchZ && jet.m() / 1000. > m_mLowZ && split12Handle(jet) / 1000. > getWZSplit12Cut( jet.pt() / 1000. );

      Could this change be implemented?

      This would conflict with the current Zbb/Zcc implementation since requiring two B-hadrons already ensures somehow fully containment so the d12 cut is not probably needed.

      If the idea is to include new labels (Hbb, Hcc, Zcc and Zbb), I would do it in "R10TruthLabel_R21Precision_2022v1" instead of creating the new "R10TruthLabel_Xbb" or there is any reason to do it separately?.

      Thanks.

      Regards,

      Josu

  • maybe it's a question for @dguest , but I don't think that the HadronCone is usable for largeR jets since the dR might be hardcoded (unless someone reconfigured it). So maybe ghost is safer here?

  • added 1 commit

    Compare with previous version

  • This merge request affects 3 packages:

    • PhysicsAnalysis/AnalysisCommon/ParticleJetTools
    • PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss
    • Reconstruction/Jet/JetRecConfig

    Affected files list will not be printed in this case

    Adding @goetz ,@jcatmore ,@calpigia ,@jmellent ,@cantel ,@jveatch ,@nelsonc ,@ispokhar as watchers

  • Samuel Van Stroud changed the description

    changed the description

  • Samuel Van Stroud resolved all threads

    resolved all threads

  • :x: CI Result FAILURE (hash f4e415de)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    tests :o: :white_check_mark: :o: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62330]

  • added 1 commit

    Compare with previous version

  • This merge request affects 3 packages:

    • PhysicsAnalysis/AnalysisCommon/ParticleJetTools
    • PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss
    • Reconstruction/Jet/JetRecConfig

    Affected files list will not be printed in this case

    Adding @goetz ,@jcatmore ,@calpigia ,@jmellent ,@cantel ,@jveatch ,@nelsonc ,@ispokhar as watchers

  • :x: CI Result FAILURE (hash f17c244a)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    tests :o: :white_check_mark: :o: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62327]

  • :white_check_mark: CI Result SUCCESS (hash 01c314bd)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62342]

    • Resolved by Samuel Van Stroud

      Hello,

      I see in the current version that bb and cc categories are included in "isZ" jets. I think considering that now isZ includes d12 cuts, it could be better to include bb and cc categories in "matchedZ" jets to make Zbb and Zcc categories more similar to Hbb and Hcc labels.

      Regards,

      Josu

  • :x: CI Result FAILURE (hash da9727f9)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    tests :o: :white_check_mark: :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62340]

  • Dan Guest
  • Dan Guest
  • added 1 commit

    Compare with previous version

  • Samuel Van Stroud changed the description

    changed the description

  • This merge request affects 3 packages:

    • PhysicsAnalysis/AnalysisCommon/ParticleJetTools
    • PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss
    • Reconstruction/Jet/JetRecConfig

    Affected files list will not be printed in this case

    Adding @goetz ,@jcatmore ,@calpigia ,@jmellent ,@cantel ,@jveatch ,@nelsonc ,@ispokhar as watchers

  • ATLAS Robot changed the description

    changed the description

  • Samuel Van Stroud resolved all threads

    resolved all threads

  • :pencil: :scissors: CI integration tests for projects Athena,AnalysisBase,AthAnalysis are cancelled because of compilation error(s)

  • :x: CI Result FAILURE (hash 2f2f495a)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :o: :white_check_mark: :o: :o:
    tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :o: Athena: number of compilation errors 1, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :o: AnalysisBase: number of compilation errors 1, warnings 1
    :o: AthAnalysis: number of compilation errors 1, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62404]

  • added 1 commit

    Compare with previous version

  • :pencil: Build area was cleaned as per request posted in the DB. The full software build will be performed

  • This merge request affects 3 packages:

    • PhysicsAnalysis/AnalysisCommon/ParticleJetTools
    • PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss
    • Reconstruction/Jet/JetRecConfig

    Affected files list will not be printed in this case

    Adding @goetz ,@jcatmore ,@calpigia ,@jmellent ,@cantel ,@jveatch ,@nelsonc ,@ispokhar as watchers

  • added 1 commit

    Compare with previous version

  • This merge request affects 3 packages:

    • PhysicsAnalysis/AnalysisCommon/ParticleJetTools
    • PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss
    • Reconstruction/Jet/JetRecConfig

    Affected files list will not be printed in this case

    Adding @goetz ,@jcatmore ,@calpigia ,@jmellent ,@cantel ,@jveatch ,@nelsonc ,@ispokhar as watchers

  • :pencil: :scissors: CI integration tests for projects Athena are cancelled because of compilation error(s)

  • :x: CI Result FAILURE (hash 8c1525b0)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :o: :white_check_mark: :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :o: Athena: number of compilation errors 3, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62416]

  • :white_check_mark: CI Result SUCCESS (hash e89ec4cc)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62412]

  • Jenkins please retry a build

  • :pencil: Build area was cleaned as per request posted in the DB. The full software build will be performed

  • This merge request affects 3 packages:

    • PhysicsAnalysis/AnalysisCommon/ParticleJetTools
    • PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss
    • Reconstruction/Jet/JetRecConfig

    Affected files list will not be printed in this case

    Adding @goetz ,@jcatmore ,@calpigia ,@jmellent ,@cantel ,@jveatch ,@nelsonc ,@ispokhar as watchers

  • :white_check_mark: CI Result SUCCESS (hash 8c1525b0)

    Athena AthGeneration AnalysisBase AthAnalysis
    externals :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    cmake :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    make :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
    tests :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:

    Full details available on this CI monitor view. Check the JIRA CI status board for known problems
    :white_check_mark: Athena: number of compilation errors 0, warnings 0
    :white_check_mark: AthGeneration: number of compilation errors 0, warnings 0
    :white_check_mark: AnalysisBase: number of compilation errors 0, warnings 0
    :white_check_mark: AthAnalysis: number of compilation errors 0, warnings 0
    :pencil: For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 62448]

  • Since this looks good to me and all threads have been resolved i am approving this. (L1eview-p)

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading