Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:18

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 gtDigis = cms.EDProducer("L1GlobalTrigger",
0004     
0005     # input tag for GMT readout collection: 
0006     #     gmtDigis = GMT emulator
0007     #     l1GtUnpack     = GT unpacker (common GT/GMT unpacker)
0008     GmtInputTag = cms.InputTag("gmtDigis"),
0009     
0010     # input tag for GCT readout collections: 
0011     #     gctDigis = GCT emulator 
0012     #     l1GctUnpack    = GCT unpacker 
0013     GctInputTag = cms.InputTag("gctDigis"),
0014     
0015     # input tag for CASTOR record 
0016     #     castorL1Digis =  CASTOR
0017     CastorInputTag = cms.InputTag("castorL1Digis"),
0018     
0019     # technical triggers: a vector of input tags, one tag per each technical 
0020     # trigger producer 
0021     # 
0022     # by default: empty vector
0023     
0024     # Example:
0025     # TechnicalTriggersInputTags = cms.VInputTag(cms.InputTag('aTechTrigDigis'), 
0026     #                                            cms.InputTag('anotherTechTriggerDigis')),
0027     TechnicalTriggersInputTags = cms.VInputTag(),
0028     
0029     # logical flag to produce the L1 GT DAQ readout record
0030     #     if true, produce the record
0031     ProduceL1GtDaqRecord = cms.bool(True),
0032     
0033     # logical flag to produce the L1 GT EVM readout record
0034     #     if true, produce the record
0035     ProduceL1GtEvmRecord = cms.bool(True),
0036     
0037     # logical flag to produce the L1 GT object map record
0038     #     if true, produce the record
0039     ProduceL1GtObjectMapRecord = cms.bool(True),
0040     
0041     # logical flag to write the PSB content in the  L1 GT DAQ record
0042     #     if true, write the PSB content in the record
0043     WritePsbL1GtDaqRecord = cms.bool(True),
0044     
0045     # logical flag to read the technical trigger records
0046     #     if true, it will read via getMany the available records
0047     ReadTechnicalTriggerRecords = cms.bool(True),
0048     
0049     # number of "bunch crossing in the event" (BxInEvent) to be emulated
0050     # symmetric around L1Accept (BxInEvent = 0):
0051     #    1 (BxInEvent = 0); 3 (F 0 1) (standard record); 5 (E F 0 1 2) (debug record)
0052     # even numbers (except 0) "rounded" to the nearest lower odd number
0053     # negative value: emulate TotalBxInEvent as given in EventSetup  
0054     EmulateBxInEvent = cms.int32(3),   
0055     
0056     # number of BXs in the event corresponding to alternative 0 and 1 in altNrBxBoard()
0057     # EmulateBxInEvent >= max(RecordLength[0], RecordLength[1])
0058     # negative values: take the numbers from event setup, from L1GtParameters - NOT AVAILABLE YET
0059     RecordLength = cms.vint32(3, 0),
0060 
0061     # alternative for number of BX per active board in GT DAQ record: 0 or 1
0062     # the position is identical with the active board bit
0063     AlternativeNrBxBoardDaq = cms.uint32(0x0000),  
0064 
0065     # alternative for number of BX per active board in GT EVM record: 0 or 1
0066     # the position is identical with the active board bit
0067     AlternativeNrBxBoardEvm = cms.uint32(0x0000),  
0068     
0069     # length of BST record (in bytes) from parameter set
0070     # negative value: take the value from EventSetup      
0071     BstLengthBytes = cms.int32(-1),
0072     
0073     # run algorithm triggers 
0074     #     if true, unprescaled (all prescale factors 1)
0075     #     will overwrite the event setup
0076     AlgorithmTriggersUnprescaled = cms.bool(False),
0077     
0078     #     if true, unmasked - all enabled (all trigger masks set to 0)
0079     #     will overwrite the event setup
0080     AlgorithmTriggersUnmasked = cms.bool(False),
0081 
0082     # run technical triggers
0083     #     if true, unprescaled (all prescale factors 1)
0084     #     will overwrite the event setup
0085     TechnicalTriggersUnprescaled = cms.bool(False),
0086     
0087     #     if true, unmasked - all enabled (all trigger masks set to 0)
0088     #     will overwrite the event setup
0089     TechnicalTriggersUnmasked = cms.bool(False),
0090 
0091     #     if true, veto unmasked - all enabled (all trigger veto masks set to 0)
0092     #     will overwrite the event setup
0093     TechnicalTriggersVetoUnmasked = cms.bool(False)
0094     
0095     
0096 )
0097 
0098