Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("HIGHPTSKIM")
0003 
0004 process.load('Configuration.StandardSequences.Services_cff')
0005 process.load('FWCore.MessageService.MessageLogger_cfi')
0006 process.load('Configuration.EventContent.EventContentHeavyIons_cff')
0007 
0008 process.source = cms.Source("PoolSource",
0009    fileNames = cms.untracked.vstring(
0010         'file:/mnt/hadoop/cms/store/hidata/HIRun2010/HIAllPhysics/RECO/SDmaker_3SD_1CS_PDHIAllPhysicsZSv2_SD_JetHI-v1/0000/A8934EC1-904B-E011-862C-003048F17528.root'
0011 )
0012 )
0013 
0014 # =============== Other Statements =====================
0015 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0016 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0017 
0018 #Trigger Selection
0019 ### Comment out for the timing being assuming running on secondary dataset with trigger bit selected already
0020 import HLTrigger.HLTfilters.hltHighLevel_cfi
0021 process.hltHIHighPtTrack = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
0022 process.hltHIHighPtTrack.HLTPaths = ['HLT_HIFullTrack20_*','HLT_HIFullTrack25_*'] # for allphysics
0023 process.hltHIHighPtTrack.andOr = cms.bool(True)
0024 process.hltHIHighPtTrack.throw = cms.bool(False)
0025 
0026 process.eventFilter_step = cms.Path( process.hltHIHighPtTrack )
0027 
0028 process.output = cms.OutputModule("PoolOutputModule",
0029     outputCommands = process.RECOEventContent.outputCommands,
0030     fileName = cms.untracked.string('hiHighPtTrack.root'),
0031     SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('eventFilter_step')),
0032     dataset = cms.untracked.PSet(
0033       dataTier = cms.untracked.string('RECO'),
0034       filterName = cms.untracked.string('hiHighPtTrack'))
0035 )
0036 
0037 process.output_step = cms.EndPath(process.output)
0038 
0039 process.schedule = cms.Schedule(
0040     process.eventFilter_step,
0041     process.output_step
0042 )