Instructions for CAB+SAM usage with the unb_xxx packages. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( These are still ~disorganized, but hopefully workable... ) If you are a SAM-novice, you MUST visit; CAB - SAM http://www.nuhep.nwu.edu/~schellma/cab/cab_doc_v2.html ~~~~~~~~~~ You need; setup sam setup d0tools SAM needs an absolute path as default, so you must "cd" to your analysis area with an absolute path; e.g. cd /work/gonzo-clued0/maciel/unb/ IMPORTANT; REMEMBER to add "sam" to package list in rununb_driver.rcp ~~~~~~~~~~~~~~~~~ edit unb_driver/rcp/rununb_driver.rcp and enable the line string Packages = "geometry sam read config unpack muocand analyze" //string Packages = "geometry read config unpack muocand analyze" As far as the package goes, you are all set. ======================================================================= For choice of good runs, see http://d0db.fnal.gov/qualitygrabber/qualQueries.html MUO= reasonable JET,MET,CFT=good ======================================================================= Below, a disorganized list of commands and projects that I used. With CAB jobs; to find status qstat @d0mino -n -u maciel This will give you the job name, kill with: qdel ####.ripon-clued0.fnal.gov where #### should of course be replaced by the correct number. To access "out&log"files the 2nd line from qstat is the node at which it is running. xterm & ktelnet d0cs147 cd /scratch/405470.ripon-cl [tab] ls --> you want the big dir cd D0ChunkAnalyze_x-p14.02.00-maxopt-Linux-run163528tmb_zatserkl-405470/ more D0ChunkAnalyze_x.out (log) ======================================================================= PROJECTS ======================================================================= (I) ZATSERKL // 100K evts (p13) runchunkanalyze -rcp=runD0ChunkAnalyze.rcp\ -cab -defname=run163528tmb_zatserkl\ -scratch=/work/gonzo-clued0/maciel/CAB // 950K evts (p13) runchunkanalyze -rcp=runD0ChunkAnalyze.rcp\ -cab -defname=run170040_170041_tmb_zatserkl\ -scratch=/work/gonzo-clued0/maciel/CAB ======================================================================= (II) RECENT RUNS ======================================================================= http://d0db.fnal.gov/qualitygrabber/qualQueries.html MUO= reasonable JET,MET,CFT=good other good runs 176360,176364,176367,176368,176474,176475,176477, 176482,176483. ========================================================= 1M sam translate constraints --dim="data_tier thumbnail\ and run_number in (176185,176193,176194,176208)\ and file_name recoT_all_%.raw_p13.06.%" File Count: 23 Average File Size: 747250 Total File Size: 17186766 Total Event Count: 1002525 ========================================================= 1M DO A ROBUSTNESS TEST HERE !!!! (change RCP buffer size) sam translate constraints\ --dim="data_tier thumbnail\ and run_number in (176300,176302,176305,176309)\ and file_name recoT_all_%.raw_p13.06.01" File Count: 22 Average File Size: 849148 Total File Size: 18681256 Total Event Count: 1106258 sam create dataset definition --group=dzero\ --defname="maciel_tmb.p13.06.01_runs_176300-02-05-09"\ --dim="data_tier thumbnail\ and run_number in (176300,176302,176305,176309)\ and file_name recoT_all_%.raw_p13.06.01" Dataset definition created with Id: 72034 runchunkanalyze -rcp=runD0ChunkAnalyze.rcp\ -cab -defname=maciel_tmb.p13.06.01_runs_176300-02-05-09\ -scratch=/work/gonzo-clued0/maciel/CAB ========================================================== To check a data set definition sam translate constraints\ --dim="__set__ maciel-tmb.p13.06.01-runs_176300,02,05,09,11." File Count: 24 Average File Size: 826945 Total File Size: 19846688 Total Event Count: 1179785 ========================================================== ========================================================= 500K -- SUCCESS ( breaking down previous maciel_tmb.p13.06.01_run_176230_231 ) sam translate constraints --dim="data_tier thumbnail\ and run_number=176230 and file_name recoT_all_%.raw_p13.06.01" File Count: 11 Average File Size: 848067 Total File Size: 9328740 Total Event Count: 498814 sam create dataset definition --group=dzero\ --defname=maciel_tmb.p13.06.01_run_176230\ --dim="data_tier thumbnail and run_number=176230\ and file_name recoT_all_%.raw_p13.06.01" Dataset definition created with Id: 72489 runchunkanalyze -rcp=runD0ChunkAnalyze.rcp\ -cab -defname=maciel_tmb.p13.06.01_run_176230\ -scratch=/work/gonzo-clued0/maciel/CAB ========================================================= 500K sam translate constraints --dim="data_tier thumbnail\ and run_number=176231 and file_name recoT_all_%.raw_p13.06.01" File Count: 11 Average File Size: 888633 Total File Size: 9774966 Total Event Count: 536124 sam create dataset definition --group=dzero\ --defname=maciel_tmb.p13.06.01_run_176231\ --dim="data_tier thumbnail and run_number=176231\ and file_name recoT_all_%.raw_p13.06.01" Dataset definition created with Id: 72525 runchunkanalyze -rcp=runD0ChunkAnalyze.rcp\ -cab -defname=maciel_tmb.p13.06.01_run_176231\ -scratch=/work/aldan-clued0/maciel/CAB ========================================================= 500K -- SUCCESS sam translate constraints --dim="data_tier thumbnail\ and run_number in (176210,176212,176213,176214)\ and file_name recoT_all_%.raw_p13.06.01" File Count: 19 Average File Size: 501608 Total File Size: 9530564 Total Event Count: 520087 sam create dataset definition --group=dzero\ --defname="maciel_tmb.p13.06.01_runs_176210-12-13-14"\ --dim="data_tier thumbnail\ and run_number in (176210,176212,176213,176214)\ and file_name recoT_all_%.raw_p13.06.01" Dataset definition created with Id: 72062 runchunkanalyze -rcp=runD0ChunkAnalyze.rcp\ -cab -defname=maciel_tmb.p13.06.01_runs_176210-12-13-14\ -scratch=/rooms/dungeon/niu/maciel/CAB