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 hltSiStripRawToDigi = siStripDigis.clone(ProductLabel =
"rawDataRepacker")
66 siStripClustersHLT = cms.EDProducer(
"SiStripClusterizer",
67 Clusterizer = DefaultClusterizer,
68 DigiProducersList = cms.VInputTag(
69 cms.InputTag(
'hltSiStripRawToDigi',
'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 import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi
as _mod
88 BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone(
89 timeThreshold = 999999
92 DigiToApproxClusterRawTask = cms.Task(hltSiStripRawToDigi,siStripZeroSuppressionHLT,hltScalersRawToDigi,hltBeamSpotProducer,siStripClustersHLT,hltSiStripClusters2ApproxClusters,rawPrimeDataRepacker)
93 DigiToApproxClusterRaw = cms.Sequence(DigiToApproxClusterRawTask)