Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("uncalibRecHitsProd")
0004 process.load("EventFilter.EcalTBRawToDigi.ecalTBunpack_cfi")
0005 
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         enable = cms.untracked.bool(False)
0009     ),
0010     cout = cms.untracked.PSet(
0011         default = cms.untracked.PSet(
0012             limit = cms.untracked.int32(100000)
0013         ),
0014         enable = cms.untracked.bool(True),
0015         noLineBreaks = cms.untracked.bool(True),
0016         noTimeStamps = cms.untracked.bool(True),
0017         threshold = cms.untracked.string('INFO')
0018     ),
0019     debugModules = cms.untracked.vstring('ecalTBunpack')
0020 )
0021 
0022 process.source = cms.Source("PoolSource",
0023     maxEvents = cms.untracked.int32(-1),
0024     fileNames = cms.untracked.vstring('file:/u1/meridian/data/h4/2006/h4b.00011420.A.0.0.root'),
0025     isBinary = cms.untracked.bool(True)
0026 )
0027 
0028 process.EcalTrivialConditionRetriever = cms.ESSource("EcalTrivialConditionRetriever",
0029     weightsForTB = cms.untracked.bool(False),
0030     producedEcalPedestals = cms.untracked.bool(True),
0031     getWeightsFromFile = cms.untracked.bool(False),
0032     producedEcalWeights = cms.untracked.bool(True),
0033     producedEcalIntercalibConstants = cms.untracked.bool(True),
0034     producedEcalGainRatios = cms.untracked.bool(True),
0035     producedEcalADCToGeVConstant = cms.untracked.bool(True)
0036 )
0037 
0038 process.ecalWeightUncalibRecHit = cms.EDProducer("EcalWeightUncalibRecHitProducer",
0039     EBdigiCollection = cms.string(''),
0040     EEhitCollection = cms.string(''),
0041     EEdigiCollection = cms.string(''),
0042     digiProducer = cms.string('ecalTBunpack'),
0043     EBhitCollection = cms.string('EcalUncalibRecHitsEB')
0044 )
0045 
0046 process.out = cms.OutputModule("PoolOutputModule",
0047     fileName = cms.untracked.string('hits.root')
0048 )
0049 
0050 process.p = cms.Path(process.ecalTBunpack*process.ecalWeightUncalibRecHit)
0051 process.ep = cms.EndPath(process.out)
0052