Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 stage2GMTRaw = cms.EDProducer(
0004     "MP7BufferDumpToRaw",
0005     rxFile           = cms.untracked.string("rx_summary.txt"),
0006     txFile           = cms.untracked.string("tx_summary.txt"),
0007 
0008     # input file type
0009     packetisedData   = cms.untracked.bool(False),
0010 
0011     # parameters for non-packetised data
0012     nFramesPerEvent  = cms.untracked.int32(6),
0013     nFramesOffset    = cms.untracked.vuint32(5),
0014     nFramesLatency   = cms.untracked.vuint32(41),
0015 
0016     # DAQ parameters
0017     boardId          = cms.untracked.vint32(0),
0018     fedId            = cms.untracked.int32(1402),
0019     eventType        = cms.untracked.int32(238),
0020     fwVersion        = cms.untracked.int32(255),
0021     lenSlinkHeader   = cms.untracked.int32(8),  # length in 8 bit words !
0022     lenSlinkTrailer  = cms.untracked.int32(8),
0023     #mux = cms.untracked.bool(True),
0024 
0025     # these parameters specify the amount of data from each link to be
0026     # recorded in the FEDRawData object
0027     # if insufficient data is read from any channel to produce the
0028     # record, module will pad with zeros
0029     blocks           = cms.untracked.VPSet(
0030         cms.untracked.PSet(  # region board setup
0031             rxBlockLength    = cms.untracked.vint32(0,0,0,0, # q0 0-3
0032                                                     0,0,0,0, # q1 4-7
0033                                                     0,0,0,0, # q2 8-11
0034                                                     0,0,0,0, # q3 12-15
0035                                                     0,0,0,0, # q4 16-19
0036                                                     0,0,0,0, # q5 20-23
0037                                                     0,0,0,0, # q6 24-27
0038                                                     0,0,0,0, # q7 28-31
0039                                                     0,0,0,0, # q8 32-35
0040                                                     6,6,6,6, # q9 36-39
0041                                                     6,6,6,6, # q10 40-43
0042                                                     6,6,6,6, # q11 44-47
0043                                                     6,6,6,6, # q12 48-51
0044                                                     6,6,6,6, # q13 52-55
0045                                                     6,6,6,6, # q14 56-59
0046                                                     6,6,6,6, # q15 60-63
0047                                                     6,6,6,6, # q16 64-67
0048                                                     6,6,6,6) # q17 68-71
0049             ,
0050             txBlockLength    = cms.untracked.vint32(6,6,6,6) # q0 0-3
0051             ),
0052         )
0053 )