00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("GETUNCALRECHIT")
00004
00005 process.load("EventFilter.EcalRawToDigiDev.EcalUnpackerMapping_cfi")
00006
00007 process.load("EventFilter.EcalRawToDigiDev.EcalUnpackerData_cfi")
00008
00009 import RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi
00010 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
00011 process.load("CaloOnlineTools.EcalTools.ecalURecHitHists_cfi")
00012
00013 process.source = cms.Source("PoolSource",
00014 skipEvents = cms.untracked.uint32(0),
00015
00016 fileNames = cms.untracked.vstring('file:/data/scooper/data/gren07/P5_Co.00029485.A.0.0.root')
00017 )
00018
00019 process.maxEvents = cms.untracked.PSet(
00020 input = cms.untracked.int32(150)
00021 )
00022 process.src1 = cms.ESSource("EcalTrivialConditionRetriever",
00023 jittWeights = cms.untracked.vdouble(0.04, 0.04, 0.04, 0.0, 1.32,
00024 -0.05, -0.5, -0.5, -0.4, 0.0),
00025 pedWeights = cms.untracked.vdouble(0.333, 0.333, 0.333, 0.0, 0.0,
00026 0.0, 0.0, 0.0, 0.0, 0.0),
00027 amplWeights = cms.untracked.vdouble(-0.333, -0.333, -0.333, 0.0, 0.0,
00028 1.0, 0.0, 0.0, 0.0, 0.0)
00029 )
00030
00031 process.MessageLogger = cms.Service("MessageLogger",
00032 suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
00033 cout = cms.untracked.PSet(
00034 threshold = cms.untracked.string('INFO')
00035 ),
00036 categories = cms.untracked.vstring('EcalURecHitHists'),
00037 destinations = cms.untracked.vstring('cout')
00038 )
00039
00040 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.ecalURecHitHists)
00041 process.ecalUncalibHit.EBdigiCollection = cms.InputTag("ecalEBunpacker","ebDigis")
00042 process.ecalUncalibHit.EEdigiCollection = cms.InputTag("ecalEBunpacker","eeDigis")
00043