Functions | |
def | Base (process) |
def | customiseGlobalTagForOnlineBeamSpot (process) |
def | customiseHLTforHIonRepackedRAW (process) |
def | customiseHLTforHIonRepackedRAWPrime (process, useRawDataCollector=False, siStripApproxClustersModuleLabel='hltSiStripClusters2ApproxClusters') |
def | customiseL1TforHIonRepackedRAW (process, l1tSequenceLabel='SimL1Emulator') |
def | customiseL1TforHIonRepackedRAWPrime (process, l1tSequenceLabel='SimL1Emulator') |
def | customiseL1THLTforHIonRepackedRAW (process) |
def | customiseL1THLTforHIonRepackedRAWPrime (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 15 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 135 of file CustomConfigs.py.
def CustomConfigs.customiseHLTforHIonRepackedRAW | ( | process | ) |
Customise a HLT menu to run on the repacked RAW data produced at HLT during Heavy-Ion data-taking (collection: "rawDataRepacker") - replace "rawDataCollector" with "rawDataRepacker::@skipCurrentProcess"
Definition at line 269 of file CustomConfigs.py.
References MassReplace.massReplaceInputTag().
def CustomConfigs.customiseHLTforHIonRepackedRAWPrime | ( | process, | |
useRawDataCollector = False , |
|||
siStripApproxClustersModuleLabel = 'hltSiStripClusters2ApproxClusters' |
|||
) |
Customise a HLT menu to run on the repacked RAWPrime data produced at HLT during Heavy-Ion data-taking (collections: "rawPrimeDataRepacker" + "hltSiStripClusters2ApproxClusters") - delete modules of type 'SiStripRawToDigiModule', 'SiStripDigiToRawModule' and 'SiStripZeroSuppression' - delete SiStripApproxClusters producer and HLT-HIon RAW-data repackers (e.g. "rawPrimeDataRepacker") - replace SiStripClusterizers with SiStripClusters built from SiStripApproxClusters
Definition at line 285 of file CustomConfigs.py.
References MassReplace.massReplaceInputTag(), and customizeForNoTrackerDCS.producers_by_type().
Referenced by customiseL1THLTforHIonRepackedRAWPrime().
def CustomConfigs.customiseL1TforHIonRepackedRAW | ( | process, | |
l1tSequenceLabel = 'SimL1Emulator' |
|||
) |
Customise the L1REPACK step (re-emulation of L1-Trigger) to run on the repacked RAW data produced at HLT during Heavy-Ion data-taking (collection: "rawDataRepacker") - replace "rawDataCollector" with "rawDataRepacker" in the L1T-emulation sequence
Definition at line 228 of file CustomConfigs.py.
References MassReplace.massSearchReplaceAnyInputTag(), and print().
Referenced by customiseL1THLTforHIonRepackedRAW().
def CustomConfigs.customiseL1TforHIonRepackedRAWPrime | ( | process, | |
l1tSequenceLabel = 'SimL1Emulator' |
|||
) |
Customise the L1REPACK step (re-emulation of L1-Trigger) to run on the repacked RAWPrime data produced at HLT during Heavy-Ion data-taking (collection: "rawPrimeDataRepacker") - replace "rawDataCollector" with "rawPrimeDataRepacker" in the L1T-emulation sequence (in terms of L1T information, "rawDataRepacker" and "rawPrimeDataRepacker" are equivalent)
Definition at line 248 of file CustomConfigs.py.
References MassReplace.massSearchReplaceAnyInputTag(), and print().
Referenced by customiseL1THLTforHIonRepackedRAWPrime().
def CustomConfigs.customiseL1THLTforHIonRepackedRAW | ( | process | ) |
Customise a configuration with L1T+HLT steps to run on the repacked RAW data produced at HLT during Heavy-Ion data-taking (collection: "rawDataRepacker") - in the L1T step, replace "rawDataCollector" with "rawDataRepacker" - no customisation needed for the HLT step (the HLT modules consume the "rawDataCollector" produced by the L1T step)
Definition at line 332 of file CustomConfigs.py.
References customiseL1TforHIonRepackedRAW().
def CustomConfigs.customiseL1THLTforHIonRepackedRAWPrime | ( | process | ) |
Customise a configuration with L1T+HLT steps to run on the repacked RAWPrime data produced at HLT during Heavy-Ion data-taking (collections: "rawPrimeDataRepacker" + "hltSiStripClusters2ApproxClusters") - in the L1T step, replace "rawDataCollector" with "rawPrimeDataRepacker" - in the HLT step, apply the customisations needed for the SiStripApproxClusters (the HLT modules consume the "rawDataCollector" produced by the L1T step)
Definition at line 343 of file CustomConfigs.py.
References customiseHLTforHIonRepackedRAWPrime(), and customiseL1TforHIonRepackedRAWPrime().
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, removing 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 107 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 41 of file CustomConfigs.py.
References Base(), and mathSSE.return().
def CustomConfigs.L1THLT | ( | process | ) |
Definition at line 75 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 6 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 36 of file CustomConfigs.py.