1 import FWCore.ParameterSet.Config
as cms
15 cutlist=[
'gtStage2Digis',
'gmtStage2Digis']
17 process.L1TRawToDigi.remove(getattr(process,b))
21 print "L1T INFO: removing output module if found."
23 cutlist=[
'RECOSIMoutput_step']
25 if hasattr(process,b):
26 if process.schedule.count(getattr(process,b)):
27 print "Dropping module ", b
28 process.schedule.remove(getattr(process,b))
33 print "L1T INFO: will dump a summary of unpacked Stage1 content to screen."
34 process.load(
'L1Trigger.L1TCommon.l1tSummaryStage1Digis_cfi')
35 process.l1tstage1summary = cms.Path(process.l1tSummaryStage1Digis)
36 process.schedule.append(process.l1tstage1summary)
40 print "L1T INFO: will dump a summary of unpacked Stage2 content to screen."
41 process.load(
'L1Trigger.L1TCommon.l1tSummaryStage2Digis_cfi')
42 process.l1tstage2summary = cms.Path(process.l1tSummaryStage2Digis)
43 process.schedule.append(process.l1tstage2summary)
47 print "L1T INFO: will dump a summary of simulated Stage1 content to screen."
48 process.load(
'L1Trigger.L1TCommon.l1tSummaryStage1SimDigis_cfi')
49 process.l1tsimstage1summary = cms.Path(process.l1tSummaryStage1SimDigis)
50 process.schedule.append(process.l1tsimstage1summary)
54 print "L1T INFO: will dump a summary of simulated Stage2 content to screen."
55 process.load(
'L1Trigger.L1TCommon.l1tSummarySimStage2Digis_cfi')
56 process.l1tsimstage2summary = cms.Path(process.l1tSummarySimStage2Digis)
57 process.schedule.append(process.l1tsimstage2summary)
62 print "L1T INFO: sending debugging ouput to file l1tdebug.log"
63 print "L1T INFO: add <flags CXXFLAGS=\"-g -D=EDM_ML_DEBUG\"/> in BuildFile.xml of any package you want to debug..."
64 process.MessageLogger = cms.Service(
66 destinations = cms.untracked.vstring(
'l1tdebug',
'cerr'),
67 l1tdebug = cms.untracked.PSet(threshold = cms.untracked.string(
'DEBUG')),
69 cerr = cms.untracked.PSet(threshold = cms.untracked.string(
'WARNING')),
70 debugModules = cms.untracked.vstring(
'*'))
74 print "L1T INFO: adding EventContentAnalyzer to process schedule"
75 process.dumpED = cms.EDAnalyzer(
"EventContentAnalyzer")
76 process.l1tdumpevent = cms.Path(process.dumpED)
77 process.schedule.append(process.l1tdumpevent)
81 process.dumpES = cms.EDAnalyzer(
"PrintEventSetupContent")
82 process.l1tdumpeventsetup = cms.Path(process.dumpES)
83 process.schedule.append(process.l1tdumpeventsetup)
def L1TTurnOffUnpackStage2GtAndGmt
customisations for L1T utilities
def L1TStage1SimDigisSummary
def L1TStage2DigisSummary
def L1TTurnOffOutputModule
def L1TStage2SimDigisSummary
def L1TStage1DigisSummary