Functions | |
def | Base (process) |
def | customiseGlobalTagForOnlineBeamSpot (process) |
def | HLTDropPrevious (process) |
def | HLTRECO (process) |
def | L1REPACK (process, sequence="Full") |
def | L1T (process) |
def | L1THLT (process) |
def | L1XML (process, xmlFile=None) |
def | ProcessName (process) |
Variables | |
process | |
override the GlobalTag, connection string and pfnPrefix if 'GlobalTag' in process.__dict__: process.GlobalTag.connect = 'frontier://FrontierProd/CMS_CONDITIONS' process.GlobalTag.pfnPrefix = cms.untracked.string('frontier://Frontie#rProd/') More... | |
def CustomConfigs.Base | ( | process | ) |
Definition at line 17 of file CustomConfigs.py.
Referenced by gen::DataCardFileWriter.DataCardFileWriter(), models.generate(), HLTDropPrevious(), L1T(), and L1THLT().
def CustomConfigs.customiseGlobalTagForOnlineBeamSpot | ( | process | ) |
Customisation of GlobalTag for Online BeamSpot - edits the GlobalTag ESSource to load the tags used to produce the HLT beamspot - these tags are not available in the Offline GT, which is the GT presently used in HLT+RECO tests - not loading these tags (i.e. not using this customisation) does not result in a runtime error, but it leads to an HLT beamspot different to the one obtained when running HLT alone
Definition at line 136 of file CustomConfigs.py.
def CustomConfigs.HLTDropPrevious | ( | process | ) |
Definition at line 160 of file CustomConfigs.py.
References Base(), and mathSSE.return().
def CustomConfigs.HLTRECO | ( | process | ) |
Customisations for running HLT+RECO in the same job - remove ESSources and ESProducers from Tasks (needed to run HLT+RECO tests on GPU) - when Reconstruction_cff is loaded, it brings in Tasks that include GPU-related ES modules with the same names as they have in HLT configs - in TSG tests, these GPU-related RECO Tasks are not included in the Schedule (because the "gpu" process-modifier is not used); this causes the ES modules not to be executed, thus making them unavailable to HLT producers - this workaround removes ES modules from Tasks, making their execution independent of the content of the Schedule; with reference to https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideAboutPythonConfigFile?rev=92#Behavior_when_an_ESProducer_ESSo, this workaround avoids "Case 3" by reverting to "Case 2" - this workaround only affects Tasks of non-HLT steps, as the addition of ES modules to Tasks is not supported in ConfDB (none of the Tasks used in the HLT step can contain ES modules in the first place, modulo customisations outside ConfDB)
Definition at line 109 of file CustomConfigs.py.
def CustomConfigs.L1REPACK | ( | process, | |
sequence = "Full" |
|||
) |
Definition at line 174 of file CustomConfigs.py.
References edm::eventsetup::heterocontainer.insert(), and mps_monitormerge.items.
def CustomConfigs.L1T | ( | process | ) |
Definition at line 43 of file CustomConfigs.py.
References Base(), and mathSSE.return().
def CustomConfigs.L1THLT | ( | process | ) |
Definition at line 77 of file CustomConfigs.py.
References Base(), and mathSSE.return().
def CustomConfigs.L1XML | ( | process, | |
xmlFile = None |
|||
) |
Definition at line 213 of file CustomConfigs.py.
def CustomConfigs.ProcessName | ( | process | ) |
Definition at line 8 of file CustomConfigs.py.
References mathSSE.return().
Referenced by ConfigBuilder.ConfigBuilder.prepare_HLT().
CustomConfigs.process |
override the GlobalTag, connection string and pfnPrefix if 'GlobalTag' in process.__dict__: process.GlobalTag.connect = 'frontier://FrontierProd/CMS_CONDITIONS' process.GlobalTag.pfnPrefix = cms.untracked.string('frontier://Frontie#rProd/')
process.GlobalTag.snapshotTime = cms.string("9999-12-31 23:59:59.000")
Definition at line 38 of file CustomConfigs.py.