Software Framework for MonoTop analysis

The software framework consist of MiniAOD to N-tuples converter (ported from Run1 MonoJet analysis) and Plotter (ported from Run2 EXO-VV)

cmsrel CMSSW_7_4_3
cd CMSSW_7_4_3/src
cmsenv
git clone https://github.com/jdamgov/MonoJetAnalysis

Creating N-tuples from miniAOD

This part of the framework uses miniAOD as input and creates flat root trees with physics objects of interest - leptons(electrons,muons,taus),PF MET type1, jets(AK4,AK8,b-tag).

cd MonoJetAnalysis/NtupleAnalyzer/
scram b
cd test/

cmsRun testMonoT.py

The output is ntuple.root, which is created from the source:

iFileMCFull    =  'file:testMiniAOD.root'

Plotting Data vs Simulation

Plotter program creates set of plots which compares the prediction from the simulation to the data. Variables to be plotted and cuts to be applied are configurable in external steering files. It can plot the predefined distributions for multiple independent sets of cuts at one pass. Output is in multiple formats (root,PNG,PDF,etc.) for linear and log scale. Ration Data/MC is also provided.

Compiling and running the plotter.

cd MonoJetAnalysis/Plotter/
source scripts/setup.(c)sh
make ; make exe

./bin/DataMCComparisonPlot.exe cfg/DataMCComparison_InputCfgFile/MonoTop_Run2_50ns_DataMCComparisonPlot_mu.cfg

Configuration files are in:

cfg/DataMCComparison_InputCfgFile/

The main cfg file is

MonoTop_Run2_50ns_DataMCComparisonPlot_mu.cfg

Samples, cross sections, number of events per sample are defined in

MonoTop_Run2_50ns_SampleList.txt

Variables to be plotted and the configuration of the histograms are defined in

MonoTop_Run2_Variables.txt

The list of cuts is in

MonoTop_Run2_CutList_mu.txt

Example distribution for PF MET (with some fake MC and data) :
MetPt_10__0.png

Todo list

While the framework is usable to look at the data and compare it with the MC simulation, it is sill in early development phase. The flowing components are still missing:

  • Triggers
  • Filters
  • Scale factors and pile-up re-weighting
  • Limit setting machinery
  • ...
  • clean up some remnants from the original FWs

-- JordanDamgov - 2015-08-02

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng MetPt_10__0.png r1 manage 16.7 K 2015-08-02 - 22:43 JordanDamgov  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2015-08-02 - JordanDamgov
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback