User Tools

Site Tools


root:backcat

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
root:backcat [2009/01/14 12:13] decianmroot:backcat [2009/01/14 13:38] decianm
Line 44: Line 44:
  
 ==== Notes ==== ==== Notes ====
-At this moment (09/01/14), all anti-particle numbers are converted into particle-numbers.+At this moment (09/01/14), all anti-particle numbers are converted into particle numbers.
  
 ===== The PDGlatex()-method ===== ===== The PDGlatex()-method =====
Line 50: Line 50:
  
 ==== Notes ==== ==== Notes ====
-At this moment (09/01/14), no anti-particles are converted implemented.+At this moment (09/01/14), no anti-particles are implemented.
  
 ===== How to use it in ROOT/C++ ===== ===== How to use it in ROOT/C++ =====
Line 59: Line 59:
   *''.q''   *''.q''
 This should have created a file named **BG_cat.tex** in your directory. This should have created a file named **BG_cat.tex** in your directory.
 +
 +===== How to use it in Python =====
 +The classes have not really been tested in Python. The following procedure seems to work, though.
 +Copy the file **libToolClasses.so** in your working directory. Start python and type:
 +  *''import GaudiPython''
 +  *''GaudiPython.loaddict('STLRflx')''
 +  *''import sys, ROOT''
 +  *''import libToolClasses'' It will complain about "dynamic module does not define init function".
 +  *''from ROOT import BGlatex, convPDGnumber'' 
 +  *''a = BGlatex()''
 +  *''a.makeTable()'' (or with arguments)
 +  *CTRL-D
 +This should have created a file named **BG_cat.tex** in your directory.
 +===== Disclaimer =====
 +Most of the above programming was done in a Trial-and-Error fashion and things have not been extensively tested. Feel free to add comments or report bugs.
 +
  
root/backcat.txt · Last modified: 2009/02/03 12:20 by decianm