Analyis of the 'Ntuples'
Login to t3ui02
kinit user@CERN.CH
cmsrel CMSSW_3_5_6
cd CMSSW_3_5_6/src
cmsenv
setenv LD_LIBRARY_PATH /swshare/glite/d-cache/dcap/lib/:${LD_LIBRARY_PATH}
cvs co HeavyFlavorAnalysis/Bs2MuMu
cvs co AnalysisDataFormats/HeavyFlavorObjects
cd AnalysisDataFormats/HeavyFlavorObjects/
make
cd ../../HeavyFlavorAnalysis/Bs2MuMu/macros/
make
bin/runTreeReaders -r bmmReader -c chains/100407.mc -C cuts/bmmReader.default.cuts (for MinBias MC)
bin/runTreeReaders -r bmmReader -c chains/100407.data -C cuts/bmmReader.default.cuts (for prompt reco data)
You can redirect the output rootfile with -D ~/somewhere/.
If you are using a bash, you'll need to translate the 'setenv LD_LIBRART_PATH ...' command appropriately.
runTreeReaders.cc is a wrapper executable that instantiates tree classes to be run and provides some command line parsing and other setup utilities.
The class bmmReader is just an example for an analysis class. It inherits from treeReader01 (some of the stuff which needs virtually no editing is in treeReader01.icc).
When you produce a class (presumably derived from treeReader01 or even from bmmReader), and if it is needed for the final analysis (validation, normalization, whatever), please add it to runTreeReaders.cc.
--
UrsLangenegger - 2010-04-07