CMS 3D CMS Logo

Functions

customise_l1EmulatorFromRaw Namespace Reference

Functions

def customise

Function Documentation

def customise_l1EmulatorFromRaw::customise (   process)

Definition at line 8 of file customise_l1EmulatorFromRaw.py.

00009                       :
00010     
00011     #
00012     # (re-)run the  L1 emulator starting from a RAW file
00013     #
00014     from L1Trigger.Configuration.L1Trigger_custom import customiseL1EmulatorFromRaw
00015     process=customiseL1EmulatorFromRaw(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.CaloTPG_SimL1Emulator_L1TriggerReport = cms.Sequence(
00041                                                     process.CaloTPG_SimL1Emulator*process.l1GtTrigReport)
00042         process.L1simulation_step.replace(
00043                             process.CaloTPG_SimL1Emulator,process.CaloTPG_SimL1Emulator_L1TriggerReport)
00044 
00045         process.l1GtTrigReport.L1GtRecordInputTag = "simGtDigis"
00046 
00047 
00048     #
00049     return (process)