Skip to content

CMS-LUMI-POG/ZCounting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Z Counting

The project has to be set up inside the src/ folder of a CMSSW environment. The latest version was tested for CMSSW_12_4_2.

The project is divided into 4 packages that are explained in the following.

ZCountAnalyze

The ZCountAnalyze package is used to produce ntuples from cmssw files in MiniAOD or AOD format and is run over MC or data. These ntuples contain truth level information and can be used to analyze the method based on simulation, or re-analyze the data in a more flexible way.

ZHarvester

This is the "core" package of the project. It can be used with the histograms from the cmssw/DQMOffline/Lumi/ module or the ones produced from the ntuples obtained from the ZCountAnalyze package.

  • Here, the measurement of the tag-and-probe muon efficiencies and calculation of e.g. the Z Rate can be done.
    • based on RooFit
    • HTCondor job submission is supported
  • Several scipts are available to provide additional inputs and produce plots

ZUtils

Contains code that is used by multiple packages in this project in common.

CombinationTools

Combinations of Z counts and reference luminosity. Scripts for two methods are available:

  • Chi2 minimization using BLUE.
  • Likelihood minimization using ZFit.

Useful Links