CMS 3D CMS Logo

Functions

CustomConfigs Namespace Reference

Functions

def Base
def FASTSIM
def HLTDropPrevious
def L1T
def L1THLT
def ProcessName

Function Documentation

def CustomConfigs::Base (   process)

Definition at line 18 of file CustomConfigs.py.

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

00019                  :
00020 #   default modifications
00021 
00022     process.options.wantSummary = cms.untracked.bool(True)
00023 
00024     process.MessageLogger.categories.append('TriggerSummaryProducerAOD')
00025     process.MessageLogger.categories.append('L1GtTrigReport')
00026     process.MessageLogger.categories.append('HLTrigReport')
00027 
00028 # override the GlobalTag, connection string and pfnPrefix
00029     if 'GlobalTag' in process.__dict__:
00030         process.GlobalTag.connect   = 'frontier://FrontierProd/CMS_COND_31X_GLOBALTAG'
00031         process.GlobalTag.pfnPrefix = cms.untracked.string('frontier://FrontierProd/')
00032         
00033     process=ProcessName(process)
00034 
00035     return(process)
00036 

def CustomConfigs::FASTSIM (   process)

Definition at line 66 of file CustomConfigs.py.

00067                     :
00068 #   modifications when running L1T+HLT
00069 
00070     process=L1THLT(process)
00071     process.hltL1GtTrigReport.L1GtRecordInputTag = cms.InputTag("gtDigis")
00072 
00073     return(process)
00074 

def CustomConfigs::HLTDropPrevious (   process)

Definition at line 75 of file CustomConfigs.py.

00076                             :
00077 #   drop on input the previous HLT results
00078     process.source.inputCommands = cms.untracked.vstring (
00079         'keep *',
00080         'drop *_hltL1GtObjectMap_*_*',
00081         'drop *_TriggerResults_*_*',
00082         'drop *_hltTriggerSummaryAOD_*_*',
00083     )
00084 
00085     process=Base(process)
00086     
00087     return(process)
def CustomConfigs::L1T (   process)

Definition at line 37 of file CustomConfigs.py.

00038                 :
00039 #   modifications when running L1T only
00040 
00041     process.load('L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi')
00042     process.l1GtTrigReport.L1GtRecordInputTag = cms.InputTag( "simGtDigis" )
00043 
00044     process.L1AnalyzerEndpath = cms.EndPath( process.l1GtTrigReport )
00045     process.schedule.append(process.L1AnalyzerEndpath)
00046 
00047     process=Base(process)
00048 
00049     return(process)
00050 

def CustomConfigs::L1THLT (   process)

Definition at line 51 of file CustomConfigs.py.

00052                    :
00053 #   modifications when running L1T+HLT
00054 
00055     if not ('HLTAnalyzerEndpath' in process.__dict__) :
00056         from HLTrigger.Configuration.HLT_FULL_cff import hltL1GtTrigReport,hltTrigReport
00057         process.hltL1GtTrigReport = hltL1GtTrigReport
00058         process.hltTrigReport = hltTrigReport
00059         process.HLTAnalyzerEndpath = cms.EndPath(process.hltL1GtTrigReport +  process.hltTrigReport)
00060         process.schedule.append(process.HLTAnalyzerEndpath)
00061 
00062     process=Base(process)
00063 
00064     return(process)
00065 

def CustomConfigs::ProcessName (   process)

Definition at line 3 of file CustomConfigs.py.

00004                         :
00005 #   processname modifications
00006 
00007     if 'hltTrigReport' in process.__dict__:
00008         process.hltTrigReport.HLTriggerResults = cms.InputTag( 'TriggerResults','',process.name_() )
00009 
00010     if 'hltDQMHLTScalers' in process.__dict__:
00011         process.hltDQMHLTScalers.triggerResults = cms.InputTag( 'TriggerResults','',process.name_() )
00012 
00013     if 'hltDQML1SeedLogicScalers' in process.__dict__:
00014         process.hltDQML1SeedLogicScalers.processname = process.name_()
00015 
00016     return(process)
00017