Repository to setup the latest version of CSCValidation to be run automatically on CAF
Setup a new release
cmsrel CMSSW_9_3_1 # or current CMSSW version
cd CMSSW_9_3_1/src
cmsenv
git cms-init # make sure this happens before checking out this repository
Clone the repository
git clone [email protected]:wsicheng/CSCValidationRunning.git
Run the setup script
cd CSCValidationRunning
./setup.sh
To run a cron job on afs you must use acrontab. The current version crontab script is in
AutoValidation/autoval.cron. Make certain you consult with others to make
sure we don't have multiple cron jobs running. A schedule can be found at the Twiki.
Note: DAS requires authentication.
To run with acrontab, do a voms-proxy-init
and copy the /tmp/x509up_uXXXX
file to a private directory on afs.
The /tmp directory will not be visible on all lxplus nodes (just the one you create it on).
python generateCron.py /path/to/proxy
acrontab <autoval.acron
acrontab -l
The primary submission script can be found in AutoValidation/run_cscval.py. For documentation on the script run:
./run_cscval.py -h
This script can run over multiple event content types (FEVT and RAW). You must simply pass it the
dataset name and global tag. The script can be run in single run mode (-rn RUNNUMBER
) or all runs mode.
It will then check whether a run has been processed yet and whether CSCs were in the run and submit the
job to the CAF LSF batch queues. After the job is finished, the outputs are stored on EOS. You can then
produce the images and pass the output to the website with the --retrieveOutput
option.
The script checks the local folder for what runs have been processed: AutoValidation/STREAMNAME
. The
STREAMNAME
option can include ExpressCosmics
, Cosmics
, SingleMu
, and DoubleMu
.
Templates for producing the scripts to submit to bash are found in the Templates directory.
- To make the stderr output files
*_merge.err
more readable, one can put the following line
Root.ErrorIgnoreLevel: Error
into their ~/.rootrc
, to suppress the infinite "TCanvas::Print" statments.