CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
customise_l1EmulatorFromRaw Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def customise_l1EmulatorFromRaw.customise (   process)

Definition at line 8 of file customise_l1EmulatorFromRaw.py.

8 def customise(process):
9 
10  #
11  # (re-)run the L1 emulator starting from a RAW file
12  #
13  from L1Trigger.Configuration.L1Trigger_custom import customiseL1EmulatorFromRaw
14  process=customiseL1EmulatorFromRaw(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.CaloTPG_SimL1Emulator_L1TriggerReport = cms.Sequence(
40  process.CaloTPG_SimL1Emulator*process.l1GtTrigReport)
41  process.L1simulation_step.replace(
42  process.CaloTPG_SimL1Emulator,process.CaloTPG_SimL1Emulator_L1TriggerReport)
43 
44  process.l1GtTrigReport.L1GtRecordInputTag = "simGtDigis"
45 
46 
47  #
48  return (process)

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

customise_l1EmulatorFromRaw.customise
def customise(process)
Definition: customise_l1EmulatorFromRaw.py:8
L1Trigger_custom.customiseL1TriggerReport
def customiseL1TriggerReport(process)
Definition: L1Trigger_custom.py:291
L1Trigger_custom.customiseL1EmulatorFromRaw
def customiseL1EmulatorFromRaw(process)
Definition: L1Trigger_custom.py:157
L1Trigger_custom.customiseOutputCommands
def customiseOutputCommands(process)
Definition: L1Trigger_custom.py:139
customise_l1TriggerConfiguration.customiseL1TriggerConfiguration
def customiseL1TriggerConfiguration(process)
Definition: customise_l1TriggerConfiguration.py:11