Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:29:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("GETUNCALRECHIT")
0004 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
0005 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0006 
0007 process.load("Geometry.EcalMapping.EcalMapping_cfi")
0008 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
0009 
0010 import RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi
0011 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
0012 
0013 process.load("CaloOnlineTools.EcalTools.ecalURecHitHists_cfi")
0014 
0015 process.source = cms.Source("PoolSource",
0016     skipEvents = cms.untracked.uint32(0),
0017     #untracked vstring fileNames = {'file:/data/scooper/data/grea07/40792E58-B757-DC11-8AB2-001617E30F46.root'}
0018     #fileNames = cms.untracked.vstring('file:/data/scooper/data/gren07/P5_Co.00029485.A.0.0.root')
0019     fileNames = cms.untracked.vstring('file:/data/scooper/data/cruzet3/7E738216-584D-DD11-9209-000423D6AF24.root')
0020 )
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(150)
0024 )
0025 process.src1 = cms.ESSource("EcalTrivialConditionRetriever",
0026     jittWeights = cms.untracked.vdouble(0.04, 0.04, 0.04, 0.0, 1.32, 
0027         -0.05, -0.5, -0.5, -0.4, 0.0),
0028     pedWeights = cms.untracked.vdouble(0.333, 0.333, 0.333, 0.0, 0.0, 
0029         0.0, 0.0, 0.0, 0.0, 0.0),
0030     amplWeights = cms.untracked.vdouble(-0.333, -0.333, -0.333, 0.0, 0.0, 
0031         1.0, 0.0, 0.0, 0.0, 0.0)
0032 )
0033 
0034 process.MessageLogger = cms.Service("MessageLogger",
0035     cerr = cms.untracked.PSet(
0036         enable = cms.untracked.bool(False)
0037     ),
0038     cout = cms.untracked.PSet(
0039         enable = cms.untracked.bool(True),
0040         threshold = cms.untracked.string('INFO')
0041     ),
0042     suppressInfo = cms.untracked.vstring('ecalEBunpacker')
0043 )
0044 
0045 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.ecalURecHitHists)
0046 process.ecalUncalibHit.EBdigiCollection = cms.InputTag("ecalEBunpacker","ebDigis")
0047 process.ecalUncalibHit.EEdigiCollection = cms.InputTag("ecalEBunpacker","eeDigis")
0048