Code Monkey home page Code Monkey logo

hhanalysis's Introduction

ExTreeMaker

Please note:

  • The instructions are for the UCLouvain ingrid SLC6 cluster (to access SAMADhi)
  • You need the proper username and password to access SAMADhi :) If you don't know what this is about, ask around
  • The git cms-init takes a while to run and is currently useless... But it is still needed if ever some day we need to checkout other CMSSW packages (which seems likely IMHO)
  • The current state of the art mini-AOD documentation can be found here
  • We have setup a 'fake' python in the bin directory that runs cmsenv and set the correct PYTHONPATH before executing python itself, this is currently useful to setup the debugger

First time setup

source /nfs/soft/grid/ui_sl6/setup/grid-env.sh
source /cvmfs/cms.cern.ch/cmsset_default.sh
export SCRAM_ARCH=slc6_amd64_gcc491
cmsrel CMSSW_7_4_4
cd CMSSW_7_4_4/src
cmsenv
git cms-init
cd ${CMSSW_BASE}/src 
git clone -o upstream https://github.com/cp3-llbb/ExTreeMaker.git cp3_llbb/ExTreeMaker
cd cp3_llbb/ExTreeMaker
git checkout dev_goingMiniAOD
source setup.sh
scram b -j 4

Test run (command line)

cd ${CMSSW_BASE}/src/cp3_llbb/ExTreeMaker/python
./../bin/python ./../scripts/runFramework.py -c TestConfiguration -i /home/fynu/obondu/storage/MINIAODSIM/RelValTTbar_13_PU25ns_MCRUN2_74_V9_gensim71X-v1.root --nEvents 100

When willing to commit things

  • Remember to branch before committing anything: git checkout -b my-new-branch
  • The setup.sh script took care of adding origin as your own repo, so to push just do the usual git push origin my-new-branch

PyCharm configuration

You need the professional edition of PyCharm. You can request a licence using your UCL mail address here: https://www.jetbrains.com/student

Project setup

Launch PyCharm. On the welcome screen, choose 'Checkout from Version Control' and select Github. Follow the instructions, and checkout your fork of ExTreeMaker.

Deployment

This steps indicate to PyCharm how-to copy your local files to ingrid. Go to File > Settings > Build, Execution, Deployment and then click on Deployment. Click on the green plus button to add a new deployment configuration. Name it ingrid and choose SFTP as type.

On the Connection tab, set:

  • SFTP host: ingrid-ui1.cism.ucl.ac.be
  • Port: 22
  • Username: your ingrid username
  • Auth type: if you have an SSH key, you can choose 'Key pair' here, or password otherwise
  • If you chose 'Key pair', fill the 'Private key file' field with the absolute path of your private SSH key, and the 'passphrase' field. If you chose password, fill the password field.

On the Mappings tab, set the 'Deployment path' to the absolute path of the ExTreeMaker directory inside the CMSSW release. For example, it can be /home/fynu/sbrochet/scratch/Framework/CMSSW_7_4_4/src/cp3_llbb/ExTreeMaker.

Now click on the 'Add another mapping'. For the local path, set the absolute path of the ExTreeMaker directory. For the deployment path, use the same path as above, but replace src by python (for example, /home/fynu/sbrochet/scratch/Framework/CMSSW_7_4_4/python/cp3_llbb/ExTreeMaker). Set the web path to '/'.

Click on 'Apply' to save your changes.

Now, on the menu on the left, click on 'Options' under 'Deployment'. Set the option 'Upload changed files automatically to the default server' to 'Always'. Click on 'Apply' to save your changes, and 'OK' to close the dialog.

Now you need to do the first upload of the project remotely. On the 'Project' window, right-click on the 'ExTreeMaker' project (top left of the screen), and select 'Upload to ingrid'.

Remote python interpreter

We need to configure PyCharm to use python from CMSSW instead of system-wide python. Go to File > Settings > Project: ExTreeMaker and click on 'Project Interpreter'. Click on the little wheel (top right of the screen), and choose 'Add remote'.

Select 'Deployment configuration', and choose 'ingrid' (or whatever name you used for your deployment configuration). For the 'Python interpreter path', select the python file located in the bin folder of the framework. It'll look like /home/fynu/sbrochet/scratch/Framework/CMSSW_7_4_4/src/cp3_llbb/ExTreeMaker/bin/python. Click on OK to validate. Make sure that the new python interpreter is selected.

