1 / 10

Electron Tag & Probe

Electron Tag & Probe. Jeffrey Berryhill Kalanand Mishra Fermilab. [ work with muon POG : Nadia Adam, Adam Everett, Adam Hunt & electron POG : Jason Haupt ]. Introduction to tag-and-probe method.

Télécharger la présentation

Electron Tag & Probe

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Electron Tag & Probe Jeffrey Berryhill Kalanand Mishra Fermilab [ work with muon POG: Nadia Adam, Adam Everett, Adam Hunt & electron POG: Jason Haupt ]

  2. Introduction to tag-and-probe method - The tag-and-probe method is a powerful tool to measure reconstruction efficiency from data. - Desirable to have a common interface and machinery for “data-driven” electron reconstruction / identification efficiency (and fake rate) in CMS. - We are working with Muon POG people to have the same basic framework for both muon and electron tag-and-probe software. Concept • Utilize data from a clean dielectron sample, e.g., Ze+e–. • A "tag" is a well identified electron, e.g., isolated GsfElectron in barrel. • The existance of a tag electron usually indicates the existence of the other leg from the same Z. • A "probe" is the other electron coming from the Z. • The method begins to count when both "tag" and "probe" exist. Tag-probe invariant mass Z Kalanand Mishra, Fermilab

  3. How it works: Algorithms & Design • The code in the analyzer and producers has been designed to be as generic as possible. The tag-probe maps have therefore been set up with a global efficiency measurement composed of many smaller pieces in mind. • For many of the "sub-efficiency" measurements, e.g., reconstruction efficiency, identification efficiency, L1 / HLT efficiency, … etc, the efficiency is measured by taking some set of probes that compose the denominator, and finding the sub-set of these probes that pass the desired efficiency criteria as the numerator (the "passing probes"). • For example, the electron reconstruction efficiency can be measured by taking GsfElectrons as the probe sample, and setting the passing probe sub-set to be a member of generalTracks object collection. • With this general procedure in mind, the analyzer stores one tag-probe map for each sub-efficiency measurement. The user supplies the set of passing probes and the analyzer stores a pass or fail for each probe in the sample.  Extremely important to compare “apples” to “apples” Kalanand Mishra, Fermilab

  4. Modular Tag-and-probe software There are 4 modules • TagAndProbeProducer - Produces a one-to-many (tag-to-probes) association map. - The tag and probe collections are Candidate objects input by the user. - Input tags for these collections are selected at run time in the configuration file. • MatchProbeMaker - Produces lists of electron objects that are matched to a different set of electron objects. E.g., “GsfElectrons” matched to “MC truth”. • TagProbeAnalyzer - An analyzer that takes the tag-probe association map and makes an event-based TTree object, which is then written to an output file. - Also stores other interesting objects in the event such as true MC electrons, tracks, HLT / L1 triggers and kinematic variables associated with them. • Histogrammer - Takes the TTree created by the TagProbeAnalyzer and produces plots and makes binned efficiency calculations. - The number of passed / failed signal and background events can be obtained in two different ways: (1.) by fitting the Z mass peak using likelihood fit with analytical shapes for signal & background. (2.) by performing a background subtraction in signal region using observed background from the sidebands. Kalanand Mishra, Fermilab

  5. Efficiency measurement procedure Likelihood fit for “passing” and “failing” probes Pass Fail All probe For illustration only Kalanand Mishra, Fermilab

  6. An example of efficiency measurement Tracking efficiency: The efficiency of a probe GsfElectron to be a member of the generalTracks collection as function of pT and . pT (GeV/c)  Currently using the following binning scheme (but this is configurable): pT: [ 0-20, 20-40, 40-60, 60-80, 80-100 ] : [ (-2.5, -1.5), (-1.5, 0.5), (-0.5, 0.5), (0.5, 1.5), (1.5, 2.5) ] Kalanand Mishra, Fermilab

  7. Example of efficiency measurement continued … You also get the summary of the binned efficiency measurements (in bins of pT and ) at the end. The result can also be saved in a text file. • Pass condition (Pt): (ProbePass == 1 && Pt > 20 && Pt < 40 ) Fail condition (Pt): (ProbePass == 0 && Pt > 20 && Pt < 40 ) Num pass 302.149 Num fail 16.068 Eff 0.94932 Eff error 0.0074461 • ……. • Pass condition ( Eta ): (ProbePass == 1 && Eta > -0.5 && Eta < 0.5 ) Fail condition ( Eta ): (ProbePass == 0 && Eta > -0.5 && Eta < 0.5 ) Num pass 1294.69 Num fail 41.3965 Eff 0.968923 Eff error 0.003911281 • ……. Kalanand Mishra, Fermilab

  8. How to run the code in CMSSW_2_0_X(upto X = 6) • scramv1 p CMSSW CMSSW_2_0_6 • cd CMSSW_2_0_6/src • eval `scramv1 runtime -[c]sh` • cvs co -r V01-01-03 MuonAnalysis/TagAndProbe • Download the package “AnalysisDataFormats/TagAndProbe” (needed for tag-probe map dictionary, is not in the CVS yet) : https://twiki.cern.ch/twiki/bin/viewfile/CMS/MuonTagAndProbe?rev=1;filename=CandTagAndProbeExtra.tar.gz • tar zxvf CandTagAndProbeExtra.tar.gz • scramv1 b • cd MuonAnalysis/TagAndProbe/test First make TTree containing tag-probe collections: cmsRun Analyze.cfg Now calculate efficiency and make efficiency plots: cmsRun electron-efficiency-test.cfg You may need to change the above two configuration files if you want to make your own custom tag-probe pair and want to configure accordingly. Kalanand Mishra, Fermilab

  9. Things to do …. • Support efficiency tables for all the officially supported electron Id selectors and startup / expected L1/HLT conditions. • Extend the tag-probe method to [, J/, …]e+e-. • Make sure that the error calculations are done correctly. • If the tool becomes useful to analysts, think of ways to estimate systematic uncertainty. • Other suggestions ….  Done ! Now resonance mass is a configurable parameter. Kalanand Mishra, Fermilab

  10. Status & Summary • A generic tag-and-probe tool for electron and muon efficiency developed • Method to count the number of signal events can be configured by user: likelihood fit or background subtraction • Configurable for any combination of tag-probe pair and pT- binning • Plan to support efficiency for officially supported electron Id selectors • Currently available in release CMSSW_2_0_X and 1_8_X • Your feedbacks are most welcome Thank You ! Kalanand Mishra, Fermilab

More Related