00001 import FWCore.ParameterSet.Config as cms 00002 00003 gtDigis = cms.EDProducer("L1GlobalTrigger", 00004 00005 # input tag for GMT readout collection: 00006 # gmtDigis = GMT emulator 00007 # l1GtUnpack = GT unpacker (common GT/GMT unpacker) 00008 GmtInputTag = cms.InputTag("gmtDigis"), 00009 00010 # input tag for GCT readout collections: 00011 # gctDigis = GCT emulator 00012 # l1GctUnpack = GCT unpacker 00013 GctInputTag = cms.InputTag("gctDigis"), 00014 00015 # input tag for CASTOR record 00016 # castorL1Digis = CASTOR 00017 CastorInputTag = cms.InputTag("castorL1Digis"), 00018 00019 # technical triggers: a vector of input tags, one tag per each technical 00020 # trigger producer 00021 # 00022 # by default: empty vector 00023 00024 # Example: 00025 # TechnicalTriggersInputTags = cms.VInputTag(cms.InputTag('aTechTrigDigis'), 00026 # cms.InputTag('anotherTechTriggerDigis')), 00027 TechnicalTriggersInputTags = cms.VInputTag(), 00028 00029 # logical flag to produce the L1 GT DAQ readout record 00030 # if true, produce the record 00031 ProduceL1GtDaqRecord = cms.bool(True), 00032 00033 # logical flag to produce the L1 GT EVM readout record 00034 # if true, produce the record 00035 ProduceL1GtEvmRecord = cms.bool(True), 00036 00037 # logical flag to produce the L1 GT object map record 00038 # if true, produce the record 00039 ProduceL1GtObjectMapRecord = cms.bool(True), 00040 00041 # logical flag to write the PSB content in the L1 GT DAQ record 00042 # if true, write the PSB content in the record 00043 WritePsbL1GtDaqRecord = cms.bool(True), 00044 00045 # logical flag to read the technical trigger records 00046 # if true, it will read via getMany the available records 00047 ReadTechnicalTriggerRecords = cms.bool(True), 00048 00049 # number of "bunch crossing in the event" (BxInEvent) to be emulated 00050 # symmetric around L1Accept (BxInEvent = 0): 00051 # 1 (BxInEvent = 0); 3 (F 0 1) (standard record); 5 (E F 0 1 2) (debug record) 00052 # even numbers (except 0) "rounded" to the nearest lower odd number 00053 # negative value: emulate TotalBxInEvent as given in EventSetup 00054 EmulateBxInEvent = cms.int32(3), 00055 00056 # number of BXs in the event corresponding to alternative 0 and 1 in altNrBxBoard() 00057 # EmulateBxInEvent >= max(RecordLength[0], RecordLength[1]) 00058 # negative values: take the numbers from event setup, from L1GtParameters - NOT AVAILABLE YET 00059 RecordLength = cms.vint32(3, 0), 00060 00061 # alternative for number of BX per active board in GT DAQ record: 0 or 1 00062 # the position is identical with the active board bit 00063 AlternativeNrBxBoardDaq = cms.uint32(0x0000), 00064 00065 # alternative for number of BX per active board in GT EVM record: 0 or 1 00066 # the position is identical with the active board bit 00067 AlternativeNrBxBoardEvm = cms.uint32(0x0000), 00068 00069 # length of BST record (in bytes) from parameter set 00070 # negative value: take the value from EventSetup 00071 BstLengthBytes = cms.int32(-1), 00072 00073 # run algorithm triggers 00074 # if true, unprescaled (all prescale factors 1) 00075 # will overwrite the event setup 00076 AlgorithmTriggersUnprescaled = cms.bool(False), 00077 00078 # if true, unmasked - all enabled (all trigger masks set to 0) 00079 # will overwrite the event setup 00080 AlgorithmTriggersUnmasked = cms.bool(False), 00081 00082 # run technical triggers 00083 # if true, unprescaled (all prescale factors 1) 00084 # will overwrite the event setup 00085 TechnicalTriggersUnprescaled = cms.bool(False), 00086 00087 # if true, unmasked - all enabled (all trigger masks set to 0) 00088 # will overwrite the event setup 00089 TechnicalTriggersUnmasked = cms.bool(False), 00090 00091 # if true, veto unmasked - all enabled (all trigger veto masks set to 0) 00092 # will overwrite the event setup 00093 TechnicalTriggersVetoUnmasked = cms.bool(False) 00094 00095 00096 ) 00097 00098