How to Setup CAF at clued0 and Skim the Data

by Pedro Mercadante - Last update on 15-Dec-2005

Follow the wiki page setup (clued0 is a tcshell): (

setup D0RunII p18.03.00
setup d0tools
setup d0cvs
setenv LINK_SHARED yes
newrel -t p18.03.00 work_new
cd work_new
set path=($SRT_PRIVATE_CONTEXT/shbin/$SRT_SUBDIR $path )

The work_new directory is at:


an area that Greg gave us with 2 Tera of disk space:

lafex-clued0:/rooms/safe/brazil> df .
Filesystem 1K-blocks Used Available Use% Mounted on
2113784984 89057936 2024727048 5% /rooms/safe

In this directory I have run cafe with the following cafe.config to skim the data:

lafex-clued0:/rooms/safe/brazil/mercadan/work> more cafe_101_1.config
cafe.Run: EventFlags(myFlags) Write(MyFile)
cafe.Input: listfile:emhightpt_101_1.lst
MyFile.File: electrons_101_1.root
myFlags.All: HAS_2EM_15
#MySelection.Select: EMscone[0].Pt() > 20. && EMscone[1].Pt() > 20.
MyFile.Disable: TrackCal TrackCalJet_JCCA TrackCalJet_JCCB
cafe.Progress: 1000
#cafe.Events: 4000

I have several cafe_***_.config with the respective file list. In this way each job has only 20 input files that gives 2 gb of output *.root. The complete list of all input files are in

emhightpt_tot.lista (916 files).

However this list has some files that were processed two times and we need to keep only one. The cafe_*_*.lst contains only one copy of each file (895 files).

The list of skimmed files was found in:
2EMhighpt: /prj_root/1403/caf_write/CAF-2EMhighpt-p18.01.00/

To run in clud0 batch system we need to:

setup caf_tools
runcafe -clued0 -cput=5:00:00 -mem=500mb -- cafe_12_1.config

To see the queue:

qstat -n -u mercadan

The output are is in:


There are about 40 different list of files, each with an output of 2Gb. To transfer it via scp to D0server is a long job.

Topic revision: r2 - 2006-09-18 - SergioLietti

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

antalya escort bursa escort eskisehir escort istanbul escort izmir escort