/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondTools/Geometry/test/writehelpers/createExtended2016Payloads.sh
34 строки
1 KB
Sunanda
Modify the scripts to prepare the DDD payloads for the Run2 scenarios
18 фев 2025, 07:37
18 фев 2025, 07:37
bb3e6f4
Код
Авторство
О чём код?
#!/bin/sh if [ $# -ne 1 ] then echo Error: createExtended2016Payloads.sh requires exactly one argument which is the tag exit 1 fi mytag=$1 echo ${mytag} # Set the tag in all the scripts and the metadata text files sed -i {s/TagXX/${mytag}/g} *.py #sed -i {s/TagXX/${mytag}/g} *.txt sed -i {s/TagXX/${mytag}/g} splitExtended2016Database.sh # First read in the little XML files and create the # large XML file for the Phase1_R30F12_HCal Ideal scenario. # Input cff Output file # GeometryExtended2016_cff geSingleBigFile.xml cmsRun geometryExtended2016_xmlwriter.py # Now convert the content of the large XML file into # a "blob" and write it to the database. # Also reads in the little XML files again and fills # the DDCompactView. From the DDCompactView the # reco parts of the database are also filled. cmsRun geometryExtended2016_writer.py # All the database objects were written into one database # (myfile.db) in the steps above. Extract the different # pieces into separate database files. These are the payloads # that get uploaded to the dropbox. There is one for each tag ./splitExtended2016Database.sh