Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0004 process = cms.Process("ALCAISOTRACK",Run2_2017)
0005 
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0009 process.load("Configuration.StandardSequences.MagneticField_cff")
0010 process.load('Configuration.StandardSequences.AlCaRecoStreams_cff')
0011 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 from Configuration.AlCa.autoCond import autoCond
0014 process.GlobalTag.globaltag=autoCond['run2_mc']
0015 
0016 if hasattr(process,'MessageLogger'):
0017     process.MessageLogger.HcalIsoTrack=dict()
0018 
0019 process.options = cms.untracked.PSet(
0020     wantSummary = cms.untracked.bool(True)
0021 )
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(-1)
0025 )
0026 process.source = cms.Source("PoolSource",
0027                             fileNames = cms.untracked.vstring(
0028         '/store/relval/CMSSW_7_4_0_pre6/RelValPhotonJets_Pt_10_13/GEN-SIM-RECO/MCRUN2_74_V1-v1/00000/6EC8FCC8-E2A8-E411-9506-002590596468.root'
0029  )
0030 )
0031 
0032 process.ALCARECOStreamHcalCalIsoTrkFilter = cms.OutputModule("PoolOutputModule",
0033                                                                SelectEvents = cms.untracked.PSet(
0034         SelectEvents = cms.vstring('pathALCARECOHcalCalIsoTrkFilter')
0035         ),
0036                                                                dataset = cms.untracked.PSet(
0037         dataTier = cms.untracked.string('ALCARECO'),
0038         filterName = cms.untracked.string('ALCARECOHcalCalIsoTrkFilter')
0039         ),
0040                                                              eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0041                                                              #                                                            outputCommands = process.OutALCARECOHcalCalIsoTrkFilter.outputCommands,
0042                                                              outputCommands = cms.untracked.vstring(
0043         'drop *',
0044         'keep *_gtStage2Digis_*_*',
0045         'keep *_hbheprereco_*_*',
0046         'keep *_hbhereco_*_*',
0047         'keep *_ecalRecHit_*_*',
0048         'keep *_towerMaker_*_*',
0049         'keep *_offlineBeamSpot_*_*',
0050         'keep *_hltTriggerSummaryAOD_*_*',
0051         'keep *_TriggerResults_*_*',
0052         'keep *_generalTracks_*_*',
0053         'keep *_generalTracksExtra_*_*',
0054         'keep *_offlinePrimaryVertices_*_*',
0055         'keep *_TkAlIsoProdFilter_*_*',
0056         ),
0057                                                              fileName = cms.untracked.string('PoolOutput.root'),
0058                                       )
0059 
0060 # Path and EndPath definitions
0061 process.endjob_step = cms.EndPath(process.endOfProcess)
0062 process.ALCARECOStreamHcalCalIsoTrkFilterOutPath = cms.EndPath(process.ALCARECOStreamHcalCalIsoTrkFilter)
0063 
0064 # Schedule definition
0065 process.schedule = cms.Schedule(process.pathALCARECOHcalCalIsoTrkFilter,process.endjob_step,process.ALCARECOStreamHcalCalIsoTrkFilterOutPath)