CMS 3D CMS Logo

Functions

CustomConfigs Namespace Reference

Functions

def Base
def HLTDropPrevious
def L1T
def L1THLT
def L1THLT2

Function Documentation

def CustomConfigs::Base (   process)

Definition at line 6 of file CustomConfigs.py.

Referenced by ora::ObjectStreamerBase::buildBaseDataMembers(), ora::ClassUtils::findBaseType(), ora::processBaseClasses(), and edm::public_base_classes().

00007                  :
00008 #   default modifications
00009 
00010     process.options.wantSummary = cms.untracked.bool(True)
00011 
00012     process.MessageLogger.categories.append('TriggerSummaryProducerAOD')
00013     process.MessageLogger.categories.append('L1GtTrigReport')
00014     process.MessageLogger.categories.append('HLTrigReport')
00015 
00016     if 'hltTrigReport' in process.__dict__:
00017         process.hltTrigReport.HLTriggerResults = cms.InputTag( 'TriggerResults','',process.name_() )
00018 
00019     if 'hltDQMHLTScalers' in process.__dict__:
00020         process.hltDQMHLTScalers.triggerResults = cms.InputTag( 'TriggerResults','',process.name_() )
00021 
00022     if 'hltDQML1SeedLogicScalers' in process.__dict__:
00023         process.hltDQML1SeedLogicScalers.processname = process.name_()
00024 
00025     return(process)
00026 

def CustomConfigs::HLTDropPrevious (   process)

Definition at line 68 of file CustomConfigs.py.

00069                             :
00070 #   drop on input the previous HLT results
00071     process.source.inputCommands = cms.untracked.vstring (
00072         'keep *',
00073         'drop *_hltL1GtObjectMap_*_*',
00074         'drop *_TriggerResults_*_*',
00075         'drop *_hltTriggerSummaryAOD_*_*',
00076     )
00077 
00078     process=Base(process)
00079     
00080     return(process)
def CustomConfigs::L1T (   process)

Definition at line 27 of file CustomConfigs.py.

00028                 :
00029 #   modifications when running L1T only
00030 
00031     process.load('L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi')
00032     process.l1GtTrigReport.L1GtRecordInputTag = cms.InputTag( "simGtDigis" )
00033 
00034     process.L1AnalyzerEndpath = cms.EndPath( process.l1GtTrigReport )
00035     process.schedule.append(process.L1AnalyzerEndpath)
00036 
00037     process=Base(process)
00038 
00039     return(process)
00040 

def CustomConfigs::L1THLT (   process)

Definition at line 41 of file CustomConfigs.py.

00042                    :
00043 #   modifications when running L1T+HLT
00044 
00045     process=Base(process)
00046 
00047     return(process)
00048 

def CustomConfigs::L1THLT2 (   process)

Definition at line 49 of file CustomConfigs.py.

00050                     :
00051 #   modifications when re-running L1T+HLT    
00052 
00053 #   run trigger primitive generation on unpacked digis, then central L1
00054 
00055     process.load("L1Trigger.Configuration.CaloTriggerPrimitives_cff")
00056     process.simEcalTriggerPrimitiveDigis.Label = 'ecalDigis'
00057     process.simHcalTriggerPrimitiveDigis.inputLabel = ('hcalDigis', 'hcalDigis')
00058 
00059 #   patch the process to use 'sim*Digis' from the L1 emulator
00060 #   instead of 'hlt*Digis' from the RAW data
00061 
00062     patchToRerunL1Emulator.switchToSimGtDigis( process )
00063 
00064     process=Base(process)
00065 
00066     return(process)
00067