Search
uscms.org  uscms.fnal.gov  www 

LPC Computing

Step 6: Building and running the Jet/Met root maker

A more advanced example is to run the Root maker of the Jet and MET group. Since the original Buildfile causes trouble we replace it with the one that we can find in the top area of this exercise.

cmscvsroot ORCA
cd ${TOP}/ORCA_7_6_0/src
cvs co -r ORCA_7_6_0 JetMetAnalysis/domain
cd JetMetAnalysis/domain/test
mv BuildFile BuildFile_org
cp ${TOP}/BuildFile .
scram b shared
scram b bin
eval `scram runtime -csh`
rehash

cd

This will create the JetMet executable in your binary directory:

ls ../../../../bin/Linux__2.4/JetMet

We also want to create the shared library libRM.so which can be used to analyze the root file created by the JetMet root maker:

cd ${LOCALRT}/src/JetMetAnalysis/
cvs co -r ORCA_7_6_0 JetMetRoot
cd JetMetRoot/
make

will create

libRM.so

cd $SCRIPTS
setup kerberos
setup fbsng
fbs submit zprime_jj_jmntuple.jdf 8 10000 5

To analyze this data:

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

root

.L ${ROOTSYS}/lib/libPhysics.so
.L libRM.so
TFile *f = new TFile("zprime_jj_jetmet10001.root")
.x dijet3.cint

Should produce a plot like the one below (just with tiny statistics). If you want more statistics one can find 6000 Z' -> jj events in

/pnfs/cms/WAX/2/wenzel/zprime_jj/

to copy the root trees use the following command:

set i=10001
while ( $i < 10021 )
dccp //pnfs/cms/WAX/2/wenzel/zprime_jj/${i}/pool_orca/zprime_jj_jetmet${i}.root .
@ i++
end


  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