Parent Directory
|
Revision Log
|
Revision Graph
Added README file, vectorIncludes file, and moved makeParFile.csh to makeParFile
## Recipe for Running a PROOF Ntuple Analysis ## Author: Stephanie Majewski majewski@bnl.gov One-Time Setup ================ setenv CVSROOT /afs/usatlas.bnl.gov/software/cvs # Setup CVSROOT at BNL cvs co -d PROOF groups/PROOF # Check out the PROOF package cd PROOF/ProofNtupleAnalysis source SetupROOTforPROOF.csh # Setup ROOTSYS variables (default is 5.20.00) # You must do this every time you open a new terminal root <path/to/rootfilename.root> # Run ROOT on one of your data files [ROOT] CollectionTree->MakeSelector() # Create individual CollectionTree.C, Collection Tree.h # files that match the structure of your tree # Analagous to "MakeClass()" # Change "CollectionTree" to the name of your tree if it # is different # Redo this if your tree structure changes [ROOT] .q # Quit ROOT ./makeParFile # Create the .par (PROOF Archive) file; edit treeName if # your tree has a different name # Edit run-mySelector.C; customize "chain->Add()" commands # Rerun this script if your "CollectionTree" files change Run the Example ================= root run-mySelector.C # this opens a PROOF session and copies 2000 events from # your chain to a new tree; edit mySelector.C, # mySelector::Process() method to customize your analysis ## You can edit mySelector.C / mySelector.h and then run "root run-mySelector.C" after each iteration for testing ## The number of events you run over can be changed in run-mySelector.C; it is an argument of chain->Process(...)
| CERN Central CVS service | ViewVC Help |
| Powered by ViewVC 1.0.9 |