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.

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)

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

L1Trigger_custom.customiseL1TriggerReport
def customiseL1TriggerReport(process)
Definition: L1Trigger_custom.py:291
L1Trigger_custom.customiseL1GtEmulatorFromRaw
def customiseL1GtEmulatorFromRaw(process)
Definition: L1Trigger_custom.py:187
L1Trigger_custom.customiseOutputCommands
def customiseOutputCommands(process)
Definition: L1Trigger_custom.py:139
customise_l1GtEmulatorFromRaw.customise
def customise(process)
Definition: customise_l1GtEmulatorFromRaw.py:8
customise_l1TriggerConfiguration.customiseL1TriggerConfiguration
def customiseL1TriggerConfiguration(process)
Definition: customise_l1TriggerConfiguration.py:11