Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 stage2DemuxRaw = cms.EDProducer(
0005     "MP7BufferDumpToRaw",
0006     rxFile           = cms.untracked.string("demux_rx_summary.txt"),
0007     txFile           = cms.untracked.string("demux_tx_summary.txt"),
0008 
0009     # input file type
0010     packetisedData   = cms.untracked.bool(False),
0011 
0012     # parameters for non-packetised data
0013     nFramesPerEvent  = cms.untracked.int32(6),
0014     nFramesOffset    = cms.untracked.vuint32(0),
0015     nFramesLatency   = cms.untracked.vuint32(0),
0016 
0017     # DAQ parameters
0018     fedId            = cms.untracked.int32(1366),
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 
0024     # readout parameters
0025     boardId          = cms.untracked.vint32( 0 ),
0026     mux              = cms.untracked.bool(False),
0027     muxOffset        = cms.untracked.int32(0),
0028 
0029     # these parameters specify the amount of data from each link to be
0030     # recorded in the FEDRawData object
0031     # if insufficient data is read from any channel to produce the
0032     # record, module will pad with zeros
0033     blocks           = cms.untracked.VPSet(
0034         cms.untracked.PSet(
0035             rxBlockLength    = cms.untracked.vint32(0,0,0,0, # q0 0-3
0036                                                     0,0,0,0, # q1 4-7
0037                                                     0,0,0,0, # q2 8-11
0038                                                     0,0,0,0, # q3 12-15
0039                                                     0,0,0,0, # q4 16-19
0040                                                     0,0,0,0, # q5 20-23
0041                                                     0,0,0,0, # q6 24-27
0042                                                     0,0,0,0, # q7 28-31
0043                                                     0,0,0,0, # q8 32-35
0044                                                     0,0,0,0, # q9 36-39
0045                                                     0,0,0,0, # q10 40-43
0046                                                     0,0,0,0, # q11 44-47
0047                                                     0,0,0,0, # q12 48-51
0048                                                     0,0,0,0, # q13 52-55
0049                                                     0,0,0,0, # q14 56-59
0050                                                     0,0,0,0, # q15 60-63
0051                                                     0,0,0,0, # q16 64-67
0052                                                     0,0,0,0), # q17 68-71
0053             
0054             txBlockLength    = cms.untracked.vint32(0,0,0,0, # q0 0-3
0055                                                     6,6,6,6, # q1 4-7
0056                                                     6,6,6,0, # q2 8-11
0057                                                     0,0,0,0, # q3 12-15
0058                                                     0,0,0,0, # q4 16-19
0059                                                     0,0,0,0, # q5 20-23
0060                                                     0,0,0,0, # q6 24-27
0061                                                     0,0,0,0, # q7 28-31
0062                                                     0,0,0,0, # q8 32-35
0063                                                     0,0,0,0, # q9 36-39
0064                                                     0,0,0,0, # q10 40-43
0065                                                     0,0,0,0, # q11 44-47
0066                                                     0,0,0,0, # q12 48-51
0067                                                     0,0,0,0, # q13 52-55
0068                                                     0,0,0,0, # q14 56-59
0069                                                     0,0,0,0, # q15 60-63
0070                                                     0,0,0,0, # q16 64-67
0071                                                     0,0,0,0) # q17 68-71
0072             )
0073         )
0074 
0075 )