Search
uscms.org  uscms.fnal.gov  www 

LPC Computing

Step 5: Running a small ntuple maker

Running a small ntuple maker

Here we use an existing program that fills some standard calorimeter quantities into a Root tree. The example consists of 5 source files,
one .cpp, two .cc and two .h files. Here you can find an image showing how these files depend on each other.

cd ${TOP}/ORCA_7_6_0/src
cmscvsroot ORCA
cvs co -r Tutorial031114 Examples/Tutorial
cd Examples/Tutorial
scram build shared
scram build bin
eval `scram runtime -csh`
rehash

now the ExTutTree executable should be on your path

cd ${SCRIPTS}
setup kerberos
setup fbsng
fbs submit zprime_jj_ntuple.jdf 8 10000 5

Let's go to the analysis area to have a look at the Root Tree. First we stage in the produced files from Mass storage then we make a few plots.

cd $ANALYSIS
set i=10001
while ( $i < 10009 )
dccp ${PNFS_PATH}/${i}/pool_orca/ExTutTree${i}.root .
@ i++
end

root
root [0] .L T1.C
root [1] .x plotT1.C
root [2]

should produce something similar to the plots below plotting some simple reconstructed quantities (just with less statistics).


(Click image for larger version)

Continue to next step


  1. General setup
  2. Event generation on the farm with CMKIN (Pythia), Analysis of the generator level output
  3. Simulate the events with OSCAR
  4. Digitize with ORCA
  5. Run a small ntuple maker ( from Stephan's ORCA tutorial) looking at Calorimeter quantities
  6. Run the JetMet ntuple maker and make some plots
Webmaster | Last modified: Tuesday, 08-Jan-2008 11:59:47 CST