CMS 3D CMS Logo

gtDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 gtDigis = cms.EDProducer("L1GlobalTrigger",
4 
5  # input tag for GMT readout collection:
6  # gmtDigis = GMT emulator
7  # l1GtUnpack = GT unpacker (common GT/GMT unpacker)
8  GmtInputTag = cms.InputTag("gmtDigis"),
9 
10  # input tag for GCT readout collections:
11  # gctDigis = GCT emulator
12  # l1GctUnpack = GCT unpacker
13  GctInputTag = cms.InputTag("gctDigis"),
14 
15  # input tag for CASTOR record
16  # castorL1Digis = CASTOR
17  CastorInputTag = cms.InputTag("castorL1Digis"),
18 
19  # technical triggers: a vector of input tags, one tag per each technical
20  # trigger producer
21  #
22  # by default: empty vector
23 
24  # Example:
25  # TechnicalTriggersInputTags = cms.VInputTag(cms.InputTag('aTechTrigDigis'),
26  # cms.InputTag('anotherTechTriggerDigis')),
27  TechnicalTriggersInputTags = cms.VInputTag(),
28 
29  # logical flag to produce the L1 GT DAQ readout record
30  # if true, produce the record
31  ProduceL1GtDaqRecord = cms.bool(True),
32 
33  # logical flag to produce the L1 GT EVM readout record
34  # if true, produce the record
35  ProduceL1GtEvmRecord = cms.bool(True),
36 
37  # logical flag to produce the L1 GT object map record
38  # if true, produce the record
39  ProduceL1GtObjectMapRecord = cms.bool(True),
40 
41  # logical flag to write the PSB content in the L1 GT DAQ record
42  # if true, write the PSB content in the record
43  WritePsbL1GtDaqRecord = cms.bool(True),
44 
45  # logical flag to read the technical trigger records
46  # if true, it will read via getMany the available records
47  ReadTechnicalTriggerRecords = cms.bool(True),
48 
49  # number of "bunch crossing in the event" (BxInEvent) to be emulated
50  # symmetric around L1Accept (BxInEvent = 0):
51  # 1 (BxInEvent = 0); 3 (F 0 1) (standard record); 5 (E F 0 1 2) (debug record)
52  # even numbers (except 0) "rounded" to the nearest lower odd number
53  # negative value: emulate TotalBxInEvent as given in EventSetup
54  EmulateBxInEvent = cms.int32(3),
55 
56  # number of BXs in the event corresponding to alternative 0 and 1 in altNrBxBoard()
57  # EmulateBxInEvent >= max(RecordLength[0], RecordLength[1])
58  # negative values: take the numbers from event setup, from L1GtParameters - NOT AVAILABLE YET
59  RecordLength = cms.vint32(3, 0),
60 
61  # alternative for number of BX per active board in GT DAQ record: 0 or 1
62  # the position is identical with the active board bit
63  AlternativeNrBxBoardDaq = cms.uint32(0x0000),
64 
65  # alternative for number of BX per active board in GT EVM record: 0 or 1
66  # the position is identical with the active board bit
67  AlternativeNrBxBoardEvm = cms.uint32(0x0000),
68 
69  # length of BST record (in bytes) from parameter set
70  # negative value: take the value from EventSetup
71  BstLengthBytes = cms.int32(-1),
72 
73  # run algorithm triggers
74  # if true, unprescaled (all prescale factors 1)
75  # will overwrite the event setup
76  AlgorithmTriggersUnprescaled = cms.bool(False),
77 
78  # if true, unmasked - all enabled (all trigger masks set to 0)
79  # will overwrite the event setup
80  AlgorithmTriggersUnmasked = cms.bool(False),
81 
82  # run technical triggers
83  # if true, unprescaled (all prescale factors 1)
84  # will overwrite the event setup
85  TechnicalTriggersUnprescaled = cms.bool(False),
86 
87  # if true, unmasked - all enabled (all trigger masks set to 0)
88  # will overwrite the event setup
89  TechnicalTriggersUnmasked = cms.bool(False),
90 
91  # if true, veto unmasked - all enabled (all trigger veto masks set to 0)
92  # will overwrite the event setup
93  TechnicalTriggersVetoUnmasked = cms.bool(False)
94 
95 
96 )
97 
98