Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:06:57

0001 #! /bin/csh
0002 
0003 if ($#argv != 4) then
0004   echo "Usage: $0 uniqueNumber scrtipDir script storeFname"
0005   exit 231
0006 endif
0007 
0008 set unum = $1
0009 set scriptDir = $2
0010 set script = $3
0011 set cfile = $4
0012 
0013 cd $scriptDir
0014 eval `scramv1 runtime -csh`
0015 cd -
0016 
0017 cp $scriptDir/$script .
0018 
0019 echo process.source.fileNames = cms.untracked.vstring\(\"$cfile\"\) >> $script
0020 echo 'process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))' >> $script
0021 
0022 
0023 
0024 cmsRun $script
0025 
0026 set fout = mu.$unum.txt
0027 mv muons.txt $fout
0028 gzip -9 $fout
0029 mv *.gz $scriptDir/out
0030 
0031 #detailedInfo.txt
0032 #gzip -9 detailedInfo.txt
0033 #mv detailedInfo.txt.gz $scriptDir/out/detailedInfo_$unum.txt.gz
0034 
0035 
0036 
0037 
0038 
0039 
0040