-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMS generator cards for 2015 files #97
Comments
@OsamaMomani as we discussed, this could be done separated from the other script, and in this case, the pseudocode is input: list of datasets
|
Exceptions/additions: mcdb_id, but no
|
folder structure
~3478 mcdb files (tens of MB) in opendata portal
|
(edited 11.10.2021)
The generator "gridpacks" are stored in /cvmfs/cms.cern.ch/phys_generator/gridpacks/
However, note that not all the LHE cards 2015 are stored yet there.
Take an example dataset from https://github.com/cernopendata/data-curation/blob/master/cms-YYYY-simulated-datasets/inputs/CMS-2015-mc-datasets.txt
Find the generator cards "by-hand" with:
Case no LHE:
Three options:
Through "fragments" stored in McM
Advantage: gets directly the relevant information
"name_of_fragment": "Configuration/GenProduction/python/ThirteenTeV/sherpa_ADDGravitonToDiPhoton_MS3000_NED2_KK4_M-2000To3000_13TeV-sherpa_MASTER_cff.py"
and also "fragment_tag" which is "f6347..." and the URL can be constructed from bothAs the metadata script reads the full dictionary we should have this information already
gen_fragment_url
may require updating https://github.com/cernopendata/data-curation/blob/master/cms-YYYY-simulated-datasets/code/mcm_store.py#L189 if all gen fragments available in "name of fragment"Configuration/GenProduction/python/
and link has/cms-sw/genproductions/f63476b2fdbd3b05dffe4ac3cd8edfefefbe0d88/python/
i.e refers to a specific commitConfig files
Advantage: already available as config for GEN-SIM step
Disadvantage: shows the full config file, not only the cards
The steps 1,2 as above, then
"config_id": ["c4d03e96b97e6067c54800f67781f8a7"]
From edmProvDump
Advantage: get the information directly from the file
Disadvantage: to be done in a CMSSW release area, formatting not the best for the display
.../CMSSW_7_6_7/src
) and aftercmsenv
:edmProvDump -f "generator SIM" root://eospublic.cern.ch/$file | grep -A9999 "generator SIM"
Case LHE:
Case no gridpack
"mcdb_id": 15839
/eos/cms/store/lhe/$mcdb_id
Case gridpack
From McM dictionary
/cvmfs/cms.cern.ch/phys_generator/gridpacks/slc6_amd64_gcc481/13TeV/madgraph/V5_2.2.2/BBbarDM/DMPseudo_bbbar01j_mphi_10000_mchi_10_gSM_1p0_gDM_1p0_tarball.tar.xz
"fragment": "import FWCore.ParameterSet.Config as cms\n\nexternalLHEProducer = cms.EDProducer(\"ExternalLHEProducer\",\n args = cms.vstring('/cvmfs/cms.cern.ch/phys_generator/gridpacks/slc6_amd64_gcc481/13TeV/madgraph/V5_2.2.2/BBbarDM/DMPseudo_bbbar01j_mphi_10000_mchi_10_gSM_1p0_gDM_1p0_tarball.tar.xz'),\n nEvents = cms.untracked.uint32(5000),\n numberOfParameters = cms.uint32(1),\n outputFile = cms.string('cmsgrid_final.lhe'),\n scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh')\n)\n\n#Link to datacards:\n#https://github.com/cms-sw/genproductions/tree/427b801b62574119ef1b48d8c48153f167c3c9b3/bin/MadGraph5_aMCatNLO/cards/production/13TeV/DarkMatter/DMPseudo_bbar/DMPseudo_bbbar01j_mphi_10000_mchi_10_gSM_1p0_gDM_1p0",
From edmProvDump
.../CMSSW_7_6_7/src
) and aftercmsenv
:Extract cards once $gp address is know
The text was updated successfully, but these errors were encountered: