Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /PhysicsTools/PythonAnalysis/examples/howto.txt is written in an unsupported language. File is not indexed.

0001 # How to use the python examples in CMSSW
0002 
0003 # Beginning with CMSSW_1_3_X the following lines aren't needed any more. Instead you do "scramv1 b" after checkout
0004 # You need to include cms helper classes in PYTHONPATH ("cmstools")
0005 bash: export PYTHONPATH=$CMSSW_BASE/src/PhysicsTools/PythonAnalysis/python:$PYTHONPATH
0006 csh: setenv PYTHONPATH $CMSSW_BASE/src/PhysicsTools/PythonAnalysis/python:$PYTHONPATH
0007 
0008 #execute examples via
0009 python example.py
0010 
0011 # read generatorOutput.root and print the generated event number
0012 python MCTruth.py    # standard ROOT and FWLite
0013 python MCTruth2.py   # with cmstools
0014 
0015 # makes some tracker plots
0016 python trackerHits.py