1 import FWCore.ParameterSet.Config
as cms
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')
16 SiStripDigiToHybridRaw = SiStripDigiToZSRaw.clone(
17 PacketCode = cms.string(
'ZERO_SUPPRESSED10'),
20 SiStripRawDigiToVirginRaw = SiStripDigiToZSRaw.clone(
21 FedReadoutMode = cms.string(
'VIRGIN_RAW'),
22 PacketCode = cms.string(
'VIRGIN_RAW')
29 from EventFilter.RawDataCollector.rawDataCollectorByLabel_cfi
import rawDataCollector
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'))
37 hybridRawDataRepacker = rawDataRepacker.clone(
38 RawCollectionList = cms.VInputTag( cms.InputTag(
'SiStripDigiToHybridRaw'),
39 cms.InputTag(
'source'),
40 cms.InputTag(
'rawDataCollector'))
43 virginRawDataRepacker = rawDataRepacker.clone(
44 RawCollectionList = cms.VInputTag( cms.InputTag(
'SiStripRawDigiToVirginRaw'))
51 DigiToRawRepackTask = cms.Task(SiStripDigiToZSRaw, rawDataRepacker)
52 DigiToHybridRawRepackTask = cms.Task(SiStripDigiToHybridRaw, hybridRawDataRepacker)
53 DigiToVirginRawRepackTask = cms.Task(SiStripRawDigiToVirginRaw, virginRawDataRepacker)
55 DigiToRawRepack = cms.Sequence( DigiToRawRepackTask )
56 DigiToHybridRawRepack = cms.Sequence( DigiToHybridRawRepackTask )
57 DigiToVirginRawRepack = cms.Sequence( DigiToVirginRawRepackTask )
58 DigiToSplitRawRepack = cms.Sequence( DigiToRawRepackTask, DigiToVirginRawRepackTask )
61 siStripDigisHLT = siStripDigis.clone(ProductLabel =
"rawDataRepacker")
66 siStripClustersHLT = cms.EDProducer(
"SiStripClusterizer",
67 Clusterizer = DefaultClusterizer,
68 DigiProducersList = cms.VInputTag(
69 cms.InputTag(
'siStripDigisHLT',
'ZeroSuppressed'),
70 cms.InputTag(
'siStripZeroSuppressionHLT',
'VirginRaw'),
71 cms.InputTag(
'siStripZeroSuppressionHLT',
'ProcessedRaw'),
72 cms.InputTag(
'siStripZeroSuppressionHLT',
'ScopeMode')),
77 from EventFilter.Utilities.EvFFEDExcluder_cfi
import EvFFEDExcluder
as _EvFFEDExcluder
78 rawPrimeDataRepacker = _EvFFEDExcluder.clone(
79 src =
'rawDataCollector',
80 fedsToExclude = [foo
for foo
in range(50, 490)]
83 hltScalersRawToDigi = cms.EDProducer(
"ScalersRawToDigi",
84 scalersInputTag = cms.InputTag(
"rawDataRepacker" )
87 DigiToApproxClusterRawTask = cms.Task(siStripDigisHLT,siStripZeroSuppressionHLT,hltScalersRawToDigi,hltBeamSpotProducer,siStripClustersHLT,hltSiStripClusters2ApproxClusters,rawPrimeDataRepacker)
88 DigiToApproxClusterRaw = cms.Sequence(DigiToApproxClusterRawTask)