TopNtuples From 5.3.1 Production Output
Prescription
TopNtuples made from 5.3.1 production are being made.
The prescription used to make them is:
# Create test release
setup cdfsoft2 5.3.1
newrel -t 5.3.1 topnt_531
cd topnt_531
# Get TopMods with CosmicFinder patch installed
addpkg TopMods top_5_3_1_v01
# Get patches
cvs co Release
cvs co -A cdfopr
cdfopr/scripts/checkout_patches 5.3.1_physics
gmake nobin TopMods.bin
The patches include:
- TofAlgs : pick up the right TOF calibrations.
- TrackingSi : fix memory leak in beginRun in SiExpected.
- BTagMods : double check if no SvxBeam in SecVtxModule::event.
- UtilMods : put the database sniper back in jail.
CAVEAT!!! If you want to use the UtilMods patch, you
have to compile without shared libaries:
unsetenv USESHLIBS
gmake nobin TopMods.bin
Ntuple files
We are processing the following datasets
CAF Tarballs
The tar file used to run this data is given here.
These are sent to a local disk, and are copied over as I check them.
- In general:
% mkdir temp
% cp submit_top_531.tgz temp/
% cd temp
% tar -zxvf submit_top_531.tgz
% ls
cafsubmit.csh* top_531.tgz submit_top_531.tgz
% ./cafsubmit.csh
Usage: < tarfile > < dataset > < description > [< test=false > < first_sec > < last_sec > < output_location=icaf:temp.tgz >]
Description of input parameters:
- tarfile : top_531.tgz
- datset : gjt20d, bhel0d, bhmu0d
- description : whatever appropriate description you want
- test : run a test job or not
- first_sec : first section to submit
- last_sec : last section to submit
- output_location : location of tarball.
- The data is split into N sections, where N is the number of filesets.
- PLEASE NOTE! This does not mean there is one fileset per section. The
CAF splits by FILE, not by FILESET, so that statement is only ROUGHLY correct.
- To run a test job on the inclusive muons (100 events, 2 sections):
% ./cafsubmit.csh top_531.tgz bhmu0d gen5val true
CFSOFT2_DIR : /home/cdfsoft/dist/releases/development
Setting default tarfile output location
Testing only
Setting to test queue
Processing:
Cafcom top_531.tgz icaf:bhmu0d_gen5val_$.tgz rappocc@fnal.gov test 1 2 ./run_topeventmodule.caf $ 1 46 bhmu0d filecatalog false muon gen5val 100
Analysis Farm: caf Host: fcdfhead1.fnal.gov
JID: XXXXX
- To run the full muon dataset (assuming you have untarred everything, tested it, and it works) :
% ./cafsubmit_su.csh top_531.tgz bhmu0d gen5val
CFSOFT2_DIR : /home/cdfsoft/dist/releases/development
Setting default tarfile output location
Processing all events
Processing all filesets
Processing:
Cafcom top_531.tgz icaf:bhmu0d_gen5val_$.tgz rappocc@fnal.gov topstrip 1 46 ./run_topeventmodule.caf $ 1 46 bhmu0d filecatalog false muon gen5val 0
Analysis Farm: caf Host: fcdfhead1.fnal.gov
JID: XXXXX
Making your own TopNtuples
- To run over a new dataset in DCACHE: Simply edit cafsubmit.csh to be able
to handle your new dataset. I usually give the number of sections to be the number
of filesets. See the gjt20d entry in cafsubmit.csh for an example.
- To change an existing dataset in ROOTD:
cat rootd_files_topmc_matched.txt
root://fcdfdata031.fnal.gov//cdf/scratch/cdfmc/from_toronto/531_with_MC_matching/ttbar_531.*.root
Change this file to whatever you want:
--------------------------------------
cat "wherever your tarfiles are" > rootd_files_my_new_mc.txt
tar -chvzf my-favorite-directory/my_new_tarfile.tgz *
Then, you can run using the cafsubmit.csh command:
--------------------------------------------------
./cafsubmit.csh my-favorite-directory/my_new_tarfile.tgz ttbar_matched my_description
- To add a new dataset in ROOTD, you need to follow the instructions for
changing an existing datest, and then modify cafsubmit.csh to handle it. See
cafsubmit.csh for ttbar_matched for an example.
Salvatore Rappoccio
Last modified: Tue May 4 08:26:11 CDT 2004