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 stage1Raw = 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.vint32(0,9),
0014     nFramesLatency   = cms.untracked.vint32(0,0),
0015 
0016     # DAQ parameters
0017     boardId          = cms.untracked.vint32( 0x100D, 0x100E ),  # jet ID, EG ID
0018     fedId            = cms.untracked.int32(1352),
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(6,6,6,6, # quad 0
0032                                                     6,6,6,6, # quad 1
0033                                                     6,6,6,6, # quad 2
0034                                                     6,6,6,6, # quad 3
0035                                                     6,6,6,6, # quad 4
0036                                                     6,6,6,6, # quad 5
0037                                                     6,6,6,6, # quad 6
0038                                                     6,6,6,6, # quad 7
0039                                                     6,6,6,6, # quad 8
0040                                                     0,0,0,0, # quad 9
0041                                                     0,0,0,0, # quad 10
0042                                                     0,0,0,0, # quad 11
0043                                                     0,0,0,0, # quad 12
0044                                                     0,0,0,0) # quad 13
0045             ,
0046             txBlockLength    = cms.untracked.vint32(0,0,0,0, # quad 0
0047                                                     0,0,0,0, # quad 1
0048                                                     0,0,0,0, # quad 2
0049                                                     0,0,0,0, # quad 3
0050                                                     0,0,0,0, # quad 4
0051                                                     0,0,0,0, # quad 5
0052                                                     0,0,0,0, # quad 6
0053                                                     0,0,0,0, # quad 7
0054                                                     0,0,0,0, # quad 8
0055                                                     0,0,2,2, # quad 9
0056                                                     2,2,2,2, # quad 10
0057                                                     2,2,2,2, # quad 11
0058                                                     2,2,2,2, # quad 12
0059                                                     2,2,0,0) # quad 13
0060             ),
0061         cms.untracked.PSet(  # EG board setup
0062             rxBlockLength    = cms.untracked.vint32(6,6,6,6, # quad 0
0063                                                     6,6,6,6, # quad 1
0064                                                     6,6,6,6, # quad 2
0065                                                     6,6,6,6, # quad 3
0066                                                     6,6,6,6, # quad 4
0067                                                     6,6,6,6, # quad 5
0068                                                     6,6,6,6, # quad 6
0069                                                     6,6,6,6, # quad 7
0070                                                     6,6,6,6, # quad 8
0071                                                     0,0,0,0, # quad 9
0072                                                     0,0,0,0, # quad 10
0073                                                     0,0,0,0, # quad 11
0074                                                     0,0,0,0, # quad 12
0075                                                     0,0,0,0) # quad 13
0076             ,
0077             txBlockLength    = cms.untracked.vint32(0,0,0,0, # quad 0
0078                                                     0,0,0,0, # quad 1
0079                                                     0,0,0,0, # quad 2
0080                                                     0,0,0,0, # quad 3
0081                                                     0,0,0,0, # quad 4
0082                                                     0,0,0,0, # quad 5
0083                                                     0,0,0,0, # quad 6
0084                                                     0,0,0,0, # quad 7
0085                                                     0,0,0,0, # quad 8
0086                                                     0,0,0,0, # quad 9
0087                                                     0,0,0,0, # quad 10
0088                                                     0,0,0,0, # quad 11
0089                                                     0,0,0,0, # quad 12
0090                                                     0,0,0,0) # quad 13
0091             )
0092         )
0093 )