CMS 3D CMS Logo

Functions

customise_l1GtEmulatorFromRaw Namespace Reference

Functions

def customise

Function Documentation

def customise_l1GtEmulatorFromRaw::customise (   process)

Definition at line 8 of file customise_l1GtEmulatorFromRaw.py.

00009                       :
00010     
00011     #
00012     # (re-)run the  L1 GT emulator starting from a RAW file
00013     #
00014     from L1Trigger.Configuration.L1Trigger_custom import customiseL1GtEmulatorFromRaw
00015     process=customiseL1GtEmulatorFromRaw(process)
00016     
00017     #
00018     # special configuration cases (change to desired configuration in customize_l1TriggerConfiguration)
00019     #
00020     from L1Trigger.Configuration.customise_l1TriggerConfiguration import customiseL1TriggerConfiguration
00021     process=customiseL1TriggerConfiguration(process)
00022  
00023     #
00024     # customization of output commands
00025     #
00026     from L1Trigger.Configuration.L1Trigger_custom import customiseOutputCommands
00027     process=customiseOutputCommands(process)
00028          
00029     #     
00030     # print the L1 trigger report
00031     # comment/un-comment the corresponding flag
00032     #
00033     #printL1TriggerReport = False
00034     printL1TriggerReport = True
00035     
00036     if printL1TriggerReport == True :
00037         from L1Trigger.Configuration.L1Trigger_custom import customiseL1TriggerReport
00038         process=customiseL1TriggerReport(process)
00039         
00040         process.SimL1Emulator_L1TriggerReport = cms.Sequence(process.SimL1Emulator*process.l1GtTrigReport)
00041         process.L1simulation_step.replace(process.SimL1Emulator,process.SimL1Emulator_L1TriggerReport)
00042 
00043         process.l1GtTrigReport.L1GtRecordInputTag = "simGtDigis"
00044 
00045 
00046     #
00047     return (process)