Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:11

0001 #!/bin/bash
0002 
0003 #run merging config
0004 cmsRun merging_cfg.py
0005 
0006 echo "DQM file produced"
0007 file="$(ls | grep -i "DQM")"
0008 echo $file
0009 
0010 #clean directory
0011 rm -r pi50_*.py *.log LSFJOB_* pi50_*.root conf.py mc.root
0012 echo "Changing the name of DQM file"
0013 if [ "$#" -ne 1 ]; then
0014     echo "Give One version name for DQM root file"
0015     exit
0016 fi
0017 
0018 ThisVERS=$1
0019 mv ${file} pi50scan${ThisVERS}_ECALHCAL_CaloTowers.root
0020 echo "New DQM file name:"
0021 echo "pi50scan${ThisVERS}_ECALHCAL_CaloTowers.root"
0022 echo "Moving DQM file into macros/"
0023 
0024 mv pi50scan${ThisVERS}_ECALHCAL_CaloTowers.root ../macros/