User Tools

Site Tools


ntuple:ivf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ntuple:ivf [2013/09/26 17:21] – [Work flow] clangentuple:ivf [2013/10/23 17:48] – [Steps for MSSM Hbb analysis] clange
Line 6: Line 6:
   cvs co -r V01-10-02 RecoBTag/SecondaryVertex   cvs co -r V01-10-02 RecoBTag/SecondaryVertex
  
-For a very low-level analysis (which is also partly outdated and therefore not recommended) need to check out two additional packages:+To use the same approach as the VHbb group, one also needs to check out two additional packages:
  
-  #cvs co -d IVF/BCandidateProducer UserCode/BbCorrelation/CMSSW/BAnalysis/BCandidateProducer +  cvs co -d IVF/BCandidateProducer UserCode/BbCorrelation/CMSSW/BAnalysis/BCandidateProducer 
-  #cvs co -d ZSV/BAnalysis UserCode/ZSV/BAnalysis/ +  cvs co -d ZSV/BAnalysis UserCode/ZSV/BAnalysis/ 
-  #scram b -c+  scram b -c
  
 Last command needed to update really old IVF package config files to BuildFile.xml files. Last command needed to update really old IVF package config files to BuildFile.xml files.
Line 56: Line 56:
  
 ==== b to charm decay vertex merging ==== ==== b to charm decay vertex merging ====
 +
 +The b-to-charm decay vertex merging attempts to identify B to D meson decays and merges them based on DeltaR, the vertex mass, the angle between them and the relative transverse momentum:
  
   * Source code: [[https://github.com/cms-sw/cmssw/blob/CMSSW_5_3_X/RecoBTag/SecondaryVertex/plugins/BtoCharmDecayVertexMerger.cc|BtoCharmDecayVertexMerger.cc]]   * Source code: [[https://github.com/cms-sw/cmssw/blob/CMSSW_5_3_X/RecoBTag/SecondaryVertex/plugins/BtoCharmDecayVertexMerger.cc|BtoCharmDecayVertexMerger.cc]]
   * Configuration file: [[https://github.com/cms-sw/cmssw/blob/CMSSW_5_3_X/RecoBTag/SecondaryVertex/python/bToCharmDecayVertexMerger_cfi.py|bToCharmDecayVertexMerger_cfi.py]]   * Configuration file: [[https://github.com/cms-sw/cmssw/blob/CMSSW_5_3_X/RecoBTag/SecondaryVertex/python/bToCharmDecayVertexMerger_cfi.py|bToCharmDecayVertexMerger_cfi.py]]
  
- +===== Useful links ===== 
-==== Useful links ==== +partly used in VHbb ntuples: 
-partly used in VHbb ntuples:  +  * VHbb recipe: https://twiki.cern.ch/twiki/bin/viewauth/CMS/VHbbAnalysisNewCode#NtupleV42_CMSSW_5_3_3_patch2
-  *https://twiki.cern.ch/twiki/bin/viewauth/CMS/VHbbAnalysisNewCode#NtupleV42_CMSSW_5_3_3_patch2+
   * http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/UserCode/VHbbAnalysis/HbbAnalyzer/test/patData.py?revision=1.9&view=markup   * http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/UserCode/VHbbAnalysis/HbbAnalyzer/test/patData.py?revision=1.9&view=markup
  
Line 71: Line 72:
  
 twiki documentation: twiki documentation:
-  * https://twiki.cern.ch/twiki/bin/viewauth/CMS/CSVIVF 
   * official recipe: https://twiki.cern.ch/twiki/bin/viewauth/CMS/InclusiveVertexFinderRecipes   * official recipe: https://twiki.cern.ch/twiki/bin/viewauth/CMS/InclusiveVertexFinderRecipes
-  * VHbb recipe: https://twiki.cern.ch/twiki/bin/viewauth/CMS/VHbbAnalysisNewCode+  * combination with CSV tagger: https://twiki.cern.ch/twiki/bin/viewauth/CMS/CSVIVF
  
 CMSSW: CMSSW:
-  * http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/RecoVertex/AdaptiveVertexFinder/+  * https://github.com/cms-sw/cmssw/blob/CMSSW_5_3_X/RecoVertex/AdaptiveVertexFinder
 +  * https://github.com/cms-sw/cmssw/blob/CMSSW_5_3_X/RecoBTag/SecondaryVertex/
 ===== Current errors ===== ===== Current errors =====
  
 none none
 +
 +
 +===== Steps for MSSM Hbb analysis ===
 +
 +  cvs co -r V02-02-06 RecoVertex/AdaptiveVertexFinder
 +  cvs co -r V01-10-02 RecoBTag/SecondaryVertex
 +  
 +Check for details of information:
 +  RecoBTag/SecondaryVertex/test/runIVFAnalyzer_cff.py
 +  RecoBTag/SecondaryVertex/test/IVFAnalyzer.cc
 +  
 +And voila:
 +
 +  The bdiscriminators below will be written to the jet collection in the PATtuple (default is all, see PatAlgos/PhysicsTools/python/tools/jetTools.py)
 +  jetBProbabilityBJetTags
 +  jetProbabilityBJetTags
 +  trackCountingHighPurBJetTags
 +  trackCountingHighEffBJetTags
 +  simpleSecondaryVertexHighEffBJetTags
 +  simpleSecondaryVertexHighPurBJetTags
 +  simpleInclusiveSecondaryVertexHighEffBJetTags
 +  simpleInclusiveSecondaryVertexHighPurBJetTags
 +  combinedSecondaryVertexBJetTags
 +  combinedSecondaryVertexMVABJetTags
 +  softMuonBJetTags
 +  softMuonByPtBJetTags
 +  softMuonByIP3dBJetTags
 +  simpleSecondaryVertexNegativeHighEffBJetTags
 +  simpleSecondaryVertexNegativeHighPurBJetTags
 +  negativeTrackCountingHighEffJetTags
 +  negativeTrackCountingHighPurJetTags
 +  combinedInclusiveSecondaryVertexBJetTags
 +  combinedMVABJetTags
 +  doubleSecondaryVertexHighEffBJetTags
 +
ntuple/ivf.txt · Last modified: 2013/10/23 18:00 by clange