CMS 3D CMS Logo

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

Functions

def customise
 

Function Documentation

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