Skip to content

Synchronisation

azotz edited this page Apr 26, 2019 · 15 revisions

Documentation

Step 1: Skimming

Step 2: Running Artus

  • 2015

     HiggsToTauTauAnalysis.py \
     @HiggsAnalysis/KITHiggsToTauTau/data/ArtusWrapperConfigs/Sync13TeV.cfg \
     -i HiggsAnalysis/KITHiggsToTauTau/data/Samples/DCAP_sample_SUSYGluGluToHToTauTauM160_RunIIFall15MiniAODv2_PU25nsData2015v1_13TeV_MINIAOD_pythia8_recent.txt
  • 2016

     HiggsToTauTauAnalysis.py \
     @HiggsAnalysis/KITHiggsToTauTau/data/ArtusWrapperConfigs/Sync13TeV.cfg \
     -i HiggsAnalysis/KITHiggsToTauTau/data/Samples/DCAP_sample_SUSYGluGluToHToTauTauM160_RunIISpring16MiniAODv2reHLT_PUSpring16RAWAODSIM_13TeV_MINIAOD_pythia8_recent.txt

Step 3: Comparing the results

The synchronisation ntuples of all participating groups are collected in the following repositories:

Please do not upload the ROOT files itself there but only paths to publicly available files.

The performance of the synchronisation is monitored with plots produced by

makePlots_syncPlots.py [--event-matching] [-h]

Examples

  • MT channel only

     makePlots_syncPlots.py \
     --input-1 /afs/cern.ch/user/f/fcolombo/public/Sync13TeV/20160330-fall15/SUSYGluGluToHToTauTauM160_mt_RunIIFall15MiniAODv2_13TeV_MINIAOD.root \
     --input-2 /afs/cern.ch/user/f/fcolombo/public/Sync13TeV/20160403-fall15/SUSYGluGluToHToTauTauM160_mt_RunIIFall15MiniAODv2_13TeV_MINIAOD.root \
     --folder-1 mt/ntuple \
     --folder-2 mt/ntuple \
     [--event-matching]
  • Loop over all channels and webplotting

     for channel in mt et em tt; do \
     	makePlots_syncPlots.py \
     	--input-1 /afs/cern.ch/user/f/fcolombo/public/Sync13TeV/20160330-fall15/SUSYGluGluToHToTauTauM160_${channel}_RunIIFall15MiniAODv2_13TeV_MINIAOD.root \
     	--input-2 /afs/cern.ch/user/f/fcolombo/public/Sync13TeV/20160403-fall15/SUSYGluGluToHToTauTauM160_${channel}_RunIIFall15MiniAODv2_13TeV_MINIAOD.root \
     	--folder-1 ${channel}/ntuple \
     	--folder-2 ${channel}/ntuple \
     	-a " --www sync_plots/${channel}" \
     	[--event-matching]; \
     done

Extraction of N-tuple for comparison with other groups

e.g. using shrink, producing always an output called "slimmed.root"

shrink output.root "1" mt/ntuple

rename slimmed.root to the required name.

Finding Run/Lumi/Event numbers of events in eventmatching.root

higgsplot.py -i plots/sync_plots/eventmatching.root -f common1 --friend-files plots/sync_plots/eventmatching.root --friend-folders common2 --friend-aliases common2 --scan run:lumi:event:common2.run:common2.lumi:common2.event:gen_match_1:common2.gen_match_1:gen_match_2:common2.gen_match_2 -w "gen_match_1!=common2.gen_match_1"
Clone this wiki locally