Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-02 06:10:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0004 process = cms.Process("ALCAISOTRACK",Run2_2018)
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 process.load("RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi")
0016 
0017 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
0018 if hasattr(process,'MessageLogger'):
0019     process.MessageLogger.HcalIsoTrackX=dict()
0020     process.MessageLogger.HcalIsoTrack=dict()
0021 
0022 process.options = cms.untracked.PSet(
0023     wantSummary = cms.untracked.bool(True)
0024 )
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(-1)
0028 )
0029 
0030 process.source = cms.Source("PoolSource",
0031                             fileNames = cms.untracked.vstring(
0032         'file:/afs/cern.ch/user/h/huwang/work/public/for_Sunanda/RECO_data.root',
0033  )
0034 )
0035 
0036 process.load('RecoLocalCalo.CaloTowersCreator.calotowermaker_cfi')
0037 process.towerMakerAll = process.calotowermaker.clone()
0038 process.towerMakerAll.hbheInput = cms.InputTag("hbhereco")
0039 process.towerMakerAll.hoInput = cms.InputTag("none")
0040 process.towerMakerAll.hfInput = cms.InputTag("none")
0041 process.towerMakerAll.ecalInputs = cms.VInputTag(cms.InputTag("ecalRecHit","EcalRecHitsEB"), cms.InputTag("ecalRecHit","EcalRecHitsEE"))
0042 process.towerMakerAll.AllowMissingInputs = True
0043 
0044 process.ALCARECOStreamHcalCalIsoTrkProducerFilter = cms.OutputModule("PoolOutputModule",
0045                                                                SelectEvents = cms.untracked.PSet(
0046         SelectEvents = cms.vstring('pathALCARECOHcalCalIsoTrkProducerFilter')
0047         ),
0048                                                                dataset = cms.untracked.PSet(
0049         dataTier = cms.untracked.string('ALCARECO'),
0050         filterName = cms.untracked.string('ALCARECOHcalCalIsoTrkProducerFilter')
0051         ),
0052                                                              eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0053                                                              outputCommands = process.OutALCARECOHcalCalIsoTrkProducerFilter.outputCommands,
0054                                                              fileName = cms.untracked.string('newPoolOutput.root'),
0055 )
0056 
0057 process.alcaHcalIsotrkProducer.ignoreTriggers = True
0058 process.alcaHcalIsotrkProducer.debugEvents = [640818633, 640797426, 641251898]
0059 process.alcaHcalIsotrkFilter.debugEvents = [640818633, 640797426, 641251898]
0060 #process.alcaHcalIsotrkProducer.debugEvents = [641031809, 641092744, 640862532,
0061 #                                              640874735, 641845581, 641144982,
0062 #                                              641124886, 641240201, 640856725,
0063 #                                              641709599, 641406943, 640794164,
0064 #                                              641820644, 641053143, 641458751,
0065 #                                              641554667, 641621481]
0066 #process.alcaHcalIsotrkFilter.debugEvents = [641031809, 641092744, 640862532,
0067 #                                            640874735, 641845581, 641144982,
0068 #                                            641124886, 641240201, 640856725,
0069 #                                            641709599, 641406943, 640794164,
0070 #                                            641820644, 641053143, 641458751,
0071 #                                            641554667, 641621481]
0072 
0073 
0074 # Path and EndPath definitions
0075 process.endjob_step = cms.EndPath(process.endOfProcess)
0076 process.ALCARECOStreamHcalCalIsoTrkProducerFilterOutPath = cms.EndPath(process.ALCARECOStreamHcalCalIsoTrkProducerFilter)
0077 
0078 # Schedule definition
0079 process.schedule = cms.Schedule(process.pathALCARECOHcalCalIsoTrkProducerFilter,process.endjob_step,process.ALCARECOStreamHcalCalIsoTrkProducerFilterOutPath)