CMS 3D CMS Logo

Functions
customise_l1GtEmulatorFromRaw Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def customise_l1GtEmulatorFromRaw.customise (   process)

Definition at line 8 of file customise_l1GtEmulatorFromRaw.py.

References L1Trigger_custom.customiseL1GtEmulatorFromRaw(), customise_l1TriggerConfiguration.customiseL1TriggerConfiguration(), L1Trigger_custom.customiseL1TriggerReport(), and L1Trigger_custom.customiseOutputCommands().

8 def customise(process):
9 
10  #
11  # (re-)run the L1 GT emulator starting from a RAW file
12  #
13  from L1Trigger.Configuration.L1Trigger_custom import customiseL1GtEmulatorFromRaw
14  process=customiseL1GtEmulatorFromRaw(process)
15 
16  #
17  # special configuration cases (change to desired configuration in customize_l1TriggerConfiguration)
18  #
19  from L1Trigger.Configuration.customise_l1TriggerConfiguration import customiseL1TriggerConfiguration
20  process=customiseL1TriggerConfiguration(process)
21 
22  #
23  # customization of output commands
24  #
25  from L1Trigger.Configuration.L1Trigger_custom import customiseOutputCommands
26  process=customiseOutputCommands(process)
27 
28  #
29  # print the L1 trigger report
30  # comment/un-comment the corresponding flag
31  #
32  #printL1TriggerReport = False
33  printL1TriggerReport = True
34 
35  if printL1TriggerReport == True :
36  from L1Trigger.Configuration.L1Trigger_custom import customiseL1TriggerReport
37  process=customiseL1TriggerReport(process)
38 
39  process.SimL1Emulator_L1TriggerReport = cms.Sequence(process.SimL1Emulator*process.l1GtTrigReport)
40  process.L1simulation_step.replace(process.SimL1Emulator,process.SimL1Emulator_L1TriggerReport)
41 
42  process.l1GtTrigReport.L1GtRecordInputTag = "simGtDigis"
43 
44 
45  #
46  return (process)
47 
def customiseOutputCommands(process)
def customiseL1TriggerReport(process)
def customiseL1GtEmulatorFromRaw(process)