|
||||
File indexing completed on 2024-04-06 12:03:04
0001 #!/bin/sh 0002 0003 if [ $# -ne 1 ] 0004 then 0005 echo Error: createPPS2021RECOPayloads.sh requires exactly one argument which is the tag 0006 exit 1 0007 fi 0008 mytag=$1 0009 echo ${mytag} 0010 0011 # Set the tag in all the scripts and the metadata text files 0012 sed -i {s/TagXX/${mytag}/g} geometryCTPPS2021_writer.py 0013 sed -i {s/TagXX/${mytag}/g} geometryCTPPS2021*.txt 0014 sed -i {s/TagXX/${mytag}/g} splitPPS2021Database.sh 0015 0016 # First read in the little XML files and create the 0017 # Input cff Output file 0018 # geometryRPFromDD_2021_cfi ge2021SingleBigFile.xml 0019 cmsRun geometryCTPPS2021_xmlwriter.py 0020 0021 # Now convert the content of the large XML file into 0022 # a "blob" and write it to the database. 0023 # Also reads in the little XML files again and fills 0024 # the DDCompactView. From the DDCompactView the 0025 # reco parts of the database are also filled. 0026 cmsRun geometryCTPPS2021_writer.py 0027 0028 # All the database objects were written into one database 0029 # (myfile.db) in the steps above. Extract the different 0030 # pieces into separate database files. These are the payloads 0031 # that get uploaded to the dropbox. There is one for each tag 0032 ./splitPPS2021Database.sh
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |