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) :
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