File indexing completed on 2024-04-06 12:06:47
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process('SKIM')
0004
0005
0006 process.load('Configuration/StandardSequences/Services_cff')
0007 process.load('FWCore/MessageService/MessageLogger_cfi')
0008 process.load('Configuration/EventContent/EventContent_cff')
0009
0010
0011 process.load('HLTrigger/HLTfilters/hltHighLevelDev_cfi')
0012
0013
0014
0015
0016
0017 process.hltHighLevelDev.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT")
0018 process.hltHighLevelDev.HLTPaths = (
0019 'HLT_PhysicsDeclared',
0020 )
0021
0022 process.hltHighLevelDev.andOr = True
0023 process.hltHighLevelDev.throw = False
0024 process.hltHighLevelDev.HLTPathsPrescales = cms.vuint32(
0025 1,
0026 )
0027 process.hltHighLevelDev.HLTOverallPrescale = cms.uint32 (1)
0028
0029
0030 process.hltHighLevelDev2 = process.hltHighLevelDev.clone(andOr = True)
0031 process.hltHighLevelDev2.HLTPaths = (
0032 'HLT_PhysicsDeclared',
0033 )
0034
0035 process.hltHighLevelDev2.andOr = True
0036 process.hltHighLevelDev2.throw = False
0037 process.hltHighLevelDev2.HLTPathsPrescales = cms.vuint32(
0038 1,
0039 )
0040 process.hltHighLevelDev2.HLTOverallPrescale = cms.uint32 (10)
0041
0042
0043
0044 process.hltHighLevelDev3 = process.hltHighLevelDev.clone(andOr = True)
0045 process.hltHighLevelDev3.HLTPaths = (
0046 'HLT_BTagIP_Jet50U',
0047 'HLT_BTagMu_Jet10U',
0048 'HLT_DiJetAve15U_8E29',
0049 'HLT_DiJetAve30U_8E29',
0050 'HLT_DoubleEle5_SW_L1R',
0051 'HLT_DoubleLooseIsoTau15',
0052 'HLT_DoubleMu0',
0053 'HLT_DoubleMu3',
0054 'HLT_DoublePhoton10_L1R',
0055 'HLT_DoublePhoton5_Jpsi_L1R',
0056 'HLT_DoublePhoton5_Upsilon_L1R',
0057 'HLT_DoublePhoton5_eeRes_L1R',
0058 'HLT_EgammaSuperClusterOnly_L1R',
0059 'HLT_Ele10_LW_EleId_L1R',
0060 'HLT_Ele10_LW_L1R',
0061 'HLT_Ele15_LW_L1R',
0062 'HLT_Ele15_SC10_LW_L1R',
0063 'HLT_Ele15_SiStrip_L1R',
0064 'HLT_Ele20_LW_L1R',
0065 'HLT_FwdJet20U',
0066 'HLT_HT100U',
0067 'HLT_HighMultiplicityBSC',
0068 'HLT_IsoMu3',
0069 'HLT_IsoTrackHB_8E29',
0070 'HLT_IsoTrackHE_8E29',
0071 'HLT_Jet15U',
0072 'HLT_Jet30U',
0073 'HLT_Jet50U',
0074 'HLT_L1DoubleEG5',
0075 'HLT_L1DoubleMuOpen',
0076 'HLT_L1Jet6U',
0077 'HLT_L1MET20',
0078 'HLT_L1Mu',
0079 'HLT_L1Mu14_L1ETM30',
0080 'HLT_L1Mu14_L1SingleEG10',
0081 'HLT_L1Mu14_L1SingleJet6U',
0082 'HLT_L1Mu20',
0083 'HLT_L1MuOpen',
0084 'HLT_L1SingleEG5',
0085 'HLT_L1SingleEG8',
0086 'HLT_L1SingleForJet',
0087 'HLT_L2Mu11',
0088 'HLT_L2Mu9',
0089 'HLT_MET100',
0090 'HLT_MET45',
0091 'HLT_Mu3',
0092 'HLT_Mu5',
0093 'HLT_Mu9',
0094 'HLT_Photon10_L1R',
0095 'HLT_Photon15_L1R',
0096 'HLT_Photon15_LooseEcalIso_L1R',
0097 'HLT_Photon15_TrackIso_L1R',
0098 'HLT_Photon20_L1R',
0099 'HLT_Photon30_L1R_8E29',
0100 'HLT_QuadJet15U',
0101 'HLT_SingleLooseIsoTau20',
0102 'HLT_StoppedHSCP_8E29'
0103 )
0104
0105 process.hltHighLevelDev3.andOr = True
0106 process.hltHighLevelDev3.throw = False
0107 process.hltHighLevelDev3.HLTPathsPrescales = cms.vuint32(
0108 1,
0109 1,
0110 1,
0111 1,
0112 1,
0113 1,
0114 1,
0115 1,
0116 1,
0117 1,
0118 1,
0119 1,
0120 1,
0121 1,
0122 1,
0123 1,
0124 1,
0125 1,
0126 1,
0127 1,
0128 1,
0129 1,
0130 1,
0131 1,
0132 1,
0133 1,
0134 1,
0135 1,
0136 1,
0137 1,
0138 1,
0139 1,
0140 1,
0141 1,
0142 1,
0143 1,
0144 1,
0145 1,
0146 1,
0147 1,
0148 1,
0149 1,
0150 1,
0151 1,
0152 1,
0153 1,
0154 1,
0155 1,
0156 1,
0157 1,
0158 1,
0159 1,
0160 1,
0161 1,
0162 1,
0163 1,
0164 1
0165 )
0166 process.hltHighLevelDev3.HLTOverallPrescale = cms.uint32 (1)
0167
0168 process.configurationMetadata = cms.untracked.PSet(
0169 version = cms.untracked.string('$Revision: 1.1 $'),
0170 annotation = cms.untracked.string('skim'),
0171 name = cms.untracked.string('skim')
0172 )
0173 process.maxEvents = cms.untracked.PSet(
0174 input = cms.untracked.int32(100)
0175 )
0176 process.options = cms.untracked.PSet(
0177 Rethrow = cms.untracked.vstring('ProductNotFound')
0178 )
0179
0180 process.source = cms.Source("PoolSource",
0181 fileNames = cms.untracked.vstring(
0182 '/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/060/16B938A8-7DDD-DE11-873D-003048D37514.root',
0183 '/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/060/20334064-77DD-DE11-9592-001D09F2AF96.root',
0184 '/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/060/56193FC8-7FDD-DE11-BAFD-003048D373AE.root',
0185 '/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/060/68BC42A8-82DD-DE11-8AB2-001D09F282F5.root',
0186 '/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/060/E62B7FEF-75DD-DE11-8BB3-00304879FA4A.root',
0187
0188
0189
0190
0191
0192
0193
0194
0195
0196
0197
0198
0199
0200
0201
0202
0203
0204
0205
0206 )
0207 )
0208
0209 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
0210
0211
0212 process.output1 = cms.OutputModule("PoolOutputModule",
0213 splitLevel = cms.untracked.int32(0),
0214 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0215 fileName = cms.untracked.string('SD_AllMinBias_900GeV_PhysDecl.root'),
0216 dataset = cms.untracked.PSet(
0217 dataTier = cms.untracked.string('RAW-RECO'),
0218 filterName = cms.untracked.string('SD_AllMinBias')
0219 ),
0220 SelectEvents = cms.untracked.PSet(
0221 SelectEvents = cms.vstring('skim1')
0222 )
0223 )
0224
0225
0226 process.output2 = cms.OutputModule("PoolOutputModule",
0227 splitLevel = cms.untracked.int32(0),
0228 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0229 fileName = cms.untracked.string('SD_InterestingEvents_MinBias10_900GeV_PhysDecl.root'),
0230 dataset = cms.untracked.PSet(
0231 dataTier = cms.untracked.string('RAW-RECO'),
0232 filterName = cms.untracked.string('SD_InterestingEvents_MinBias10')
0233 ),
0234 SelectEvents = cms.untracked.PSet(
0235 SelectEvents = cms.vstring('skim2','skim3')
0236 )
0237 )
0238
0239
0240 process.output3 = cms.OutputModule("PoolOutputModule",
0241 splitLevel = cms.untracked.int32(0),
0242 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0243 fileName = cms.untracked.string('SD_InterestingEvent.root'),
0244 dataset = cms.untracked.PSet(
0245 dataTier = cms.untracked.string('RAW-RECO'),
0246 filterName = cms.untracked.string('SD_InterestingEvents')
0247 ),
0248 SelectEvents = cms.untracked.PSet(
0249 SelectEvents = cms.vstring('skim3')
0250 )
0251 )
0252
0253
0254
0255
0256 process.skim1 = cms.Path(process.hltHighLevelDev)
0257 process.skim2 = cms.Path(process.hltHighLevelDev2)
0258 process.skim3 = cms.Path(process.hltHighLevelDev+process.hltHighLevelDev3)
0259
0260
0261 process.out_step = cms.EndPath(process.output1+process.output2+process.output3)
0262
0263 process.schedule = cms.Schedule(process.skim1,process.skim2,process.skim3)
0264 process.schedule.append(process.out_step)