CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CaloOnlineTools/EcalTools/python/ecalURecHitHists_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("GETUNCALRECHIT")
00004 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
00005 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
00006 
00007 process.load("Geometry.EcalMapping.EcalMapping_cfi")
00008 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
00009 
00010 import RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi
00011 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
00012 
00013 process.load("CaloOnlineTools.EcalTools.ecalURecHitHists_cfi")
00014 
00015 process.source = cms.Source("PoolSource",
00016     skipEvents = cms.untracked.uint32(0),
00017     #untracked vstring fileNames = {'file:/data/scooper/data/grea07/40792E58-B757-DC11-8AB2-001617E30F46.root'}
00018     #fileNames = cms.untracked.vstring('file:/data/scooper/data/gren07/P5_Co.00029485.A.0.0.root')
00019     fileNames = cms.untracked.vstring('file:/data/scooper/data/cruzet3/7E738216-584D-DD11-9209-000423D6AF24.root')
00020 )
00021 
00022 process.maxEvents = cms.untracked.PSet(
00023     input = cms.untracked.int32(150)
00024 )
00025 process.src1 = cms.ESSource("EcalTrivialConditionRetriever",
00026     jittWeights = cms.untracked.vdouble(0.04, 0.04, 0.04, 0.0, 1.32, 
00027         -0.05, -0.5, -0.5, -0.4, 0.0),
00028     pedWeights = cms.untracked.vdouble(0.333, 0.333, 0.333, 0.0, 0.0, 
00029         0.0, 0.0, 0.0, 0.0, 0.0),
00030     amplWeights = cms.untracked.vdouble(-0.333, -0.333, -0.333, 0.0, 0.0, 
00031         1.0, 0.0, 0.0, 0.0, 0.0)
00032 )
00033 
00034 process.MessageLogger = cms.Service("MessageLogger",
00035     suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
00036     cout = cms.untracked.PSet(
00037         threshold = cms.untracked.string('INFO')
00038     ),
00039     categories = cms.untracked.vstring('EcalURecHitHists'),
00040     destinations = cms.untracked.vstring('cout')
00041 )
00042 
00043 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.EcalURecHitHists)
00044 process.ecalUncalibHit.EBdigiCollection = cms.InputTag("ecalEBunpacker","ebDigis")
00045 process.ecalUncalibHit.EEdigiCollection = cms.InputTag("ecalEBunpacker","eeDigis")
00046