CMS 3D CMS Logo

DigiToRaw_Repack_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
6 
8 SiStripDigiToZSRaw = EventFilter.SiStripRawToDigi.SiStripDigiToRaw_cfi.SiStripDigiToRaw.clone(
9  InputDigis = cms.InputTag('siStripZeroSuppression', 'VirginRaw'),
10  FedReadoutMode = cms.string('ZERO_SUPPRESSED'),
11  PacketCode = cms.string('ZERO_SUPPRESSED'),
12  CopyBufferHeader = cms.bool(True),
13  RawDataTag = cms.InputTag('rawDataCollector')
14  )
15 
16 SiStripDigiToHybridRaw = SiStripDigiToZSRaw.clone(
17  PacketCode = cms.string('ZERO_SUPPRESSED10'),
18  )
19 
20 SiStripRawDigiToVirginRaw = SiStripDigiToZSRaw.clone(
21  FedReadoutMode = cms.string('VIRGIN_RAW'),
22  PacketCode = cms.string('VIRGIN_RAW')
23 )
24 
25 
28 
29 from EventFilter.RawDataCollector.rawDataCollectorByLabel_cfi import rawDataCollector
30 
31 rawDataRepacker = rawDataCollector.clone(
32  verbose = cms.untracked.int32(0),
33  RawCollectionList = cms.VInputTag( cms.InputTag('SiStripDigiToZSRaw'),
34  cms.InputTag('source'),
35  cms.InputTag('rawDataCollector'))
36  )
37 hybridRawDataRepacker = rawDataRepacker.clone(
38  RawCollectionList = cms.VInputTag( cms.InputTag('SiStripDigiToHybridRaw'),
39  cms.InputTag('source'),
40  cms.InputTag('rawDataCollector'))
41  )
42 
43 virginRawDataRepacker = rawDataRepacker.clone(
44  RawCollectionList = cms.VInputTag( cms.InputTag('SiStripRawDigiToVirginRaw'))
45 )
46 
47 
50 
51 DigiToRawRepackTask = cms.Task(SiStripDigiToZSRaw, rawDataRepacker)
52 DigiToHybridRawRepackTask = cms.Task(SiStripDigiToHybridRaw, hybridRawDataRepacker)
53 DigiToVirginRawRepackTask = cms.Task(SiStripRawDigiToVirginRaw, virginRawDataRepacker)
54 
55 DigiToRawRepack = cms.Sequence( DigiToRawRepackTask )
56 DigiToHybridRawRepack = cms.Sequence( DigiToHybridRawRepackTask )
57 DigiToVirginRawRepack = cms.Sequence( DigiToVirginRawRepackTask )
58 DigiToSplitRawRepack = cms.Sequence( DigiToRawRepackTask, DigiToVirginRawRepackTask )
SiStripDigiToRaw_cfi