Software

https://github.com/hsatoshi/MiniAODPrivateTuple

https://github.com/hsatoshi/PrivateTupleMacros

Private tuple

Prepare software

bash 
cd work
source  setup_cms.sh
cd [workdir]
and follow the instruction : https://github.com/hsatoshi/MiniAODPrivateTuple

PUPPI work at local environment(under development)

cd MiniAODPrivateTuple/TupleMaker/python/Phys14DR-PU20bx25_JESsyst_noPuppi
sh makeconfig.sh  Jun17addPUPPIFATCA1215JET PUPPI
The second arg PUPPI will prepare the configuration file with PUPPI setup. Input file set is not sprint15 but still phys14, and need to change by hand.

This is for MCRUN2_74_V7 (global tag), which is set in the configuration temperate.

Crab job submit

cd MiniAODPrivateTuple/TupleMaker/python/Phys14DR-PU20bx25_JESsyst_noPuppi
sh makeconfig.sh [TAG]
source setup_crab.sh
for f in crabconfig_*py; do crab submit -c  $f; done
where [TAG] is any word to distinguish jobs.

The status of the crab job can be checked at http://dashb-cms-job.cern.ch/dashboard/templates/task-analysis/#user=Satoshi+Hasegawa&refresh=0&table=Mains&p=1&records=25&activemenu=2&pattern=&task=&from=&till=&timerange=lastWeek

Get output

First, copy the crab_project directory to temporal space, and then, get the result.

cp -rv crab_project [somewhere]
cd [somewhere]
for f in *; do crab status -d $f; done
for f in *; do crab getoutput -d $f; done

Event selection

work/PrivateTupleMacros/EventSelection
sh run_cutandcount_nominalAnalyses.sh [dir name] [crab job prefix]
This will make "nominal_results" directory with the outputs.

The job runs for both pre-privateTuple(such as JES) and post-privateTuple(such as b-tagging).

  • Option : main_cutandcont -W option : ignore event weight( MC event weight, b-tagg weight)
    • Also, give -D option to main_makeTable when I make table. This option skip the normalization to luminosity.
    • This gives WoScaling_yeild.tex instead of yeild.tex.

For Debug

./bin/main_cutandcount -i ~/tth.root -o out.root  -l -N -100  -t nt_normal 

Draw figure and event counting

cd work/PrivateTupleMacros/DrawStackedHistograms
sh run_NominalAnalyses.sh

For Debug : comparison plot

./bin/main_drawComparisonTwoSamples  -i [file 1 ] -i [file 2]

Grid job memo.

  • crab_QCD_PUPPIv8_JetPuIdOff
  • crab_QCD_PUPPIv8_JetPuIdOff_justResubmit (completely the same. Just )
    • JME Valdator tuples.
    • QCD PUPPI v8 , remove Jet UP ID.

  • July7_PrivateTupleWithJMEvalidator_tth
  • July7_PrivateTupleWithJMEvalidator_DY
    • Private tuples for ttH analyses with JME validator -- used to check muon isolation.
    • DY and ttH for comparison. Use truth match.
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r12 - 2015-07-06 - SatoshiHasegawa
 
    • 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-2020 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