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 stage2GTRaw = cms.EDProducer(
0004     "MP7BufferDumpToRaw",
0005     rxFile           = cms.untracked.string("gt_rx_summary.txt"),
0006     txFile           = cms.untracked.string("gt_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(0),
0014     nFramesLatency   = cms.untracked.vuint32(0),
0015 
0016     # DAQ parameters
0017     fedId            = cms.untracked.int32(1404),
0018     eventType        = cms.untracked.int32(238),
0019     fwVersion        = cms.untracked.int32(255),
0020     lenSlinkHeader   = cms.untracked.int32(8),  # length in 8 bit words !
0021     lenSlinkTrailer  = cms.untracked.int32(8),
0022 
0023     # readout parameters
0024     boardId          = cms.untracked.vint32( 0 ),
0025     mux              = cms.untracked.bool(False),
0026     muxOffset        = cms.untracked.int32(0),
0027 
0028     # these parameters specify the amount of data from each link to be
0029     # recorded in the FEDRawData object
0030     # if insufficient data is read from any channel to produce the
0031     # record, module will pad with zeros
0032     blocks           = cms.untracked.VPSet(
0033         cms.untracked.PSet(
0034             rxBlockLength    = cms.untracked.vint32(6,6,6,6, # q0 0-3
0035                                                     6,6,6,6, # q1 4-7
0036                                                     6,6,6,0, # q2 8-11
0037                                                     0,0,0,0, # q3 12-15
0038                                                     0,0,0,0, # q4 16-19
0039                                                     0,0,0,0, # q5 20-23
0040                                                     0,0,0,0, # q6 24-27
0041                                                     0,0,0,0, # q7 28-31
0042                                                     0,0,0,0, # q8 32-35
0043                                                     0,0,0,0, # q9 36-39
0044                                                     0,0,0,0, # q10 40-43
0045                                                     0,0,0,0, # q11 44-47
0046                                                     0,0,0,0, # q12 48-51
0047                                                     0,0,0,0, # q13 52-55
0048                                                     0,0,0,0, # q14 56-59
0049                                                     0,0,0,0, # q15 60-63
0050                                                     0,0,0,0, # q16 64-67
0051                                                     0,0,0,0), # q17 68-71
0052             
0053             txBlockLength    = cms.untracked.vint32(0,0,0,0, # q0 0-3 
0054                                                     0,0,0,0, # q1 4-7
0055                                                     0,0,0,0, # q2 8-11
0056                                                     0,0,0,0, # q3 12-15
0057                                                     6,6,6,6, # q4 16-19
0058                                                     6,6,6,6, # q5 20-23
0059                                                     6,0,0,0, # q6 24-27
0060                                                     0,0,0,0, # q7 28-31
0061                                                     0,0,0,0, # q8 32-35
0062                                                     0,0,0,0, # q9 36-39
0063                                                     0,0,0,0, # q10 40-43
0064                                                     0,0,0,0, # q11 44-47
0065                                                     0,0,0,0, # q12 48-51
0066                                                     0,0,0,0, # q13 52-55
0067                                                     0,0,0,0, # q14 56-59
0068                                                     0,0,0,0, # q15 60-63
0069                                                     0,0,0,0, # q16 64-67
0070                                                     0,0,0,0) # q17 68-71
0071             )
0072         )
0073 
0074 )