ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/CMSSW/PhysicsTools/PythonAnalysis/examples/howto.txt
Revision: 1.1
Committed: Wed Nov 1 10:47:55 2006 UTC (18 years, 6 months ago) by hegner
Content type: text/plain
Branch: MAIN
CVS Tags: V00-01-03, V00-01-02
Log Message:
moved examples to example directory/ added interactive example

File Contents

# User Rev Content
1 hegner 1.1 # How to use the python examples in CMSSW
2    
3     # You need to include cms helper classes in PYTHONPATH ("cmstools")
4     bash: export PYTHONPATH=$CMSSW_BASE/src/PhysicsTools/PythonAnalysis/python:$PYTHONPATH
5     csh: setenv PYTHONPATH $CMSSW_BASE/src/PhysicsTools/PythonAnalysis/python:$PYTHONPATH
6    
7     #execute examples via
8     python example.py
9    
10     # read generatorOutput.root and print the generated event number
11     python MCTruth.py # standard ROOT and FWLite
12     python MCTruth2.py # with cmstools
13    
14     # makes some tracker plots
15     python trackerHits.py