Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 rawDataCollector = cms.EDProducer("RawDataCollectorByLabel",
0004     verbose = cms.untracked.int32(0),     # 0 = quiet, 1 = collection list, 2 = FED list
0005     RawCollectionList = cms.VInputTag( cms.InputTag('SiStripDigiToRaw'),
0006                                        cms.InputTag('castorRawData'),
0007                                        cms.InputTag('cscpacker', 'CSCRawData'),
0008                                        cms.InputTag('csctfpacker', 'CSCTFRawData'),
0009                                        cms.InputTag('dtpacker'),
0010                                        cms.InputTag('dttfpacker'),
0011                                        cms.InputTag('ecalPacker'),
0012                                        cms.InputTag('esDigiToRaw'),
0013                                        cms.InputTag('gctDigiToRaw'),
0014                                        cms.InputTag('hcalRawDataVME'),
0015                                        cms.InputTag('l1GtEvmPack'),
0016                                        cms.InputTag('l1GtPack'),
0017                                        cms.InputTag('rpcpacker'),
0018                                        cms.InputTag('siPixelRawData')
0019     ),
0020 )
0021 
0022 #
0023 # Make changes if using the Stage 1 trigger
0024 #
0025 from Configuration.Eras.Modifier_stage1L1Trigger_cff import stage1L1Trigger
0026 stage1L1Trigger.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("l1tDigiToRaw")) )
0027 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
0028 run2_HCAL_2017.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("hcalRawDatauHTR")) )
0029 
0030 
0031 # GEM settings
0032 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
0033 run2_GEM_2017.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("gemPacker")) )
0034 
0035 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0036 run3_GEM.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.append(cms.InputTag("gemPacker")) )
0037 
0038 # For Run2 it is needed to include the general ctpps era ctpps_2016
0039 from Configuration.Eras.Modifier_ctpps_2022_cff import ctpps_2022
0040 ctpps_2022.toModify(rawDataCollector.RawCollectionList, func = lambda  list: list.extend([cms.InputTag("ctppsTotemRawData"),cms.InputTag("ctppsPixelRawData")]) )
0041 
0042 # Phase-2 Tracker
0043 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0044 phase2_tracker.toModify( rawDataCollector.RawCollectionList, func = lambda list: list.remove(cms.InputTag("SiStripDigiToRaw")) )