Run configuration

Final step is to tell PyCharm how-to execute the framework on ingrid. Go to Run > Edit configurations... Click on the green plus button and choose 'Python'. Name your new run configuration as you want (ingrid for example...). In the configuration tab, set:

  • Script: click on the '...' button to browse. Select the file 'scripts/runFramework.py'
  • Script parameters: -c TestConfiguration -i /home/fynu/obondu/storage/MINIAODSIM/RelValTTbar_13_PU25ns_MCRUN2_74_V9_gensim71X-v1.root --nEvents 100 will allow you to get started
  • Python interpreter: choose here your remote interpreter (something like sftp://...)
  • Working directory: Browse and choose the 'python' folder

That's all. Click on Apply and then OK. You can now run remotely on ingrid. To test, click on the green arrow (top right of the screen). Be sure first to select the right run configuration on the drop-down list on the left of the run button. You should see the output inside the Run window.

Git setup

Unfortunately there is currently no easy user-friendly way to have several git remotes in pycharm, so we have to setup and update with the upstream manually:

  • As long as your pycharm project is in a directory containing the string "Pycharm" (the installation default being "PycharmProjects"), just run source setup.sh in the pycharm 'Terminal' at the bottom of the screen (should already point you to the correct directory)

hhanalysis's People

Contributors

blinkseb avatar brieucf avatar olivierbondu avatar swertz avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hhanalysis's Issues

Add some informations in the nTuple

  • Keep information about the lepton charges. One solution would be to add this information as a member of the leptons structure, as well as adding something like diLeptons_chargeProduct. Can be discussed.
  • Keep number of diLepton object and number of diJet object to ease nTuple analysis.
  • Add cos(theta star) HH (can be based on this, using the met_p4 for neutrinos).
    • NB : keep another cos(theta star) but using the projected MET could be interesting as well.
  • Add the jet flavor information.
  • Add the btag output
  • Add the lepton isolation in hh_leptons

Compilation error

Hi,

I was trying a fresh CMSSW_8_0_19 installation and I am running into the following compilation error:

>> Compiling edm plugin /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/HHAnalysis/plugins/HHAnalyzer.cc 
>> Compiling edm plugin /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/HHAnalysis/plugins/Analyzers.cc 
>> Compiling edm plugin /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/HHAnalysis/plugins/Indices.cc 
>> Compiling edm plugin /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/HHAnalysis/plugins/Categories.cc 
Warning in <SelectionRules::CheckDuplicates>: Duplicated rule found.
Rule:
        Selected (line 2): Yes
        Attributes: 
        name = HH::Lepton
        No field sel rules
        No method sel rules
Conflicting rule already stored:
        Selected (line 3): Yes
        Attributes: 
        name = HH::Lepton
        Field 0:
        Selected: Yes
            name = hlt_already_tried_matching
            transient = true
        No method sel rules
Error in <SelectionRules::CheckDuplicates>: Duplicates in rules were found.
config/SCRAM/GMake/Makefile.rules:1917: recipe for target 'tmp/slc6_amd64_gcc530/src/cp3_llbb/HHAnalysis/src/cp3_llbbHHAnalysis/a/cp3_llbbHHAnalysis_xr.cc' failed
gmake: *** [tmp/slc6_amd64_gcc530/src/cp3_llbb/HHAnalysis/src/cp3_llbbHHAnalysis/a/cp3_llbbHHAnalysis_xr.cc] Error 3
gmake: *** Waiting for unfinished jobs....
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

Any idea what this is about ?

Improve trigger matching

  • Ensure that the two leptons have matched objects belonging to the same path
  • Also store the DeltaPt/PT
  • Do the matching using the different path legs ?

Handle weights for nonresonant samples

There is a root file available with weights at this link. We would need to store / apply these weights both because there is some slight out-of-sync in between the central CMS samples and their latest paper draft.

For each of the 12 anomalous nonresonant samples we would have to store (12 weights for the new benchmarks points) x (1 nominal + 6 'outliers' to study acceptance variations within a cluster). Then for plots / histograms limits we would:

  • merge all the anomalous nonresonant samples together
  • apply the weight corresponding to the scenario we want to study

Feedback from HWW mini-workshop

Hardcoded trigger paths

Currently, trigger path are hardcoded, and pointing to 2015 HLTs:

if (path.find("HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v") != std::string::npos) manager.pass_cut("fire_trigger_Mu17_Mu8");
if (path.find("HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v") != std::string::npos) manager.pass_cut("fire_trigger_Mu17_TkMu8");
if (path.find("HLT_IsoMu27_v") != std::string::npos) manager.pass_cut("fire_trigger_IsoMu27");
and
manager.new_cut("fire_trigger_Ele17_Ele12", "HLT_Ele17_Ele12_CaloIdL_TrackIdL_IsoVL_DZ*");

If we ship a custom triggers.xml file containing only the paths we are interested in, it may be enough to simply look for HLT_Mu or HLT_Ele to select the category.

Re-apply HLT safe ID on electrons (+ IP cuts)?

HWW ID was https://github.com/cp3-llbb/HHAnalysis/pull/125/files#diff-6cdb42586ea6220d1c53fa646556a54cL330

So official HLT ID plus IP cuts plus something else.

The recommended IP cuts (https://twiki.cern.ch/twiki/bin/view/CMS/CutBasedElectronIdentificationRun2#Offline_selection_criteria) are tighter than the ones used by HWW and have been shown to have no effect on Scale Factors. We can add them just for peace of mind, probably won't change anything.

I can put the ID+cuts back but nothing prevents us from requesting them in the plotter/skimmer at a later stage, on top of medium ID. It's just a bit more code to compile but means more freedom to go back if something has to be changed...

Thoughts?

Revisit the definition of leptons

  • Add loose lepton, medium lepton (for electrons), tight lepton collections, ... Rather then adding plenty of new branch in the nTuple, we could keep simply the index pointing to the collection from the central framework, keeping the info if it is an electron or a muon.
  • It could also be good to keep for each new collection the number of object we have in the event (nLooseLep, etc.). NB : the category definition has to be synchronized with the lepton collection we plan to use, we could maybe base it on loose leptons to begin with (so that we do not kill too many events).
  • Add also different isolation levels

Clean MC truth code

See #84 and use the cleanest code from interface/GenStatusFlags.h instead of the dirty hard-coding of the flags :)

Extra cut after mapping

There is a problem if one wants to plot only one element per event (say llmetjj[myIndxs][0]) with an extra cut w.r.t. the map cuts. Maybe llmetjj[myIndxs][1] passed the extra cut.

Raise subleading pt cut

In the emu category, the HLT path used at some point is HLT_Mu12_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_v* but the current cut is 10 GeV. We need to increase the cut at some point.

Crash at runtime

stacktrace below

I'm addressing the HLT thing before having a look, if anyone wants to have a look first...

>cmsRun HHConfiguration.py

CP3 llbb framework:
    - Running over simulation
    - global tag: 80X_mcRun2_asymptotic_2016_miniAODv2_v1
    - era: 25ns

# Conditions read from  CMS_CONDITIONS  via FrontierProd 

Redoing Jet Energy Corrections
    Changing value of parameter producers.jets.parameters.jets (input tag) from 'slimmedJets' to 'updatedPatJetsAK4PFchsNewJEC'
    Changing value of parameter producers.met.parameters.met (input tag) from 'slimmedMETs' to 'slimmedMETsNewJEC'
New jets and MET collections: 'updatedPatJetsAK4PFchsNewJEC', 'updatedPatJetsAK8PFchsNewJEC' and 'slimmedMETsNewJEC'


Smearing jets...
    Changing value of parameter producers.jets.parameters.jets (input tag) from 'updatedPatJetsAK4PFchsNewJEC' to 'slimmedJetsSmeared'
    Changing value of parameter producers.met.parameters.met (input tag) from 'slimmedMETsNewJEC' to 'slimmedMETsSmeared'
New jets and MET collections: 'slimmedJetsSmeared' and 'slimmedMETsSmeared'

Framework configuration done.
    Producers: gen_particles, event, hlt, jets, met, muons, electrons, vertices, puppimet
    Analyzers: hh_analyzer

04-Oct-2016 14:52:47 CEST  Initiating request to open file file:///storage/data/cms/store/mc/RunIISpring16MiniAODv2/GluGluToRadionToHHTo2B2VTo2L2Nu_M-450_narrow_13TeV-madgraph/MINIAODSIM/PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/10000/702A12BA-1B3B-E611-9A14-0025907B4EC0.root
04-Oct-2016 14:52:48 CEST  Fallback request to file root://xrootd-cms.infn.it//store/mc/RunIISpring16MiniAODv2/GluGluToRadionToHHTo2B2VTo2L2Nu_M-450_narrow_13TeV-madgraph/MINIAODSIM/PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/10000/702A12BA-1B3B-E611-9A14-0025907B4EC0.root
%MSG-w XrdAdaptor:  file_open 04-Oct-2016 14:52:52 CEST pre-events
Data is served from cern.ch instead of original site infn.it
%MSG
04-Oct-2016 14:52:55 CEST  Successfully opened file root://xrootd-cms.infn.it//store/mc/RunIISpring16MiniAODv2/GluGluToRadionToHHTo2B2VTo2L2Nu_M-450_narrow_13TeV-madgraph/MINIAODSIM/PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/10000/702A12BA-1B3B-E611-9A14-0025907B4EC0.root

filters: 

producers: 
 -> Adding producer 'gen_particles' of type 'gen_particles'
 -> Adding producer 'event' of type 'event'
 -> Adding producer 'hlt' of type 'hlt'
HLT configuration: 
 -> Runs: [0, 1]
    - HLT_.*Mu.*_Mu.*_v.*
    - HLT_.*Ele.*_Ele.*_v.*
    - HLT_.*Mu.*_Ele.*_v.*
    - HLT_.*Ele.*_Mu.*_v.*
    - HLT_.*Mu.*_v.*
    - HLT_.*Ele.*_v.*
 -> Runs: [253659, 260627]
    - HLT_Mu17_TrkIsoVVL_(Tk)?Mu8_TrkIsoVVL_DZ_v.*
    - HLT_Ele17_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v.*
    - HLT_Mu17_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v.*
    - HLT_Mu8_TrkIsoVVL_Ele17_CaloIdL_TrackIdL_IsoVL_v.*
    - HLT_IsoMu27_v.*
 -> Runs: [271036, 999999]
    - HLT_Mu17_TrkIsoVVL_(Tk)?Mu8_TrkIsoVVL_v.*
    - HLT_Ele23_Ele12_CaloIdL_TrackIdL_IsoVL_DZ_v*
    - HLT_Mu23_TrkIsoVVL_Ele12_CaloIdL_TrackIdL_IsoVL_v*
    - HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_v*
    - HLT_Iso(Tk)?Mu22_v.*
    - HLT_Iso(Tk)?Mu24_v.*
    - HLT_Ele45_WPLoose_Gsf_v.*
    - HLT_Ele27_eta2p1_WPLoose_Gsf_v.*

 -> Adding producer 'jets' of type 'jets'
 -> Adding producer 'met' of type 'met'
 -> Adding producer 'muons' of type 'muons'
 -> Adding producer 'electrons' of type 'electrons'
 -> Adding producer 'vertices' of type 'vertices'
 -> Adding producer 'puppimet' of type 'met'

analyzers: 
 -> Adding analyzer 'hh_analyzer'

Begin processing the 1st record. Run 1, Event 51801, LumiSection 260 at 04-Oct-2016 14:53:14.066 CEST
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
PDF weights for this event are corrupted. Forcing value to 1
Begin processing the 1001st record. Run 1, Event 188201, LumiSection 942 at 04-Oct-2016 14:53:50.794 CEST
PDF weights for this event are corrupted. Forcing value to 1


A fatal system signal has occurred: segmentation violation
The following is the call stack containing the origin of the signal.

Thread 7 (Thread 0x7fd42a4bf700 (LWP 26956)):
#0  0x00007fd43303437d in waitpid () from /lib64/libpthread.so.0
#1  0x00007fd42fed9aa7 in edm::service::cmssw_stacktrace_fork() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/pluginFWCoreServicesPlugins.so
#2  0x00007fd42feda352 in edm::service::InitRootHandlers::stacktraceHelperThread() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/pluginFWCoreServicesPlugins.so
#3  0x00007fd433595a50 in std::(anonymous namespace)::execute_native_thread_routine (__p=<optimized out>) at ../../../../../libstdc++-v3/src/c++11/thread.cc:84
#4  0x00007fd43302caa1 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fd432d7993d in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7fd41904e700 (LWP 27172)):
#0  0x00007fd432d79f33 in epoll_wait () from /lib64/libc.so.6
#1  0x00007fd419110032 in XrdSys::IOEvents::PollE::Begin(XrdSysSemaphore*, int&, char const**) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdUtils.so.2
#2  0x00007fd41910c7ed in XrdSys::IOEvents::BootStrap::Start(void*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdUtils.so.2
#3  0x00007fd41910b197 in XrdSysThread_Xeq () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdUtils.so.2
#4  0x00007fd43302caa1 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fd432d7993d in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7fd41884d700 (LWP 27173)):
#0  0x00007fd43303400d in nanosleep () from /lib64/libpthread.so.0
#1  0x00007fd41910b93b in XrdSysTimer::Wait(int) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdUtils.so.2
#2  0x00007fd419203fc1 in XrdCl::TaskManager::RunTasks() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#3  0x00007fd419204149 in ?? () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#4  0x00007fd43302caa1 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fd432d7993d in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7fd41804c700 (LWP 27174)):
#0  0x00007fd432d76199 in syscall () from /lib64/libc.so.6
#1  0x00007fd41925b401 in XrdCl::JobManager::RunJobs() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#2  0x00007fd41925b599 in ?? () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#3  0x00007fd43302caa1 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd432d7993d in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7fd41784b700 (LWP 27175)):
#0  0x00007fd432d76199 in syscall () from /lib64/libc.so.6
#1  0x00007fd41925b401 in XrdCl::JobManager::RunJobs() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#2  0x00007fd41925b599 in ?? () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#3  0x00007fd43302caa1 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd432d7993d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7fd41704a700 (LWP 27176)):
#0  0x00007fd432d76199 in syscall () from /lib64/libc.so.6
#1  0x00007fd41925b401 in XrdCl::JobManager::RunJobs() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#2  0x00007fd41925b599 in ?? () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libXrdCl.so.2
#3  0x00007fd43302caa1 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd432d7993d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7fd431454bc0 (LWP 26721)):
#0  0x00007fd432d70113 in poll () from /lib64/libc.so.6
#1  0x00007fd42feda1b4 in full_read.constprop () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/pluginFWCoreServicesPlugins.so
#2  0x00007fd42feda41a in edm::service::InitRootHandlers::stacktraceFromThread() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/pluginFWCoreServicesPlugins.so
#3  0x00007fd42feda59b in sig_dostack_then_abort () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/pluginFWCoreServicesPlugins.so
#4  <signal handler called>
#5  0x00007fd42fd7d4dd in TFormula::DoEval(double const*, double const*) const () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libHist.so
#6  0x00007fd42fd7d7a6 in TFormula::Eval(double) const () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/external/slc6_amd64_gcc530/lib/libHist.so
#7  0x00007fd40c196389 in BinnedValues::get (parameters=..., this=<optimized out>) at /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/Framework/interface/BinnedValues.h:232
#8  BTaggingScaleFactors::store_scale_factors (this=this@entry=0x7fd40fb1b820, algo_=algo_@entry=Algorithm::CSVv2, flavor=<optimized out>, parameters=..., isData=isData@entry=false) at /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/Framework/src/BTaggingScaleFactors.cc:74
#9  0x00007fd40c13cdd4 in JetsProducer::produce (this=0x7fd40fb1b780, event=..., eventSetup=...) at /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/Framework/src/JetsProducer.cc:117
#10 0x00007fd40c15e823 in ExTreeMaker::produce (this=0x7fd40c457b80, iEvent=..., iSetup=...) at /nfs/home/fynu/obondu/Higgs/CMSSW_8_0_19/src/cp3_llbb/Framework/src/Framework.cc:229
#11 0x00007fd43515bd21 in edm::EDProducer::doEvent(edm::EventPrincipal const&, edm::EventSetup const&, edm::ActivityRegistry*, edm::ModuleCallingContext const*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#12 0x00007fd43516ee7f in edm::WorkerT<edm::EDProducer>::implDo(edm::EventPrincipal const&, edm::EventSetup const&, edm::ModuleCallingContext const*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#13 0x00007fd43514c1cc in decltype ({parm#1}()) edm::convertException::wrap<bool edm::Worker::doWork<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal const&, edm::EventSetup const&, edm::StreamID, edm::ParentContext const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*)::{lambda()#1}>(bool edm::Worker::doWork<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal const&, edm::EventSetup const&, edm::StreamID, edm::ParentContext const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*)::{lambda()#1}) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#14 0x00007fd43514cc65 in bool edm::Worker::doWork<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal const&, edm::EventSetup const&, edm::StreamID, edm::ParentContext const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#15 0x00007fd43514d96e in decltype ({parm#1}()) edm::convertException::wrap<void edm::Path::processOneOccurrence<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal const&, edm::EventSetup const&, edm::StreamID const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*)::{lambda()#1}>(void edm::Path::processOneOccurrence<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal const&, edm::EventSetup const&, edm::StreamID const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*)::{lambda()#1}) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#16 0x00007fd43514dc22 in void edm::Path::processOneOccurrence<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal const&, edm::EventSetup const&, edm::StreamID const&, edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::Context const*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#17 0x00007fd43514e045 in void edm::StreamSchedule::processOneEvent<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal&, edm::EventSetup const&, bool)::{lambda()#1}::operator()() const () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#18 0x00007fd43514e33b in decltype ({parm#1}()) edm::convertException::wrap<void edm::StreamSchedule::processOneEvent<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal&, edm::EventSetup const&, bool)::{lambda()#1}>(void edm::StreamSchedule::processOneEvent<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal&, edm::EventSetup const&, bool)::{lambda()#1}) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#19 0x00007fd43514e5af in void edm::StreamSchedule::processOneEvent<edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1> >(edm::OccurrenceTraits<edm::EventPrincipal, (edm::BranchActionType)1>::MyPrincipal&, edm::EventSetup const&, bool) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#20 0x00007fd4351ca082 in edm::EventProcessor::processEvent(unsigned int) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#21 0x00007fd4351ca7b7 in edm::EventProcessor::processEventsForStreamAsync(unsigned int, std::atomic<bool>*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#22 0x00007fd4351d1044 in edm::StreamProcessingTask::execute() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#23 0x00007fd433f0e9b5 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all (this=0x7fd430c57200, parent=..., child=<optimized out>) at ../../src/tbb/custom_scheduler.h:463
#24 0x00007fd4351ca60e in edm::EventProcessor::readAndProcessEvent() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#25 0x00007fd435130faa in statemachine::HandleEvent::readAndProcessEvent() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#26 0x00007fd435132538 in statemachine::HandleEvent::HandleEvent(boost::statechart::state<statemachine::HandleEvent, statemachine::HandleLumis, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::my_context) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#27 0x00007fd43513a2be in boost::statechart::state<statemachine::HandleEvent, statemachine::HandleLumis, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::shallow_construct(boost::intrusive_ptr<statemachine::HandleLumis> const&, boost::statechart::state_machine<statemachine::Machine, statemachine::Starting, std::allocator<void>, boost::statechart::null_exception_translator>&) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#28 0x00007fd43513a5aa in boost::statechart::simple_state<statemachine::AnotherLumi, statemachine::HandleLumis, boost::mpl::list<mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#29 0x00007fd4351d0928 in boost::statechart::state_machine<statemachine::Machine, statemachine::Starting, std::allocator<void>, boost::statechart::null_exception_translator>::process_event(boost::statechart::event_base const&) () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#30 0x00007fd4351c128f in edm::EventProcessor::runToCompletion() () from /cvmfs/cms.cern.ch/slc6_amd64_gcc530/cms/cmssw/CMSSW_8_0_19/lib/slc6_amd64_gcc530/libFWCoreFramework.so
#31 0x000000000040c763 in main::{lambda()#1}::operator()() const ()
#32 0x000000000040ac36 in main ()

A fatal system signal has occurred: segmentation violation
Segmentation fault

(edit: the working branch is currently https://github.com/OlivierBondu/HHAnalysis/tree/80x_fixes but not all changes are pushed yet)

Evaluate usage of muon scale and b-jet regression

We should see if it's worth enabling muon scale correction and b-jet regression. Also, what about systematic uncertainties on these correction? IIRC, it's not clear how to assign uncertainties on these corrections.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.