venerdì 19 ottobre 2007

ECALTB06 analysis and submission howto

CMSSW 1_1_0, plus ECALTBH4_0_1_0
https://twiki.cern.ch/twiki/bin/view/CMS/ECALTBH4

Never versions coming sometime

Packages

User/EcalTBAnalyzer
User/EcalTBAnalyzerData
RecoTBCalo/EcalTBRecProducers

should be extracted from http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/UserCode/Torino/Ecal/TestBeam/

or CVS


go to the production area:

User/EcalTBAnalyzer/data
run `eval scramv1 runt -csh`
run the sumbission script

./tbsubmit_single -c tbanalysis-sm16.cfg.tmpl -r files-sm16.txt -e lxcmsf3:/data/argiro/ecaltb2

where

-c file is the configuration template
-r file is the file containg the list of files (runs) to be processed
-e dir is the destination directory, to be created ahead of time

bjobs can be used to monitor, dummye and dummy will contain stdout and stderr
of the job submission, while processing logs will be in the destination dir

It is a good idea to stage files from castor first

csa07_stager.py -r filelist -s


Analysis macros are in User/EcalTBAnalyzer/data

runxtals.C -> produces files containing only one xtal. Must be modified to select which xtals
select_xtal.C(xtal, dir) -> select one single xtal (used by runxtals)
lin.C -> the do-it-all analysis macro

TBNtuple.h is needed from User/EcalTBAnalyzerData/interface

1 commento:

Stefano Argiro ha detto...

stuff above works under slc3 -> log in to lxslc3