Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 mpblocks = cms.untracked.PSet(
0005     rxBlockLength    = cms.untracked.vint32(40,40,40,40, # q0 0-3
0006                                             40,40,40,40, # q1 4-7
0007                                             40,40,40,40, # q2 8-11
0008                                             40,40,40,40, # q3 12-15
0009                                             40,40,40,40, # q4 16-19
0010                                             40,40,40,40, # q5 20-23
0011                                             40,40,40,40, # q6 24-27
0012                                             40,40,40,40, # q7 28-31
0013                                             40,40,40,40, # q8 32-35
0014                                             40,40,40,40, # q9 36-39
0015                                             40,40,40,40, # q10 40-43
0016                                             40,40,40,40, # q11 44-47
0017                                             40,40,40,40, # q12 48-51
0018                                             40,40,40,40, # q13 52-55
0019                                             40,40,40,40, # q14 56-59
0020                                             40,40,40,40, # q15 60-63
0021                                             40,40,40,40, # q16 64-67
0022                                             40,40,40,40), # q17 68-71
0023 
0024     txBlockLength    = cms.untracked.vint32(0,0,0,0, # q0 0-3
0025                                             0,0,0,0, # q1 4-7
0026                                             0,0,0,0, # q2 8-11
0027                                             0,0,0,0, # q3 12-15
0028                                             0,0,0,0, # q4 16-19
0029                                             0,0,0,0, # q5 20-23
0030                                             0,0,0,0, # q6 24-27
0031                                             0,0,0,0, # q7 28-31
0032                                             0,0,0,0, # q8 32-35
0033                                             0,0,0,0, # q9 36-39
0034                                             0,0,0,0, # q10 40-43
0035                                             0,0,0,0, # q11 44-47
0036                                             0,0,0,0, # q12 48-51
0037                                             0,0,0,0, # q13 52-55
0038                                             0,0,0,0, # q14 56-59
0039                                             11,11,11,11, # q15 60-63
0040                                             11,11,0,0, # q16 64-67
0041                                             0,0,0,0) # q17 68-71
0042 )
0043 
0044 stage2MPRaw = cms.EDProducer(
0045     "MP7BufferDumpToRaw",
0046     rxFile           = cms.untracked.string("mp_rx_summary.txt"),
0047     txFile           = cms.untracked.string("mp_tx_summary.txt"),
0048 
0049     # input file type
0050     packetisedData   = cms.untracked.bool(True),
0051     rxKeyLink    = cms.untracked.int32(0),
0052     txKeyLink    = cms.untracked.int32(0),
0053 
0054     # parameters for non-packetised data
0055     nFramesPerEvent  = cms.untracked.int32(40),
0056     nFramesOffset    = cms.untracked.vuint32(0,0,0,0,0,0,0,0,0),#,0,0),
0057     nFramesLatency   = cms.untracked.vuint32(0,0,0,0,0,0,0,0,0),#,0,0),
0058 
0059     # DAQ parameters
0060     fedId            = cms.untracked.int32(1360),
0061     eventType        = cms.untracked.int32(238),
0062     fwVersion        = cms.untracked.int32(255),
0063     lenSlinkHeader   = cms.untracked.int32(8),
0064     lenSlinkTrailer  = cms.untracked.int32(8),
0065 
0066     # HW parameters
0067     boardId          = cms.untracked.vint32( 0,1,2,3,4,5,6,7,8 ),#,9,10 ),
0068     mux              = cms.untracked.bool(True),
0069     muxOffset        = cms.untracked.int32(0),
0070 
0071     # these parameters specify the amount of data from each link to be
0072     # recorded in the FEDRawData object
0073     # if insufficient data is read from any channel to produce the
0074     # record, module will pad with zeros
0075     blocks           = cms.untracked.VPSet(
0076         mpblocks,
0077         mpblocks,
0078         mpblocks,
0079         mpblocks,
0080         mpblocks,
0081         mpblocks,
0082         mpblocks,
0083         mpblocks,
0084         mpblocks,
0085         #mpblocks,
0086         #mpblocks,
0087     )
0088 
0089 )