Recipe to Run HLT Offline DQM

tested on lxplus, with zsh. You will be asked a valid grid certificate to run the below code.

git clone
git pull master
cd dqmutils
export SCRAM_ARCH=slc7_amd64_gcc900
# will ask for grid cert
. ./

cd CMSSW_11_3_0_pre3 && cmsenv && cd -

# create the batch jobs
./  -d $DATASET  -o $DDIR  -w $WF

# run the batch jobs
for job in $DDIR/dqmjob_*/*.sh; do
   echo $job

# do harvesting
./  -i $DDIR/*/*.root  -o $DDIR/harvesting/  -w MC.2021.0

# do plots
./ \
 -i  $DDIR/harvesting/DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO.root \
 -o  $DDIR/harvesting/plots \
 -e png \
 --only-keys '/JME/'

# maybe pack the plots for transfer
tar czvf plots_${DDIR}.tgz $DDIR/harvesting/plots

-- HalilGamsizkan - 2021-03-29
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2021-03-30 - HalilGamsizkan
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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