TWiki> CMSPublic Web>BTag>SWGuideBTagTutorialFnal (revision 1)EditAttachPDF

b-tagging tutorial


For this tutorial, check out the head of RecoBTag/Analysis and RecoBTag/MCTools, and compile the two packages.

The full explanation of the Analysis package is given in this page.


  replace bTagTrackCountingAnalysis.rootfile = "test_b.root"
  • Run on your sample of c jets, calling the ouptut file test_c.root
  • You now have two root files. Merge the files obtained using the root executable hadd (you should have this in your path, in $ROOTSYS/bin):
 hadd test_add.root    test_b.root    test_c.root

  • Run the cfg file nicePlots.cfg to produce the final performance plots and produce a root file (test_final.root) and eps and ps files of the merged plots (= cmsRun nicePlots.cfg=). Notice in nicePlots.cfg the replace statements, to replace the parameters of the default configuration. In case you have used different eta and pt bins, put in the correct bins through two other replace statements. For example:
  replace bTagTrackCountingAnalysis.etaRanges = { 0.0,  2.4 }
  replace bTagTrackCountingAnalysis.ptRanges = { 30.0, 400.0 }

Look at the plots produced, either in the root file, the ps or the eps file.

MC tools

An example of the usage of the Jet flavour identification tools is given in the EDAnalyzer RecoBTag/MCTools/test/ It is explained in the BTagMCTools page. A sample configuration file to run it is provided in the same directory (test.cfg).

-- Main.speer - 15 Nov 2006

Edit | Attach | Watch | Print version | History: r10 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2006-11-15 - ThomasSpeer

    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic 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.
Ideas, requests, problems regarding TWiki? Send feedback