Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:22:58

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