File indexing completed on 2023-03-17 10:53:42
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SKIM")
0004
0005 process.configurationMetadata = cms.untracked.PSet(
0006 version = cms.untracked.string('$Revision: 1.3 $'),
0007 name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/EGMonitorPDSkim_cfg.py,v $'),
0008 annotation = cms.untracked.string('Combined EGMonitor skim')
0009 )
0010
0011
0012
0013
0014
0015
0016 process.source = cms.Source("PoolSource",
0017 fileNames = cms.untracked.vstring(
0018
0019 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
0020 secondaryFileNames = cms.untracked.vstring(
0021 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
0022 )
0023
0024 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0025
0026 process.maxEvents = cms.untracked.PSet(
0027 input = cms.untracked.int32(1000)
0028 )
0029
0030
0031
0032
0033
0034 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0035 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
0036
0037
0038 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0039 process.GlobalTag.globaltag = 'GR_R_36X_V12B::All'
0040
0041 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0042 process.load("Configuration/StandardSequences/Reconstruction_cff")
0043 process.load('Configuration/EventContent/EventContent_cff')
0044
0045
0046 process.FEVTEventContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
0047 process.FEVTEventContent.outputCommands.append("drop *_*_*_SKIM")
0048
0049
0050
0051 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
0052 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0053 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0054
0055
0056
0057 process.load("DPGAnalysis.Skims.filterRecHits_cfi")
0058
0059 process.ecalrechitfilter = cms.Path(process.recHitEnergyFilter)
0060
0061
0062 process.ecalrechitfilter_out = cms.OutputModule("PoolOutputModule",
0063 fileName = cms.untracked.string('/tmp/azzi/ecalrechitfilter.root'),
0064 outputCommands = process.FEVTEventContent.outputCommands,
0065 dataset = cms.untracked.PSet(
0066 dataTier = cms.untracked.string('RAW-RECO'),
0067 filterName = cms.untracked.string('ECALRECHIT')),
0068 SelectEvents = cms.untracked.PSet(
0069 SelectEvents = cms.vstring('ecalrechitfilter')
0070 )
0071 )
0072
0073
0074
0075
0076 process.load('DPGAnalysis/Skims/singleMuonSkim_cff')
0077 process.load('DPGAnalysis/Skims/singleElectronSkim_cff')
0078 process.load('DPGAnalysis/Skims/muonTagProbeFilters_cff')
0079 process.load('DPGAnalysis/Skims/electronTagProbeFilters_cff')
0080 process.load('DPGAnalysis/Skims/singlePhotonSkim_cff')
0081 process.load('DPGAnalysis/Skims/jetSkim_cff')
0082 process.load('DPGAnalysis/Skims/METSkim_cff')
0083 process.load('DPGAnalysis/Skims/singlePfTauSkim_cff')
0084
0085
0086
0087
0088 process.singleMuPt5SkimPath=cms.Path(process.singleMuPt5RecoQualitySeq)
0089
0090
0091
0092 process.singleElectronPt5SkimPath=cms.Path(process.singleElectronPt5RecoQualitySeq)
0093
0094
0095
0096 process.singlePhotonPt5SkimPath=cms.Path(process.singlePhotonPt5QualitySeq)
0097
0098 process.muonJPsiMMSkimPath=cms.Path(process.muonJPsiMMRecoQualitySeq)
0099
0100 process.jetSkimPath=cms.Path(process.jetRecoQualitySeq)
0101
0102 process.singlePfTauPt15SkimPath=cms.Path(process.singlePfTauPt15QualitySeq)
0103 process.outTPGSkim = cms.OutputModule("PoolOutputModule",
0104 outputCommands = process.FEVTHLTALLEventContent.outputCommands,
0105 fileName = cms.untracked.string("/tmp/azzi/TPGSkim.root"),
0106 dataset = cms.untracked.PSet(
0107 dataTier = cms.untracked.string('USER'),
0108 filterName = cms.untracked.string('TPGSkim')
0109 ),
0110 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
0111
0112
0113
0114 'singleMuPt5SkimPath',
0115
0116
0117
0118 'singleElectronPt5SkimPath',
0119
0120
0121
0122 'singlePhotonPt5SkimPath',
0123
0124 'muonJPsiMMSkimPath',
0125
0126 'jetSkimPath',
0127
0128 'singlePfTauPt15SkimPath'))
0129 )
0130
0131
0132
0133
0134
0135 process.load("FWCore.Modules.logErrorFilter_cfi")
0136 from Configuration.StandardSequences.RawToDigi_Data_cff import gtEvmDigis
0137
0138 process.gtEvmDigis = gtEvmDigis.clone()
0139 process.stableBeam = cms.EDFilter("HLTBeamModeFilter",
0140 L1GtEvmReadoutRecordTag = cms.InputTag("gtEvmDigis"),
0141 AllowedBeamMode = cms.vuint32(11),
0142 saveTags = cms.bool(False)
0143 )
0144
0145 process.logerrorpath=cms.Path(process.gtEvmDigis+process.stableBeam+process.logErrorFilter)
0146
0147 process.outlogerr = cms.OutputModule("PoolOutputModule",
0148 outputCommands = process.FEVTEventContent.outputCommands,
0149 fileName = cms.untracked.string('/tmp/azzi/logerror_filter.root'),
0150 dataset = cms.untracked.PSet(
0151 dataTier = cms.untracked.string('RAW-RECO'),
0152 filterName = cms.untracked.string('Skim_logerror')),
0153
0154 SelectEvents = cms.untracked.PSet(
0155 SelectEvents = cms.vstring("logerrorpath")
0156 ))
0157
0158
0159
0160
0161
0162 process.options = cms.untracked.PSet(
0163 wantSummary = cms.untracked.bool(True)
0164 )
0165
0166 process.outpath = cms.EndPath(process.ecalrechitfilter_out+process.outTPGSkim+process.outlogerr)