Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:08

0001 #!/bin/sh
0002 
0003 
0004 if [ $# -ne 1 ]
0005 then
0006   echo Error: createExtended2026Payloads.sh requires exactly one argument which is the tag
0007   exit 1
0008 fi
0009 mytag=$1
0010 echo ${mytag}
0011 
0012 # Set the tag in all the scripts and the metadata text files
0013 sed -i {s/TagXX/${mytag}/g} *.py
0014 compgen -G "*.txt" > /dev/null && sed -i {s/TagXX/${mytag}/g} *.txt
0015 sed -i {s/TagXX/${mytag}/g} splitExtended2026Database.sh
0016 
0017 # First read in the little XML files and create the
0018 # large XML file for the Phase1_R30F12_HCal Ideal scenario.
0019 # Input cff                                             Output file
0020 # GeometryExtended2026_cff                       geSingleBigFile.xml
0021 cmsRun geometryExtended2026_xmlwriter.py
0022 
0023 # Now convert the content of the large XML file into
0024 # a "blob" and write it to the database.
0025 # Also reads in the little XML files again and fills
0026 # the DDCompactView. From the DDCompactView the
0027 # reco parts of the database are also filled.
0028 cmsRun geometryExtended2026_writer.py
0029 
0030 # All the database objects were written into one database
0031 # (myfile.db) in the steps above.  Extract the different
0032 # pieces into separate database files.  These are the payloads
0033 # that get uploaded to the dropbox.  There is one for each tag
0034 ./splitExtended2026Database.sh