Basic objects hands-on
Overview
Teaching: 0 min
Exercises: 40 minQuestions
How can I navigate the physics object references to compute identification criteria?
How can I separate events with and without invisible particles?
Objectives
Practice expanding identification criteria beyond POET defaults.
Practice interacting with ROOT file output from POET.
Choose your exercise! The first several exercises all relate to manipulating identification criteria for muons, taus, or jets. Please complete one of them.
Exercise 1 option A: add alternate muon IDs and isolation corrections
Using the documentation on the TWiki page:
- adjust the 0.4-cone muon isolation calculation to apply the “DeltaBeta” pileup correction.
- add the pass/fail information about the Loose identification working point.
- try to recreate the Tight identification working point from detector information criteria!
Solution:
Exercise 1 option B: add alternate tau IDs
Many other tau discriminants exist. Based on information from the TWiki, save the values for some discriminants that are based on multivariate analysis techniques.
Solution:
Exercise 1 option C: apply noise jet ID
Use the cms-sw github repository to learn the methods available for pat::Jets (hint: the header file is included from
PatJetAnalyzer.cc
). Implement the jet ID and reject jets that do not pass. Rejection means that information about these jets will not be stored in any of the tree branches.Solution
Exercise 2: real and fake MET
Compile all your changes to POET so far and run 400 events from two different simulation samples. One test file contains top quark pair events, so some events will have leptonic decays that include neutrinos and some events will not. The other test file contains Drell-Yan events without neutrinos. Review TTree::Draw from the pre-exercises – can you draw histograms of MET versus MET significance and infer which events have leptonic decays?
$ scram b $ # edit python/poet_cfg.py to run over 400 events from the ttbar simulation test file. $ cmsRun python/poet_cfg.py $ # edit python/poet_cfg.py to use this input file: root://eospublic.cern.ch//eos/opendata/cms/MonteCarlo2012/Summer12_DR53X/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/AODSIM/PU_RD1_START53_V7N-v1/20000/003063B7-4CCF-E211-9FED-003048D46124.root, and to save a file called myoutput_DY.root $ cmsRun python/poet_cfg.py $ root -l myoutput.root [0] TTree *ttbar = (TTree*)_file0->Get("mymets/Events"); [1] TFile *_file1 = TFile::Open("myoutput_DY.root"); [2] TTree *dy = (TTree*)_file1->Get("mymets/Events"); [3] ttbar->Draw("...a branch name...", "...any cuts go here...", "norm") [4] dy->Draw("...a branch name...", "...any cuts go here...", "norm pe same")
Solution
Key Points
All physics objects have multiple identification and isolation schemes.
POET implements the most common identification and isolation criteria used in analyses.
MET exists in all events, but significant differences can be seen between samples with and without real MET.