Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 from Configuration.Eras.Era_Run2_2016_cff import Run2_2016
0005 process = cms.Process('RECO',Run2_2016)
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('Configuration.StandardSequences.GeometryRecoDB_cff')
0013 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0014 process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
0015 process.load('Configuration.StandardSequences.L1Reco_cff')
0016 process.load('Configuration.StandardSequences.Reconstruction_Data_cff')
0017 process.load('Configuration.StandardSequences.Skims_cff')
0018 process.load('CommonTools.ParticleFlow.EITopPAG_cff')
0019 process.load('PhysicsTools.PatAlgos.slimming.metFilterPaths_cff')
0020 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(100)
0025 )
0026 
0027 # Input source
0028 process.source = cms.Source("PoolSource",
0029     fileNames = cms.untracked.vstring('/store/data/Run2016E/SinglePhoton/RAW/v2/000/277/069/00000/0696A25D-0A4E-E611-99E9-02163E013842.root'),
0030     secondaryFileNames = cms.untracked.vstring()
0031 )
0032 
0033 process.options = cms.untracked.PSet(
0034     allowUnscheduled = cms.untracked.bool(True)
0035 )
0036 
0037 # Production Info
0038 process.configurationMetadata = cms.untracked.PSet(
0039     annotation = cms.untracked.string('RECO nevts:100'),
0040     name = cms.untracked.string('Applications'),
0041     version = cms.untracked.string('$Revision: 1.19 $')
0042 )
0043 
0044 # Output definition
0045 process.RECOoutput = cms.OutputModule("PoolOutputModule",
0046     dataset = cms.untracked.PSet(
0047         dataTier = cms.untracked.string('RECO'),
0048         filterName = cms.untracked.string('')
0049     ),
0050     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0051     fileName = cms.untracked.string('RECO_RAW2DIGI_L1Reco_RECO_SKIM_EI_PAT.root'),
0052     outputCommands = process.RECOEventContent.outputCommands,
0053     splitLevel = cms.untracked.int32(0)
0054 )
0055 
0056 # Additional output definition
0057 process.SKIMStreamEXOMONOPOLE = cms.OutputModule("PoolOutputModule",
0058     SelectEvents = cms.untracked.PSet(
0059         SelectEvents = cms.vstring('EXOMONOPOLEPath')
0060     ),
0061     dataset = cms.untracked.PSet(
0062         dataTier = cms.untracked.string('AOD'),
0063         filterName = cms.untracked.string('EXOMONOPOLE')
0064     ),
0065     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0066     fileName = cms.untracked.string('EXOMONOPOLE.root'),
0067     outputCommands = process.AODEventContent.outputCommands
0068 )
0069 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_hybridSuperClusters_*_*')
0070 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_multi5x5SuperClusters_multi5x5EndcapSuperClusters_*')
0071 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapBasicClusters_*')
0072 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_multi5x5SuperClusters_uncleanOnlyMulti5x5EndcapSuperClusters_*')
0073 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_siStripClusters_*_*')
0074 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_siPixelClusters_*_*')
0075 process.SKIMStreamEXOMONOPOLE.outputCommands.append('drop *_generalTracks_*_*')
0076 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_generalTracks_*_*')
0077 process.SKIMStreamEXOMONOPOLE.outputCommands.append('drop *_generalTracks_QualityMasks_*')
0078 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEB_*')
0079 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_ecalRecHit_EcalRecHitsEE_*')
0080 process.SKIMStreamEXOMONOPOLE.outputCommands.append('keep *_hbhereco_*_*')
0081 
0082 # Other statements
0083 from Configuration.AlCa.GlobalTag import GlobalTag
0084 process.GlobalTag = GlobalTag(process.GlobalTag, '80X_dataRun2_2016LegacyRepro_v3', '')
0085 
0086 # Path and EndPath definitions
0087 process.raw2digi_step = cms.Path(process.RawToDigi)
0088 process.L1Reco_step = cms.Path(process.L1Reco)
0089 process.reconstruction_step = cms.Path(process.reconstruction)
0090 process.eventinterpretaion_step = cms.Path(process.EIsequence)
0091 process.Flag_trackingFailureFilter = cms.Path(process.goodVertices+process.trackingFailureFilter)
0092 process.Flag_goodVertices = cms.Path(process.primaryVertexFilter)
0093 process.Flag_CSCTightHaloFilter = cms.Path(process.CSCTightHaloFilter)
0094 process.Flag_trkPOGFilters = cms.Path(process.trkPOGFilters)
0095 process.Flag_HcalStripHaloFilter = cms.Path(process.HcalStripHaloFilter)
0096 process.Flag_trkPOG_logErrorTooManyClusters = cms.Path(~process.logErrorTooManyClusters)
0097 process.Flag_EcalDeadCellTriggerPrimitiveFilter = cms.Path(process.EcalDeadCellTriggerPrimitiveFilter)
0098 process.Flag_ecalLaserCorrFilter = cms.Path(process.ecalLaserCorrFilter)
0099 process.Flag_globalSuperTightHalo2016Filter = cms.Path(process.globalSuperTightHalo2016Filter)
0100 process.Flag_eeBadScFilter = cms.Path(process.eeBadScFilter)
0101 process.Flag_METFilters = cms.Path(process.metFilters)
0102 process.Flag_chargedHadronTrackResolutionFilter = cms.Path(process.chargedHadronTrackResolutionFilter)
0103 process.Flag_globalTightHalo2016Filter = cms.Path(process.globalTightHalo2016Filter)
0104 process.Flag_CSCTightHaloTrkMuUnvetoFilter = cms.Path(process.CSCTightHaloTrkMuUnvetoFilter)
0105 process.Flag_HBHENoiseIsoFilter = cms.Path(process.HBHENoiseFilterResultProducer+process.HBHENoiseIsoFilter)
0106 process.Flag_BadChargedCandidateSummer16Filter = cms.Path(process.BadChargedCandidateSummer16Filter)
0107 process.Flag_hcalLaserEventFilter = cms.Path(process.hcalLaserEventFilter)
0108 process.Flag_BadPFMuonFilter = cms.Path(process.BadPFMuonFilter)
0109 process.Flag_HBHENoiseFilter = cms.Path(process.HBHENoiseFilterResultProducer+process.HBHENoiseFilter)
0110 process.Flag_trkPOG_toomanystripclus53X = cms.Path(~process.toomanystripclus53X)
0111 process.Flag_EcalDeadCellBoundaryEnergyFilter = cms.Path(process.EcalDeadCellBoundaryEnergyFilter)
0112 process.Flag_BadChargedCandidateFilter = cms.Path(process.BadChargedCandidateFilter)
0113 process.Flag_trkPOG_manystripclus53X = cms.Path(~process.manystripclus53X)
0114 process.Flag_BadPFMuonSummer16Filter = cms.Path(process.BadPFMuonSummer16Filter)
0115 process.Flag_muonBadTrackFilter = cms.Path(process.muonBadTrackFilter)
0116 process.Flag_CSCTightHalo2015Filter = cms.Path(process.CSCTightHalo2015Filter)
0117 process.endjob_step = cms.EndPath(process.endOfProcess)
0118 process.RECOoutput_step = cms.EndPath(process.RECOoutput)
0119 process.SKIMStreamEXOMONOPOLEOutPath = cms.EndPath(process.SKIMStreamEXOMONOPOLE)
0120 
0121 # Schedule definition
0122 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.EXOMONOPOLEPath,process.eventinterpretaion_step,process.Flag_HBHENoiseFilter,process.Flag_HBHENoiseIsoFilter,process.Flag_CSCTightHaloFilter,process.Flag_CSCTightHaloTrkMuUnvetoFilter,process.Flag_CSCTightHalo2015Filter,process.Flag_globalTightHalo2016Filter,process.Flag_globalSuperTightHalo2016Filter,process.Flag_HcalStripHaloFilter,process.Flag_hcalLaserEventFilter,process.Flag_EcalDeadCellTriggerPrimitiveFilter,process.Flag_EcalDeadCellBoundaryEnergyFilter,process.Flag_goodVertices,process.Flag_eeBadScFilter,process.Flag_ecalLaserCorrFilter,process.Flag_trkPOGFilters,process.Flag_chargedHadronTrackResolutionFilter,process.Flag_muonBadTrackFilter,process.Flag_BadChargedCandidateFilter,process.Flag_BadPFMuonFilter,process.Flag_BadChargedCandidateSummer16Filter,process.Flag_BadPFMuonSummer16Filter,process.Flag_trkPOG_manystripclus53X,process.Flag_trkPOG_toomanystripclus53X,process.Flag_trkPOG_logErrorTooManyClusters,process.Flag_METFilters,process.endjob_step,process.RECOoutput_step,process.SKIMStreamEXOMONOPOLEOutPath)
0123 
0124 #Setup FWK for multithreaded
0125 process.options.numberOfThreads=cms.untracked.uint32(4)
0126 process.options.numberOfStreams=cms.untracked.uint32(0)
0127 
0128 # customisation of the process.
0129 
0130 # Automatic addition of the customisation function from Configuration.DataProcessing.RecoTLR
0131 from Configuration.DataProcessing.RecoTLR import customisePostEra_Run2_2016 
0132 
0133 #call to customisation function customisePostEra_Run2_2016 imported from Configuration.DataProcessing.RecoTLR
0134 process = customisePostEra_Run2_2016(process)
0135 
0136 # Automatic addition of the customisation function from RecoTracker.Configuration.customizeMinPtForHitRecoveryInGluedDet
0137 from RecoTracker.Configuration.customizeMinPtForHitRecoveryInGluedDet import customizeHitRecoveryInGluedDetTkSeedsOnly 
0138 
0139 #call to customisation function customizeHitRecoveryInGluedDetTkSeedsOnly imported from RecoTracker.Configuration.customizeMinPtForHitRecoveryInGluedDet
0140 process = customizeHitRecoveryInGluedDetTkSeedsOnly(process)
0141 
0142 # End of customisation functions
0143 process.load('Configuration.StandardSequences.PAT_cff')
0144 
0145 # customisation of the process.
0146 
0147 # Automatic addition of the customisation function from PhysicsTools.PatAlgos.slimming.miniAOD_tools
0148 from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeAllData 
0149 
0150 #call to customisation function miniAOD_customizeAllData imported from PhysicsTools.PatAlgos.slimming.miniAOD_tools
0151 process = miniAOD_customizeAllData(process)
0152 
0153 # End of customisation functions