Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0004 
0005 process = cms.Process('ALCA',Run3_DDD)
0006 
0007 # import of standard configurations
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Configuration.EventContent.EventContent_cff')
0012 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0013 process.load('Configuration.Geometry.GeometryExtended2021Reco_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_cff')
0015 process.load('Configuration.StandardSequences.AlCaRecoStreams_cff')
0016 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0017 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(10),
0021     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0022 )
0023 
0024 # Input source
0025 process.source = cms.Source("PoolSource",
0026     fileNames = cms.untracked.vstring('file:step3_ZMM_ddd.root'),
0027     secondaryFileNames = cms.untracked.vstring()
0028 )
0029 
0030 process.options = cms.untracked.PSet(
0031     IgnoreCompletely = cms.untracked.vstring(),
0032     Rethrow = cms.untracked.vstring(),
0033     TryToContinue = cms.untracked.vstring(),
0034     allowUnscheduled = cms.obsolete.untracked.bool,
0035     canDeleteEarly = cms.untracked.vstring(),
0036     emptyRunLumiMode = cms.obsolete.untracked.string,
0037     eventSetup = cms.untracked.PSet(
0038         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0039 
0040         ),
0041         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0042     ),
0043     fileMode = cms.untracked.string('FULLMERGE'),
0044     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0045     makeTriggerResults = cms.obsolete.untracked.bool,
0046     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0047     numberOfConcurrentRuns = cms.untracked.uint32(1),
0048     numberOfStreams = cms.untracked.uint32(0),
0049     numberOfThreads = cms.untracked.uint32(1),
0050     printDependencies = cms.untracked.bool(False),
0051     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0052     throwIfIllegalParameter = cms.untracked.bool(True),
0053     wantSummary = cms.untracked.bool(False)
0054 )
0055 
0056 # Production Info
0057 process.configurationMetadata = cms.untracked.PSet(
0058     annotation = cms.untracked.string('step5 nevts:10'),
0059     name = cms.untracked.string('Applications'),
0060     version = cms.untracked.string('$Revision: 1.19 $')
0061 )
0062 
0063 # Output definition
0064 
0065 
0066 # Additional output definition
0067 process.ALCARECOStreamEcalESAlign = cms.OutputModule("PoolOutputModule",
0068     SelectEvents = cms.untracked.PSet(
0069         SelectEvents = cms.vstring('pathALCARECOEcalESAlign')
0070     ),
0071     dataset = cms.untracked.PSet(
0072         dataTier = cms.untracked.string('ALCARECO'),
0073         filterName = cms.untracked.string('EcalESAlign')
0074     ),
0075     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0076     fileName = cms.untracked.string('EcalESAlign.root'),
0077     outputCommands = cms.untracked.vstring(
0078         'drop *', 
0079         'keep ESDigiCollection_ecalPreshowerDigis_*_*', 
0080         'keep SiPixelClusteredmNewDetSetVector_ecalAlCaESAlignTrackReducer_*_*', 
0081         'keep SiStripClusteredmNewDetSetVector_ecalAlCaESAlignTrackReducer_*_*', 
0082         'keep TrackingRecHitsOwned_ecalAlCaESAlignTrackReducer_*_*', 
0083         'keep recoTrackExtras_ecalAlCaESAlignTrackReducer_*_*', 
0084         'keep recoTracks_ecalAlCaESAlignTrackReducer_*_*', 
0085         'keep recoBeamSpot_offlineBeamSpot_*_*'
0086     )
0087 )
0088 process.ALCARECOStreamHcalCalHBHEMuonFilter = cms.OutputModule("PoolOutputModule",
0089     SelectEvents = cms.untracked.PSet(
0090         SelectEvents = cms.vstring('pathALCARECOHcalCalHBHEMuonFilter')
0091     ),
0092     dataset = cms.untracked.PSet(
0093         dataTier = cms.untracked.string('ALCARECO'),
0094         filterName = cms.untracked.string('HcalCalHBHEMuonFilter')
0095     ),
0096     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0097     fileName = cms.untracked.string('HcalCalHBHEMuonFilter.root'),
0098     outputCommands = cms.untracked.vstring(
0099         'drop *', 
0100         'keep *_hbhereco_*_*', 
0101         'keep *_ecalRecHit_*_*', 
0102         'keep *_offlineBeamSpot_*_*', 
0103         'keep *_TriggerResults_*_*', 
0104         'keep HcalNoiseSummary_hcalnoise_*_*', 
0105         'keep recoTracks_globalMuons_*_*', 
0106         'keep recoTrackExtras_globalMuons_*_*', 
0107         'keep recoTracks_standAloneMuons_*_*', 
0108         'keep recoTrackExtras_standAloneMuons_*_*', 
0109         'keep recoTracks_generalTracks_*_*', 
0110         'keep recoTrackExtras_generalTracks_*_*', 
0111         'keep recoTracks_tevMuons_*_*', 
0112         'keep recoTrackExtras_tevMuons_*_*', 
0113         'keep *_offlinePrimaryVertices_*_*', 
0114         'keep *_scalersRawToDigi_*_*', 
0115         'keep *_muons_*_*'
0116     )
0117 )
0118 process.ALCARECOStreamMuAlOverlaps = cms.OutputModule("PoolOutputModule",
0119     SelectEvents = cms.untracked.PSet(
0120         SelectEvents = cms.vstring('pathALCARECOMuAlOverlaps')
0121     ),
0122     dataset = cms.untracked.PSet(
0123         dataTier = cms.untracked.string('ALCARECO'),
0124         filterName = cms.untracked.string('MuAlOverlaps')
0125     ),
0126     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0127     fileName = cms.untracked.string('MuAlOverlaps.root'),
0128     outputCommands = cms.untracked.vstring(
0129         'drop *', 
0130         'keep *_ALCARECOMuAlOverlaps_*_*', 
0131         'keep *_ALCARECOMuAlOverlapsGeneralTracks_*_*', 
0132         'keep *_muonCSCDigis_*_*', 
0133         'keep *_muonDTDigis_*_*', 
0134         'keep *_muonRPCDigis_*_*', 
0135         'keep *_dt1DRecHits_*_*', 
0136         'keep *_dt2DSegments_*_*', 
0137         'keep *_dt4DSegments_*_*', 
0138         'keep *_csc2DRecHits_*_*', 
0139         'keep *_cscSegments_*_*', 
0140         'keep *_rpcRecHits_*_*', 
0141         'keep L1AcceptBunchCrossings_*_*_*', 
0142         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 
0143         'keep *_TriggerResults_*_*', 
0144         'keep *_offlineBeamSpot_*_*', 
0145         'keep *_offlinePrimaryVertices_*_*', 
0146         'keep DcsStatuss_scalersRawToDigi_*_*'
0147     )
0148 )
0149 process.ALCARECOStreamSiPixelCalSingleMuon = cms.OutputModule("PoolOutputModule",
0150     SelectEvents = cms.untracked.PSet(
0151         SelectEvents = cms.vstring('pathALCARECOSiPixelCalSingleMuon')
0152     ),
0153     dataset = cms.untracked.PSet(
0154         dataTier = cms.untracked.string('ALCARECO'),
0155         filterName = cms.untracked.string('SiPixelCalSingleMuon')
0156     ),
0157     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0158     fileName = cms.untracked.string('SiPixelCalSingleMuon.root'),
0159     outputCommands = cms.untracked.vstring(
0160         'drop *', 
0161         'keep *_ALCARECOSiPixelCalSingleMuon_*_*', 
0162         'keep *_muons__*', 
0163         'keep *_offlinePrimaryVertices_*_*', 
0164         'keep *_*riggerResults_*_HLT'
0165     )
0166 )
0167 process.ALCARECOStreamSiStripCalMinBias = cms.OutputModule("PoolOutputModule",
0168     SelectEvents = cms.untracked.PSet(
0169         SelectEvents = cms.vstring('pathALCARECOSiStripCalMinBias')
0170     ),
0171     dataset = cms.untracked.PSet(
0172         dataTier = cms.untracked.string('ALCARECO'),
0173         filterName = cms.untracked.string('SiStripCalMinBias')
0174     ),
0175     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0176     fileName = cms.untracked.string('SiStripCalMinBias.root'),
0177     outputCommands = cms.untracked.vstring(
0178         'drop *', 
0179         'keep *_ALCARECOSiStripCalMinBias_*_*', 
0180         'keep *_siStripClusters_*_*', 
0181         'keep *_siPixelClusters_*_*', 
0182         'keep DetIds_siStripDigis_*_*', 
0183         'keep L1AcceptBunchCrossings_*_*_*', 
0184         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 
0185         'keep LumiScalerss_scalersRawToDigi_*_*', 
0186         'keep DcsStatuss_scalersRawToDigi_*_*', 
0187         'keep *_TriggerResults_*_*'
0188     )
0189 )
0190 process.ALCARECOStreamTkAlJpsiMuMu = cms.OutputModule("PoolOutputModule",
0191     SelectEvents = cms.untracked.PSet(
0192         SelectEvents = cms.vstring('pathALCARECOTkAlJpsiMuMu')
0193     ),
0194     dataset = cms.untracked.PSet(
0195         dataTier = cms.untracked.string('ALCARECO'),
0196         filterName = cms.untracked.string('TkAlJpsiMuMu')
0197     ),
0198     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0199     fileName = cms.untracked.string('TkAlJpsiMuMu.root'),
0200     outputCommands = cms.untracked.vstring(
0201         'drop *', 
0202         'keep *_ALCARECOTkAlJpsiMuMu_*_*', 
0203         'keep L1AcceptBunchCrossings_*_*_*', 
0204         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 
0205         'keep *_TriggerResults_*_*', 
0206         'keep DcsStatuss_scalersRawToDigi_*_*', 
0207         'keep *_offlinePrimaryVertices_*_*'
0208     )
0209 )
0210 process.ALCARECOStreamTkAlMinBias = cms.OutputModule("PoolOutputModule",
0211     SelectEvents = cms.untracked.PSet(
0212         SelectEvents = cms.vstring('pathALCARECOTkAlMinBias')
0213     ),
0214     dataset = cms.untracked.PSet(
0215         dataTier = cms.untracked.string('ALCARECO'),
0216         filterName = cms.untracked.string('TkAlMinBias')
0217     ),
0218     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0219     fileName = cms.untracked.string('TkAlMinBias.root'),
0220     outputCommands = cms.untracked.vstring(
0221         'drop *', 
0222         'keep *_ALCARECOTkAlMinBias_*_*', 
0223         'keep L1AcceptBunchCrossings_*_*_*', 
0224         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 
0225         'keep *_TriggerResults_*_*', 
0226         'keep DcsStatuss_scalersRawToDigi_*_*', 
0227         'keep *_offlinePrimaryVertices_*_*', 
0228         'keep *_offlineBeamSpot_*_*'
0229     )
0230 )
0231 process.ALCARECOStreamTkAlMuonIsolated = cms.OutputModule("PoolOutputModule",
0232     SelectEvents = cms.untracked.PSet(
0233         SelectEvents = cms.vstring('pathALCARECOTkAlMuonIsolated')
0234     ),
0235     dataset = cms.untracked.PSet(
0236         dataTier = cms.untracked.string('ALCARECO'),
0237         filterName = cms.untracked.string('TkAlMuonIsolated')
0238     ),
0239     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0240     fileName = cms.untracked.string('TkAlMuonIsolated.root'),
0241     outputCommands = cms.untracked.vstring(
0242         'drop *', 
0243         'keep *_ALCARECOTkAlMuonIsolated_*_*', 
0244         'keep L1AcceptBunchCrossings_*_*_*', 
0245         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 
0246         'keep *_TriggerResults_*_*', 
0247         'keep DcsStatuss_scalersRawToDigi_*_*', 
0248         'keep *_offlinePrimaryVertices_*_*'
0249     )
0250 )
0251 process.ALCARECOStreamTkAlUpsilonMuMu = cms.OutputModule("PoolOutputModule",
0252     SelectEvents = cms.untracked.PSet(
0253         SelectEvents = cms.vstring('pathALCARECOTkAlUpsilonMuMu')
0254     ),
0255     dataset = cms.untracked.PSet(
0256         dataTier = cms.untracked.string('ALCARECO'),
0257         filterName = cms.untracked.string('TkAlUpsilonMuMu')
0258     ),
0259     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0260     fileName = cms.untracked.string('TkAlUpsilonMuMu.root'),
0261     outputCommands = cms.untracked.vstring(
0262         'drop *', 
0263         'keep *_ALCARECOTkAlUpsilonMuMu_*_*', 
0264         'keep L1AcceptBunchCrossings_*_*_*', 
0265         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 
0266         'keep *_TriggerResults_*_*', 
0267         'keep DcsStatuss_scalersRawToDigi_*_*', 
0268         'keep *_offlinePrimaryVertices_*_*'
0269     )
0270 )
0271 process.ALCARECOStreamTkAlZMuMu = cms.OutputModule("PoolOutputModule",
0272     SelectEvents = cms.untracked.PSet(
0273         SelectEvents = cms.vstring('pathALCARECOTkAlZMuMu')
0274     ),
0275     dataset = cms.untracked.PSet(
0276         dataTier = cms.untracked.string('ALCARECO'),
0277         filterName = cms.untracked.string('TkAlZMuMu')
0278     ),
0279     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0280     fileName = cms.untracked.string('TkAlZMuMu.root'),
0281     outputCommands = cms.untracked.vstring(
0282         'drop *', 
0283         'keep *_ALCARECOTkAlZMuMu_*_*', 
0284         'keep L1AcceptBunchCrossings_*_*_*', 
0285         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 
0286         'keep *_TriggerResults_*_*', 
0287         'keep DcsStatuss_scalersRawToDigi_*_*', 
0288         'keep *_offlinePrimaryVertices_*_*'
0289     )
0290 )
0291 
0292 # Other statements
0293 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOEcalESAlign_noDrop.outputCommands)
0294 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlUpsilonMuMu_noDrop.outputCommands)
0295 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOHcalCalHBHEMuonFilter_noDrop.outputCommands)
0296 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOMuAlOverlaps_noDrop.outputCommands)
0297 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlMinBias_noDrop.outputCommands)
0298 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOSiPixelCalSingleMuon_noDrop.outputCommands)
0299 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlMuonIsolated_noDrop.outputCommands)
0300 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlZMuMu_noDrop.outputCommands)
0301 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands)
0302 process.ALCARECOEventContent.outputCommands.extend(process.OutALCARECOSiStripCalMinBias_noDrop.outputCommands)
0303 from Configuration.AlCa.GlobalTag import GlobalTag
0304 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0305 
0306 # Path and EndPath definitions
0307 process.endjob_step = cms.EndPath(process.endOfProcess)
0308 process.ALCARECOStreamEcalESAlignOutPath = cms.EndPath(process.ALCARECOStreamEcalESAlign)
0309 process.ALCARECOStreamHcalCalHBHEMuonFilterOutPath = cms.EndPath(process.ALCARECOStreamHcalCalHBHEMuonFilter)
0310 process.ALCARECOStreamMuAlOverlapsOutPath = cms.EndPath(process.ALCARECOStreamMuAlOverlaps)
0311 process.ALCARECOStreamSiPixelCalSingleMuonOutPath = cms.EndPath(process.ALCARECOStreamSiPixelCalSingleMuon)
0312 process.ALCARECOStreamSiStripCalMinBiasOutPath = cms.EndPath(process.ALCARECOStreamSiStripCalMinBias)
0313 process.ALCARECOStreamTkAlJpsiMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlJpsiMuMu)
0314 process.ALCARECOStreamTkAlMinBiasOutPath = cms.EndPath(process.ALCARECOStreamTkAlMinBias)
0315 process.ALCARECOStreamTkAlMuonIsolatedOutPath = cms.EndPath(process.ALCARECOStreamTkAlMuonIsolated)
0316 process.ALCARECOStreamTkAlUpsilonMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlUpsilonMuMu)
0317 process.ALCARECOStreamTkAlZMuMuOutPath = cms.EndPath(process.ALCARECOStreamTkAlZMuMu)
0318 
0319 # Schedule definition
0320 process.schedule = cms.Schedule(process.pathALCARECOEcalESAlign,process.pathALCARECOTkAlUpsilonMuMu,process.pathALCARECOHcalCalHBHEMuonFilter,process.pathALCARECOMuAlOverlaps,process.pathALCARECOMuAlOverlapsGeneralTracks,process.pathALCARECOTkAlMinBias,process.pathALCARECOSiPixelCalSingleMuon,process.pathALCARECOTkAlMuonIsolated,process.pathALCARECOTkAlZMuMu,process.pathALCARECOTkAlJpsiMuMu,process.pathALCARECOSiStripCalMinBias,process.endjob_step,process.ALCARECOStreamEcalESAlignOutPath,process.ALCARECOStreamHcalCalHBHEMuonFilterOutPath,process.ALCARECOStreamMuAlOverlapsOutPath,process.ALCARECOStreamSiPixelCalSingleMuonOutPath,process.ALCARECOStreamSiStripCalMinBiasOutPath,process.ALCARECOStreamTkAlJpsiMuMuOutPath,process.ALCARECOStreamTkAlMinBiasOutPath,process.ALCARECOStreamTkAlMuonIsolatedOutPath,process.ALCARECOStreamTkAlUpsilonMuMuOutPath,process.ALCARECOStreamTkAlZMuMuOutPath)
0321 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0322 associatePatAlgosToolsTask(process)
0323 
0324 
0325 
0326 # Customisation from command line
0327 
0328 # Add early deletion of temporary data products to reduce peak memory need
0329 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0330 process = customiseEarlyDelete(process)
0331 # End adding early deletion