File indexing completed on 2024-04-06 12:03:32
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("recHitProd")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006
0007
0008 process.load("Configuration.EcalTB.readIntercalibrationsFromAscii2006_v0_cff")
0009
0010 process.source = cms.Source("PoolSource",
0011 maxEvents = cms.untracked.int32(-1),
0012 debugFlag = cms.untracked.bool(False),
0013 debugVebosity = cms.untracked.uint32(1),
0014 fileNames = cms.untracked.vstring('file:/u1/meridian/data/h4/2006/h4b.00013247.A.0.0.root')
0015 )
0016
0017 process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
0018 process.ecal2006TBRecHit = process.ecalRecHit.clone(
0019 EEuncalibRecHitCollection = cms.string(''),
0020 uncalibRecHitProducer = cms.string('ecal2006TBWeightUncalibRecHit'),
0021 EBuncalibRecHitCollection = cms.string('EcalUncalibRecHitsEB'),
0022 EErechitCollection = ''
0023 )
0024
0025 process.out = cms.OutputModule("PoolOutputModule",
0026 fileName = cms.untracked.string('tbhits.root'),
0027 outputCommands = cms.untracked.vstring('drop *',
0028 'keep EcalRecHitsSorted_*_*_*',
0029 'keep EcalTBHodoscopeRecInfo_*_*_*',
0030 'keep EcalTBEventHeader_*_*_*',
0031 'keep EcalTBTDCRecInfo_*_*_*')
0032 )
0033
0034 process.p = cms.Path(process.ecal2006TBRecHit)
0035 process.ep = cms.EndPath(process.out)
0036