CMS 3D CMS Logo

rawDataCollector_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 rawDataCollector = cms.EDProducer("RawDataCollectorByLabel",
4  verbose = cms.untracked.int32(0), # 0 = quiet, 1 = collection list, 2 = FED list
5  RawCollectionList = cms.VInputTag( cms.InputTag('SiStripDigiToRaw'),
6  cms.InputTag('castorRawData'),
7  cms.InputTag('cscpacker', 'CSCRawData'),
8  cms.InputTag('csctfpacker', 'CSCTFRawData'),
9  cms.InputTag('dtpacker'),
10  cms.InputTag('dttfpacker'),
11  cms.InputTag('ecalPacker'),
12  cms.InputTag('esDigiToRaw'),
13  cms.InputTag('gctDigiToRaw'),
14  cms.InputTag('hcalRawDataVME'),
15  cms.InputTag('l1GtEvmPack'),
16  cms.InputTag('l1GtPack'),
17  cms.InputTag('rpcpacker'),
18  cms.InputTag('siPixelRawData')
19  ),
20 )
21 
22 #
23 # Make changes if using the Stage 1 trigger
24 #
25 from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger
26 stage1L1Trigger.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("l1tDigiToRaw")) )
27 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
28 run2_HCAL_2017.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("hcalRawDatauHTR")) )
29 
30 
31 # GEM settings
32 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
33 run2_GEM_2017.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("gemPacker")) )
34 
35 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
36 run3_GEM.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("gemPacker")) )
37 
38 # For Run2 it is needed to include the general ctpps era ctpps_2016
39 from Configuration.Eras.Modifier_ctpps_2021_cff import ctpps_2021
40 ctpps_2021.toModify(rawDataCollector.RawCollectionList, func = lambda list: list.extend([cms.InputTag("ctppsTotemRawData"),cms.InputTag("ctppsPixelRawData")]) )