Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:43

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: skims -s SKIM:EXOHighMET --dasoption=-limit 3 --dasquery=file dataset=/MET/Run2018A-12Nov2019_UL2018-v3/AOD -n 10000 --conditions 102X_dataRun2_v14 --python_filename=test_EXOHighMET_SKIM_METPD.py --processName=SKIMEXOHighMET --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 import FWCore.ParameterSet.VarParsing as VarParsing
0008 
0009 options = VarParsing.VarParsing('analysis')
0010 options.register('runOnData', True, VarParsing.VarParsing.multiplicity.singleton, VarParsing.VarParsing.varType.bool, 'Run on MET data or QCD MC')
0011 options.parseArguments()
0012 
0013 process = cms.Process('SKIMEXOHighMET')
0014 
0015 # import of standard configurations
0016 process.load('Configuration.StandardSequences.Services_cff')
0017 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0018 process.load('FWCore.MessageService.MessageLogger_cfi')
0019 process.load('Configuration.EventContent.EventContent_cff')
0020 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0021 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0022 process.load('Configuration.StandardSequences.MagneticField_cff')
0023 process.load('Configuration.StandardSequences.Skims_cff')
0024 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(10000),
0028     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0029 )
0030 
0031 # Input source
0032 if options.runOnData is True:
0033     fileList = ['/store/data/Run2018A/MET/AOD/12Nov2019_UL2018-v3/120000/008A1B54-2CF6-D64B-8CCE-DBD79983CF0B.root']
0034 else:
0035     fileList = [
0036         '/store/relval/CMSSW_12_3_0_pre6/RelValQCD_Pt_1800_2400_14/GEN-SIM-RECO/123X_mcRun3_2021_realistic_v11-v2/10000/649f3446-1698-4910-b879-9a6d94d62a9b.root',
0037         '/store/relval/CMSSW_12_3_0_pre6/RelValQCD_Pt_1800_2400_14/GEN-SIM-RECO/123X_mcRun3_2021_realistic_v11-v2/10000/aa515779-dad9-4994-b7d2-d672a7c8938a.root',
0038         '/store/relval/CMSSW_12_3_0_pre6/RelValQCD_Pt_1800_2400_14/GEN-SIM-RECO/123X_mcRun3_2021_realistic_v11-v2/10000/b7315dce-732e-4ec7-b137-ee3bafff1cd6.root',
0039         '/store/relval/CMSSW_12_3_0_pre6/RelValQCD_Pt_1800_2400_14/GEN-SIM-RECO/123X_mcRun3_2021_realistic_v11-v2/10000/df8bd2c1-1e45-479d-9287-2d40fecc25d8.root'
0040     ]
0041     
0042 process.source = cms.Source("PoolSource",
0043     fileNames = cms.untracked.vstring(fileList),
0044     secondaryFileNames = cms.untracked.vstring()
0045 )
0046 
0047 process.options = cms.untracked.PSet(
0048     IgnoreCompletely = cms.untracked.vstring(),
0049     Rethrow = cms.untracked.vstring(),
0050     TryToContinue = cms.untracked.vstring(),
0051     accelerators = cms.untracked.vstring('*'),
0052     allowUnscheduled = cms.obsolete.untracked.bool,
0053     canDeleteEarly = cms.untracked.vstring(),
0054     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0055     dumpOptions = cms.untracked.bool(False),
0056     emptyRunLumiMode = cms.obsolete.untracked.string,
0057     eventSetup = cms.untracked.PSet(
0058         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0059             allowAnyLabel_=cms.required.untracked.uint32
0060         ),
0061         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0062     ),
0063     fileMode = cms.untracked.string('FULLMERGE'),
0064     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0065     makeTriggerResults = cms.obsolete.untracked.bool,
0066     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0067     numberOfConcurrentRuns = cms.untracked.uint32(1),
0068     numberOfStreams = cms.untracked.uint32(0),
0069     numberOfThreads = cms.untracked.uint32(1),
0070     printDependencies = cms.untracked.bool(False),
0071     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0072     throwIfIllegalParameter = cms.untracked.bool(True),
0073     wantSummary = cms.untracked.bool(False)
0074 )
0075 
0076 # Production Info
0077 process.configurationMetadata = cms.untracked.PSet(
0078     annotation = cms.untracked.string('skims nevts:10000'),
0079     name = cms.untracked.string('Applications'),
0080     version = cms.untracked.string('$Revision: 1.19 $')
0081 )
0082 
0083 # Output definition
0084 
0085 process.RECOSIMoutput = cms.OutputModule("PoolOutputModule",
0086     dataset = cms.untracked.PSet(
0087         dataTier = cms.untracked.string(''),
0088         filterName = cms.untracked.string('')
0089     ),
0090     fileName = cms.untracked.string('skims_SKIM.root'),
0091     outputCommands = process.RECOSIMEventContent.outputCommands,
0092     splitLevel = cms.untracked.int32(0)
0093 )
0094 
0095 # Additional output definition
0096 process.SKIMStreamEXOHighMET = cms.OutputModule("PoolOutputModule",
0097     SelectEvents = cms.untracked.PSet(
0098         SelectEvents = cms.vstring('EXOHighMETPath')
0099     ),
0100     dataset = cms.untracked.PSet(
0101         dataTier = cms.untracked.string('RAW-RECO'),
0102         filterName = cms.untracked.string('EXOHighMET')
0103     ),
0104     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0105     fileName = cms.untracked.string('EXOHighMET.root'),
0106     outputCommands = cms.untracked.vstring( (
0107         'drop *',
0108         'drop *',
0109         'keep  FEDRawDataCollection_rawDataCollector_*_*',
0110         'keep  FEDRawDataCollection_source_*_*',
0111         'keep  FEDRawDataCollection_rawDataCollector_*_*',
0112         'keep  FEDRawDataCollection_source_*_*',
0113         'drop *_hlt*_*_*',
0114         'keep FEDRawDataCollection_rawDataCollector_*_*',
0115         'keep FEDRawDataCollection_source_*_*',
0116         'keep GlobalObjectMapRecord_hltGtStage2ObjectMap_*_*',
0117         'keep edmTriggerResults_*_*_*',
0118         'keep triggerTriggerEvent_*_*_*',
0119         'keep *_hltFEDSelectorL1_*_*',
0120         'keep *_hltScoutingEgammaPacker_*_*',
0121         'keep *_hltScoutingMuonPacker_*_*',
0122         'keep *_hltScoutingPFPacker_*_*',
0123         'keep *_hltScoutingPrimaryVertexPacker_*_*',
0124         'keep *_hltScoutingTrackPacker_*_*',
0125         'keep edmTriggerResults_*_*_*',
0126         'keep DetIds_siStripDigis_*_*',
0127         'keep DetIdedmEDCollection_siPixelDigis_*_*',
0128         'keep PixelFEDChanneledmNewDetSetVector_siPixelDigis_*_*',
0129         'keep *_siPixelClusters_*_*',
0130         'keep *_siStripClusters_*_*',
0131         'keep ClusterSummary_clusterSummaryProducer_*_*',
0132         'keep *_dt1DRecHits_*_*',
0133         'keep *_dt1DCosmicRecHits_*_*',
0134         'keep *_csc2DRecHits_*_*',
0135         'keep *_dt4DSegments_*_*',
0136         'keep *_dt4DCosmicSegments_*_*',
0137         'keep *_cscSegments_*_*',
0138         'keep *_rpcRecHits_*_*',
0139         'keep *_hbhereco_*_*',
0140         'keep *_hbheprereco_*_*',
0141         'keep *_hfprereco_*_*',
0142         'keep *_hfreco_*_*',
0143         'keep *_horeco_*_*',
0144         'keep HBHERecHitsSorted_hbherecoMB_*_*',
0145         'keep HORecHitsSorted_horecoMB_*_*',
0146         'keep HFRecHitsSorted_hfrecoMB_*_*',
0147         'keep ZDCDataFramesSorted_hcalDigis_*_*',
0148         'keep ZDCDataFramesSorted_castorDigis_*_*',
0149         'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
0150         'keep ZDCRecHitsSorted_zdcreco_*_*',
0151         'keep *_castorreco_*_*',
0152         'keep *_reducedHcalRecHits_*_*',
0153         'keep HcalUnpackerReport_castorDigis_*_*',
0154         'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
0155         'keep HcalUnpackerReport_hcalDigis_*_*',
0156         'keep *_ecalPreshowerRecHit_*_*',
0157         'keep *_ecalRecHit_*_*',
0158         'keep *_ecalCompactTrigPrim_*_*',
0159         'keep *_ecalTPSkim_*_*',
0160         'keep EBSrFlagsSorted_ecalDigis__*',
0161         'keep EESrFlagsSorted_ecalDigis__*',
0162         'keep *_hybridSuperClusters_*_*',
0163         'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
0164         'keep *_multi5x5SuperClusters_*_*',
0165         'keep recoSuperClusters_multi5x5SuperClustersWithPreshower_*_*',
0166         'keep *_particleFlowSuperClusterECAL_*_*',
0167         'keep *_particleFlowSuperClusterOOTECAL_*_*',
0168         'drop recoClusterShapes_*_*_*',
0169         'drop recoBasicClustersToOnerecoClusterShapesAssociation_*_*_*',
0170         'drop recoBasicClusters_multi5x5BasicClusters_multi5x5BarrelBasicClusters_*',
0171         'drop recoSuperClusters_multi5x5SuperClusters_multi5x5BarrelSuperClusters_*',
0172         'keep *_selectDigi_*_*',
0173         'keep EcalRecHitsSorted_reducedEcalRecHitsEB_*_*',
0174         'keep EcalRecHitsSorted_reducedEcalRecHitsEE_*_*',
0175         'keep EcalRecHitsSorted_reducedEcalRecHitsES_*_*',
0176         'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
0177         'keep recoCaloClusters_hybridSuperClusters_*_*',
0178         'keep recoSuperClusters_hybridSuperClusters_uncleanOnlyHybridSuperClusters_*',
0179         'keep recoCaloClusters_multi5x5SuperClusters_multi5x5EndcapBasicClusters_*',
0180         'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
0181         'keep recoPreshowerClusters_multi5x5SuperClustersWithPreshower_*_*',
0182         'keep recoPreshowerClusterShapes_multi5x5PreshowerClusterShape_*_*',
0183         'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
0184         'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
0185         'keep recoSuperClusters_particleFlowSuperClusterOOTECAL_*_*',
0186         'keep recoCaloClusters_particleFlowSuperClusterOOTECAL_*_*',
0187         'keep *_CkfElectronCandidates_*_*',
0188         'keep *_GsfGlobalElectronTest_*_*',
0189         'keep *_electronMergedSeeds_*_*',
0190         'keep recoGsfTrackExtras_electronGsfTracks_*_*',
0191         'keep recoTrackExtras_electronGsfTracks_*_*',
0192         'keep TrackingRecHitsOwned_electronGsfTracks_*_*',
0193         'keep recoTracks_GsfGlobalElectronTest_*_*',
0194         'keep recoGsfTracks_electronGsfTracks_*_*',
0195         'keep recoTrackExtras_generalTracks_*_*',
0196         'keep TrackingRecHitsOwned_generalTracks_*_*',
0197         'keep TrackingRecHitsOwned_extraFromSeeds_*_*',
0198         'keep uints_extraFromSeeds_*_*',
0199         'keep recoTrackExtras_beamhaloTracks_*_*',
0200         'keep TrackingRecHitsOwned_beamhaloTracks_*_*',
0201         'keep recoTrackExtras_conversionStepTracks_*_*',
0202         'keep TrackingRecHitsOwned_conversionStepTracks_*_*',
0203         'keep *_ctfPixelLess_*_*',
0204         'keep *_dedxTruncated40_*_*',
0205         'keep recoTracks_generalTracks_*_*',
0206         'keep recoTracks_conversionStepTracks_*_*',
0207         'keep recoTracks_beamhaloTracks_*_*',
0208         'keep recoTracks_ctfPixelLess_*_*',
0209         'keep *_dedxHarmonic2_*_*',
0210         'keep *_dedxPixelHarmonic2_*_*',
0211         'keep *_dedxHitInfo_*_*',
0212         'keep *_trackExtrapolator_*_*',
0213         'keep *_generalTracks_MVAValues_*',
0214         'keep *_generalTracks_MVAVals_*',
0215         'keep *_ak4CaloJets_*_*',
0216         'keep *_ak4PFJets_*_*',
0217         'keep *_ak4TrackJets_*_*',
0218         'keep recoRecoChargedRefCandidates_trackRefsForJets_*_*',
0219         'keep *_towerMaker_*_*',
0220         'keep *_ak4JetTracksAssociatorAtCaloFace_*_*',
0221         'keep *_ak5CastorJets_*_*',
0222         'keep *_ak7CastorJets_*_*',
0223         'keep recoCaloJets_ak4CaloJets_*_*',
0224         'keep *_ak4CaloJets_rho_*',
0225         'keep *_ak4CaloJets_sigma_*',
0226         'keep *_ak4PFJetsCHS_*_*',
0227         'keep floatedmValueMap_puppi_*_*',
0228         'keep *_ak4PFJetsPuppi_*_*',
0229         'keep *_ak8PFJetsPuppi_*_*',
0230         'keep *_ak8PFJetsPuppiSoftDrop_*_*',
0231         'keep recoPFJets_ak4PFJets_*_*',
0232         'keep *_ak4PFJets_rho_*',
0233         'keep *_ak4PFJets_sigma_*',
0234         'keep *_JetPlusTrackZSPCorJetAntiKt4_*_*',
0235         'keep *_caloTowers_*_*',
0236         'keep *_CastorTowerReco_*_*',
0237         'keep *_ak4JetTracksAssociatorAtVertex_*_*',
0238         'keep *_ak4JetTracksAssociatorAtVertexPF_*_*',
0239         'keep *_ak4JetTracksAssociatorExplicit_*_*',
0240         'keep *_ak4JetExtender_*_*',
0241         'keep *_ak4JetID_*_*',
0242         'keep recoBasicJets_ak5CastorJets_*_*',
0243         'keep *_ak5CastorJets_rho_*',
0244         'keep *_ak5CastorJets_sigma_*',
0245         'keep *_ak5CastorJetID_*_*',
0246         'keep recoBasicJets_ak7CastorJets_*_*',
0247         'keep *_ak7CastorJets_rho_*',
0248         'keep *_ak7CastorJets_sigma_*',
0249         'keep *_ak7CastorJetID_*_*',
0250         'keep *_fixedGridRhoAll_*_*',
0251         'keep *_fixedGridRhoFastjetAll_*_*',
0252         'keep *_fixedGridRhoFastjetAllTmp_*_*',
0253         'keep *_fixedGridRhoFastjetCentral_*_*',
0254         'keep *_fixedGridRhoFastjetAllCalo_*_*',
0255         'keep *_fixedGridRhoFastjetCentralCalo_*_*',
0256         'keep *_fixedGridRhoFastjetCentralChargedPileUp_*_*',
0257         'keep *_fixedGridRhoFastjetCentralNeutral_*_*',
0258         'keep *_ak8PFJetsPuppiSoftDropMass_*_*',
0259         'keep recoHcalNoiseRBXs_hcalnoise_*_*',
0260         'keep recoEcalHaloData_EcalHaloData_*_*',
0261         'keep recoHcalHaloData_HcalHaloData_*_*',
0262         'keep recoCaloMETs_caloMet_*_*',
0263         'keep recoCaloMETs_caloMetBE_*_*',
0264         'keep recoCaloMETs_caloMetBEFO_*_*',
0265         'keep recoCaloMETs_caloMetM_*_*',
0266         'keep recoPFMETs_pfMet_*_*',
0267         'keep recoPFMETs_pfChMet_*_*',
0268         'keep floatedmValueMap_puppiNoLep_*_*',
0269         'keep recoPFMETs_pfMetPuppi_*_*',
0270         'keep recoMuonMETCorrectionDataedmValueMap_muonMETValueMapProducer_*_*',
0271         'keep HcalNoiseSummary_hcalnoise_*_*',
0272         'keep recoGlobalHaloData_GlobalHaloData_*_*',
0273         'keep recoCSCHaloData_CSCHaloData_*_*',
0274         'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
0275         'keep *_MuonSeed_*_*',
0276         'keep *_ancientMuonSeed_*_*',
0277         'keep *_displacedMuonSeeds_*_*',
0278         'keep TrackingRecHitsOwned_globalMuons_*_*',
0279         'keep TrackingRecHitsOwned_tevMuons_*_*',
0280         'keep *_CosmicMuonSeed_*_*',
0281         'keep recoTrackExtras_cosmicMuons_*_*',
0282         'keep TrackingRecHitsOwned_cosmicMuons_*_*',
0283         'keep recoTrackExtras_cosmicMuons1Leg_*_*',
0284         'keep TrackingRecHitsOwned_cosmicMuons1Leg_*_*',
0285         'keep recoTracks_cosmicsVetoTracks_*_*',
0286         'keep recoMuons_muons_*_*',
0287         'keep booledmValueMap_muons_*_*',
0288         'keep doubleedmValueMap_muons_muPFMean*_*',
0289         'keep doubleedmValueMap_muons_muPFSum*_*',
0290         'keep *_muons_muonShowerInformation_*',
0291         'keep recoMuonTimeExtraedmValueMap_muons_*_*',
0292         'keep recoMuonCosmicCompatibilityedmValueMap_muons_*_*',
0293         'keep uintedmValueMap_muons_*_*',
0294         'keep *_particleFlow_muons_*',
0295         'keep recoTracks_standAloneMuons_*_*',
0296         'keep recoTrackExtras_standAloneMuons_*_*',
0297         'keep TrackingRecHitsOwned_standAloneMuons_*_*',
0298         'keep recoTracks_globalMuons_*_*',
0299         'keep recoTrackExtras_globalMuons_*_*',
0300         'keep recoTracks_tevMuons_*_*',
0301         'keep recoTrackExtras_tevMuons_*_*',
0302         'keep recoTracks_generalTracks_*_*',
0303         'keep recoTracks_displacedTracks_*_*',
0304         'keep recoTracksToOnerecoTracksAssociation_tevMuons_*_*',
0305         'keep recoTracks_displacedGlobalMuons_*_*',
0306         'keep recoTrackExtras_displacedGlobalMuons_*_*',
0307         'keep TrackingRecHitsOwned_displacedGlobalMuons_*_*',
0308         'keep recoTracks_cosmicMuons_*_*',
0309         'keep recoMuons_muonsFromCosmics_*_*',
0310         'keep recoTracks_cosmicMuons1Leg_*_*',
0311         'keep recoMuons_muonsFromCosmics1Leg_*_*',
0312         'keep recoTracks_refittedStandAloneMuons_*_*',
0313         'keep recoTrackExtras_refittedStandAloneMuons_*_*',
0314         'keep TrackingRecHitsOwned_refittedStandAloneMuons_*_*',
0315         'keep recoTracks_displacedStandAloneMuons__*',
0316         'keep recoTrackExtras_displacedStandAloneMuons_*_*',
0317         'keep TrackingRecHitsOwned_displacedStandAloneMuons_*_*',
0318         'keep *_muonReducedTrackExtras_*_*',
0319         'keep *_muIsoDepositTk_*_*',
0320         'keep *_muIsoDepositCalByAssociatorTowers_*_*',
0321         'keep *_muIsoDepositCalByAssociatorHits_*_*',
0322         'keep *_muIsoDepositJets_*_*',
0323         'keep *_muGlobalIsoDepositCtfTk_*_*',
0324         'keep *_muGlobalIsoDepositCalByAssociatorTowers_*_*',
0325         'keep *_muGlobalIsoDepositCalByAssociatorHits_*_*',
0326         'keep *_muGlobalIsoDepositJets_*_*',
0327         'keep *_softPFMuonsTagInfos_*_*',
0328         'keep *_softPFElectronsTagInfos_*_*',
0329         'keep *_pfImpactParameterTagInfos_*_*',
0330         'keep *_pfSecondaryVertexTagInfos_*_*',
0331         'keep *_pfInclusiveSecondaryVertexFinderTagInfos_*_*',
0332         'keep *_pfGhostTrackVertexTagInfos_*_*',
0333         'keep *_pfInclusiveSecondaryVertexFinderCvsLTagInfos_*_*',
0334         'keep *_softPFElectronBJetTags_*_*',
0335         'keep *_softPFMuonBJetTags_*_*',
0336         'keep *_pfTrackCountingHighEffBJetTags_*_*',
0337         'keep *_pfJetProbabilityBJetTags_*_*',
0338         'keep *_pfJetBProbabilityBJetTags_*_*',
0339         'keep *_pfSimpleSecondaryVertexHighEffBJetTags_*_*',
0340         'keep *_pfSimpleInclusiveSecondaryVertexHighEffBJetTags_*_*',
0341         'keep *_pfCombinedSecondaryVertexV2BJetTags_*_*',
0342         'keep *_pfCombinedInclusiveSecondaryVertexV2BJetTags_*_*',
0343         'keep *_pfGhostTrackBJetTags_*_*',
0344         'keep *_pfCombinedMVAV2BJetTags_*_*',
0345         'keep *_inclusiveCandidateSecondaryVertices_*_*',
0346         'keep *_inclusiveCandidateSecondaryVerticesCvsL_*_*',
0347         'keep *_pfCombinedCvsLJetTags_*_*',
0348         'keep *_pfCombinedCvsBJetTags_*_*',
0349         'keep *_pfChargeBJetTags_*_*',
0350         'keep *_pfDeepCSVJetTags_*_*',
0351         'keep *_pfDeepCMVAJetTags_*_*',
0352         'keep *_pixelClusterTagInfos_*_*',
0353         'keep recoRecoTauPiZeros_hpsPFTauProducer_pizeros_*',
0354         'keep recoPFTaus_hpsPFTauProducer_*_*',
0355         'keep *_hpsPFTauBasicDiscriminators_*_*',
0356         'keep *_hpsPFTauBasicDiscriminatorsdR03_*_*',
0357         'keep *_hpsPFTauDiscriminationByDeadECALElectronRejection_*_*',
0358         'keep *_hpsPFTauDiscriminationByDecayModeFinding_*_*',
0359         'keep *_hpsPFTauDiscriminationByDecayModeFindingNewDMs_*_*',
0360         'keep *_hpsPFTauDiscriminationByDecayModeFindingOldDMs_*_*',
0361         'keep *_hpsPFTauDiscriminationByMuonRejection3_*_*',
0362         'keep *_hpsPFTauTransverseImpactParameters_*_*',
0363         'keep  *_offlinePrimaryVertices__*',
0364         'keep *_offlinePrimaryVerticesWithBS_*_*',
0365         'keep *_offlinePrimaryVerticesFromCosmicTracks_*_*',
0366         'keep *_nuclearInteractionMaker_*_*',
0367         'keep *_generalV0Candidates_*_*',
0368         'keep *_inclusiveSecondaryVertices_*_*',
0369         'keep *_gedPhotonCore_*_*',
0370         'keep *_gedPhotons_*_*',
0371         'keep recoPhotons_mustachePhotons_*_*',
0372         'keep recoPhotonCores_mustachePhotonCore_*_*',
0373         'keep recoTrackExtras_ckfOutInTracksFromConversions_*_*',
0374         'keep recoTrackExtras_ckfInOutTracksFromConversions_*_*',
0375         'keep TrackingRecHitsOwned_ckfOutInTracksFromConversions_*_*',
0376         'keep TrackingRecHitsOwned_ckfInOutTracksFromConversions_*_*',
0377         'keep recoTrackExtras_uncleanedOnlyCkfOutInTracksFromConversions_*_*',
0378         'keep recoTrackExtras_uncleanedOnlyCkfInOutTracksFromConversions_*_*',
0379         'keep TrackingRecHitsOwned_uncleanedOnlyCkfOutInTracksFromConversions_*_*',
0380         'keep TrackingRecHitsOwned_uncleanedOnlyCkfInOutTracksFromConversions_*_*',
0381         'keep recoGsfElectronCores_gsfElectronCores_*_*',
0382         'keep recoGsfElectronCores_gedGsfElectronCores_*_*',
0383         'keep recoGsfElectrons_gsfElectrons_*_*',
0384         'keep recoGsfElectrons_gedGsfElectrons_*_*',
0385         'keep recoGsfElectronCores_uncleanedOnlyGsfElectronCores_*_*',
0386         'keep recoGsfElectrons_uncleanedOnlyGsfElectrons_*_*',
0387         'keep floatedmValueMap_eidRobustLoose_*_*',
0388         'keep floatedmValueMap_eidRobustTight_*_*',
0389         'keep floatedmValueMap_eidRobustHighEnergy_*_*',
0390         'keep floatedmValueMap_eidLoose_*_*',
0391         'keep floatedmValueMap_eidTight_*_*',
0392         'keep *_egmGedGsfElectronPFIsolation_*_*',
0393         'keep recoPhotonCores_gedPhotonCore_*_*',
0394         'keep recoPhotons_gedPhotons_*_*',
0395         'keep *_particleBasedIsolation_*_*',
0396         'keep recoPhotonCores_photonCore_*_*',
0397         'keep recoPhotons_photons_*_*',
0398         'keep recoPhotonCores_ootPhotonCore_*_*',
0399         'keep recoPhotons_ootPhotons_*_*',
0400         'keep recoConversions_conversions_*_*',
0401         'drop recoConversions_conversions_uncleanedConversions_*',
0402         'keep recoConversions_mustacheConversions_*_*',
0403         'keep *_gsfTracksOpenConversions_*_*',
0404         'keep recoConversions_allConversions_*_*',
0405         'keep recoConversions_allConversionsOldEG_*_*',
0406         'keep recoTracks_ckfOutInTracksFromConversions_*_*',
0407         'keep recoTracks_ckfInOutTracksFromConversions_*_*',
0408         'keep recoConversions_uncleanedOnlyAllConversions_*_*',
0409         'keep recoTracks_uncleanedOnlyCkfOutInTracksFromConversions_*_*',
0410         'keep recoTracks_uncleanedOnlyCkfInOutTracksFromConversions_*_*',
0411         'keep *_PhotonIDProd_*_*',
0412         'keep *_PhotonIDProdGED_*_*',
0413         'keep *_hfRecoEcalCandidate_*_*',
0414         'keep *_hfEMClusters_*_*',
0415         'keep *_gedGsfElectronCores_*_*',
0416         'keep *_gedGsfElectrons_*_*',
0417         'keep recoCaloClusters_lowPtGsfElectronSuperClusters_*_*',
0418         'keep recoGsfElectrons_lowPtGsfElectrons_*_*',
0419         'keep recoGsfElectronCores_lowPtGsfElectronCores_*_*',
0420         'keep recoGsfTracks_lowPtGsfEleGsfTracks_*_*',
0421         'keep *_lowPtGsfToTrackLinks_*_*',
0422         'keep recoSuperClusters_lowPtGsfElectronSuperClusters_*_*',
0423         'keep floatedmValueMap_lowPtGsfElectronSeedValueMaps_*_*',
0424         'keep floatedmValueMap_rekeyLowPtGsfElectronSeedValueMaps_*_*',
0425         'keep floatedmValueMap_lowPtGsfElectronID_*_*',
0426         'keep *_pixelTracks_*_*',
0427         'keep *_pixelVertices_*_*',
0428         'keep recoPFClusters_particleFlowClusterECAL_*_*',
0429         'keep recoPFClusters_particleFlowClusterHCAL_*_*',
0430         'keep recoPFClusters_particleFlowClusterHO_*_*',
0431         'keep recoPFClusters_particleFlowClusterHF_*_*',
0432         'keep recoPFClusters_particleFlowClusterPS_*_*',
0433         'keep recoPFBlocks_particleFlowBlock_*_*',
0434         'keep recoPFCandidates_particleFlowEGamma_*_*',
0435         'keep recoPFCandidates_particleFlowTmp_electrons_*',
0436         'keep recoPFDisplacedVertexs_particleFlowDisplacedVertex_*_*',
0437         'keep *_pfElectronTranslator_*_*',
0438         'keep *_pfPhotonTranslator_*_*',
0439         'keep *_trackerDrivenElectronSeeds_preid_*',
0440         'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*',
0441         'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*',
0442         'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*',
0443         'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*',
0444         'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*',
0445         'keep recoCaloClusters_particleFlowEGamma_*_*',
0446         'keep recoSuperClusters_particleFlowEGamma_*_*',
0447         'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
0448         'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
0449         'keep recoConversions_particleFlowEGamma_*_*',
0450         'keep recoPFCandidates_particleFlow_*_*',
0451         'keep recoPFCandidates_particleFlowTmp_AddedMuonsAndHadrons_*',
0452         'keep recoPFCandidates_particleFlowTmp_CleanedCosmicsMuons_*',
0453         'keep recoPFCandidates_particleFlowTmp_CleanedFakeMuons_*',
0454         'keep recoPFCandidates_particleFlowTmp_CleanedHF_*',
0455         'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughMuons_*',
0456         'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughNeutralHadrons_*',
0457         'keep recoPFCandidates_particleFlowTmp_CleanedTrackerAndGlobalMuons_*',
0458         'keep *_particleFlow_electrons_*',
0459         'keep *_particleFlow_photons_*',
0460         'keep *_particleFlow_muons_*',
0461         'keep recoCaloClusters_pfElectronTranslator_*_*',
0462         'keep recoPreshowerClusters_pfElectronTranslator_*_*',
0463         'keep recoSuperClusters_pfElectronTranslator_*_*',
0464         'keep recoCaloClusters_pfPhotonTranslator_*_*',
0465         'keep recoPreshowerClusters_pfPhotonTranslator_*_*',
0466         'keep recoSuperClusters_pfPhotonTranslator_*_*',
0467         'keep recoPhotons_pfPhotonTranslator_*_*',
0468         'keep recoPhotonCores_pfPhotonTranslator_*_*',
0469         'keep recoConversions_pfPhotonTranslator_*_*',
0470         'keep *_particleFlowPtrs_*_*',
0471         'keep *_particleFlowTmpPtrs_*_*',
0472         'keep *_chargedHadronPFTrackIsolation_*_*',
0473         'keep *_offlineBeamSpot_*_*',
0474         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0475         'keep *_l1GtRecord_*_*',
0476         'keep *_l1GtTriggerMenuLite_*_*',
0477         'keep *_conditionsInEdm_*_*',
0478         'keep *_l1extraParticles_*_*',
0479         'keep *_l1L1GtObjectMap_*_*',
0480         'keep L1MuGMTReadoutCollection_gtDigis_*_*',
0481         'keep L1GctEmCand*_gctDigis_*_*',
0482         'keep L1GctJetCand*_gctDigis_*_*',
0483         'keep L1GctEtHad*_gctDigis_*_*',
0484         'keep L1GctEtMiss*_gctDigis_*_*',
0485         'keep L1GctEtTotal*_gctDigis_*_*',
0486         'keep L1GctHtMiss*_gctDigis_*_*',
0487         'keep L1GctJetCounts*_gctDigis_*_*',
0488         'keep L1GctHFRingEtSums*_gctDigis_*_*',
0489         'keep L1GctHFBitCounts*_gctDigis_*_*',
0490         'keep LumiDetails_lumiProducer_*_*',
0491         'keep LumiSummary_lumiProducer_*_*',
0492         'drop *_hlt*_*_*',
0493         'keep GlobalObjectMapRecord_hltGtStage2ObjectMap_*_*',
0494         'keep edmTriggerResults_*_*_*',
0495         'keep triggerTriggerEvent_*_*_*',
0496         'keep *_hltFEDSelectorL1_*_*',
0497         'keep *_hltScoutingEgammaPacker_*_*',
0498         'keep *_hltScoutingMuonPacker_*_*',
0499         'keep *_hltScoutingPFPacker_*_*',
0500         'keep *_hltScoutingPrimaryVertexPacker_*_*',
0501         'keep *_hltScoutingTrackPacker_*_*',
0502         'keep edmTriggerResults_*_*_*',
0503         'keep DcsStatuss_hltScalersRawToDigi_*_*',
0504         'keep L1AcceptBunchCrossings_scalersRawToDigi_*_*',
0505         'keep L1TriggerScalerss_scalersRawToDigi_*_*',
0506         'keep Level1TriggerScalerss_scalersRawToDigi_*_*',
0507         'keep LumiScalerss_scalersRawToDigi_*_*',
0508         'keep BeamSpotOnlines_scalersRawToDigi_*_*',
0509         'keep DcsStatuss_scalersRawToDigi_*_*',
0510         'keep CTPPSRecord_onlineMetaDataDigis_*_*',
0511         'keep DCSRecord_onlineMetaDataDigis_*_*',
0512         'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*',
0513         'keep recoBeamSpot_onlineMetaDataDigis_*_*',
0514         'keep *_tcdsDigis_*_*',
0515         'keep *_logErrorHarvester_*_*',
0516         'drop *_MEtoEDMConverter_*_*',
0517         'drop *_*_*_SKIM'
0518      ) )
0519 )
0520 
0521 # Other statements
0522 from Configuration.AlCa.GlobalTag import GlobalTag
0523 gt = '102X_dataRun2_v14' if options.runOnData else '120X_mcRun3_2021_realistic_v6'
0524 process.GlobalTag = GlobalTag(process.GlobalTag, gt, '')
0525 
0526 # Path and EndPath definitions
0527 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0528 process.SKIMStreamEXOHighMETOutPath = cms.EndPath(process.SKIMStreamEXOHighMET)
0529 
0530 # Schedule definition
0531 process.schedule = cms.Schedule(process.EXOHighMETPath,process.RECOSIMoutput_step,process.SKIMStreamEXOHighMETOutPath)
0532 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0533 associatePatAlgosToolsTask(process)
0534 
0535 
0536 
0537 # Customisation from command line
0538 
0539 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0540 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0541 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0542 
0543 # Add early deletion of temporary data products to reduce peak memory need
0544 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0545 process = customiseEarlyDelete(process)
0546 # End adding early deletion