Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L Lbcom
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Jira
    • Jira
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LHCbLHCb
  • Lbcom
  • Merge requests
  • !580

update_CaloHypoEff

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mengzhen Wang requested to merge update_CaloHypoEff into master Sep 29, 2021
  • Overview 52
  • Commits 18
  • Pipelines 15
  • Changes 1

When looping MCParticles, electron hypo is not checked for true photons, photon hypo is not checked for true charged particles. This will not influence the default efficiency and bkg fraction checker, where we check bkg fraction when looping ECAL clusters with e/photon hypothesis. But if one wants to use the information in CaloHypoEff/MCParts to estimate how many electrons are misID as photons, and how many photons are misID as electrons. For example, before this update we have:

root [5] MCParts->GetEntries("MCP_trueID==11 && photon_hypo ==1")
(Long64_t) 0
root [2]  MCParts->GetEntries("MCP_trueID==22 && electron_hypo ==1")
(Long64_t) 0

and after the update we have

root [8]  MCParts->GetEntries("MCP_trueID==11 && photon_hypo ==1")
(Long64_t) 3
root [8]  MCParts->GetEntries("MCP_trueID==22 && electron_hypo ==1")
(Long64_t) 83

Also propose to add more branches to output of https://gitlab.cern.ch/lhcb/Moore/-/blob/master/Hlt/RecoConf/tests/qmtest/hlt2_reco_calo_efficiency.qmt. Dump the true origin vertex x,y,z info of the major contributor of a cluster. Dump the true info for all MC particles associated with a cluster. For each cluster, we will save at most 150 associated MCParticles. The average particle number per cluster is roughly 10 in a local test, so 150 should be large enough and can also help to prevent a buggy event generating too huge output.

Edited Oct 10, 2021 by Mengzhen Wang
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: update_CaloHypoEff