CMS 3D CMS Logo

simEmtfDigisPhase2_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
3 
4 # EMTF Phase2 emulator configuration
5 simEmtfDigisMCPhase2 = cms.EDProducer(
6  "L1TMuonEndCapPhase2TrackProducer",
7 
8  # Verbosity level
9  Verbosity = cms.untracked.int32(3),
10 
11  # Validation
12  ValidationDirectory = cms.string("L1Trigger/L1TMuonEndCapPhase2/data/validation"),
13 
14  # Neural Network Models
15  PromptGraphPath = cms.string("L1Trigger/L1TMuonEndCapPhase2/data/prompt_model.pb"),
16  DisplacedGraphPath = cms.string("L1Trigger/L1TMuonEndCapPhase2/data/displaced_model.pb"),
17 
18  # Input collections
19  # Three options for CSCInput
20  # * 'simCscTriggerPrimitiveDigis','MPCSORTED' : simulated trigger primitives (LCTs) from re-emulating CSC digis
21  # * 'csctfDigis' : real trigger primitives as received by CSCTF (legacy trigger), available only in 2016 data
22  # * 'emtfStage2Digis' : real trigger primitives as received by EMTF, unpacked in EventFilter/L1TRawToDigi/
23  CSCInput = cms.InputTag('simCscTriggerPrimitiveDigisForEMTF','MPCSORTED'),
24  RPCInput = cms.InputTag('rpcRecHitsForEMTF'),
25  GEMInput = cms.InputTag('simMuonGEMPadDigiClusters'),
26  ME0Input = cms.InputTag('me0TriggerConvertedPseudoDigis'),
27  GE0Input = cms.InputTag('ge0TriggerConvertedPseudoDigis'),
28 
29  # Run with CSC, RPC, GEM
30  CSCEnabled = cms.bool(True), # Use CSC LCTs from the MPCs in track-building
31  RPCEnabled = cms.bool(True), # Use clustered RPC hits from CPPF in track-building
32  GEMEnabled = cms.bool(True), # Use hits from GEMs in track-building
33  ME0Enabled = cms.bool(True),
34  GE0Enabled = cms.bool(False),
35 
36  # BX
37  MinBX = cms.int32(-2), # Minimum BX considered
38  MaxBX = cms.int32(2), # Maximum BX considered
39  BXWindow = cms.int32(1), # Number of BX whose primitives can be included in the same track
40 
41  CSCInputBXShift = cms.int32(-8), # Shift applied to input CSC LCT primitives, to center at BX = 0
42  RPCInputBXShift = cms.int32(0),
43  GEMInputBXShift = cms.int32(0),
44  ME0InputBXShift = cms.int32(-8),
45 
46  IncludeNeighborEnabled = cms.bool(True), # Include primitives from neighbor chambers in track-building
47 )
48 
49 phase2_GE0.toModify(simEmtfDigisMCPhase2, ME0Enabled=False, GE0Enabled=True)
50 
51 simEmtfDigisDataPhase2 = simEmtfDigisMCPhase2.clone(
52  # Inputs
53  CSCInput = cms.InputTag('emtfStage2Digis'),
54  RPCInput = cms.InputTag('muonRPCDigis'),
55 )
56 
57 simEmtfDigisPhase2 = simEmtfDigisMCPhase2.clone()