CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ecalURecHitHists_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("GETUNCALRECHIT")
4 process.load("EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
5 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
6 
7 process.load("Geometry.EcalMapping.EcalMapping_cfi")
8 process.load("Geometry.EcalMapping.EcalMappingRecord_cfi")
9 
11 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
12 
13 process.load("CaloOnlineTools.EcalTools.ecalURecHitHists_cfi")
14 
15 process.source = cms.Source("PoolSource",
16  skipEvents = cms.untracked.uint32(0),
17  #untracked vstring fileNames = {'file:/data/scooper/data/grea07/40792E58-B757-DC11-8AB2-001617E30F46.root'}
18  #fileNames = cms.untracked.vstring('file:/data/scooper/data/gren07/P5_Co.00029485.A.0.0.root')
19  fileNames = cms.untracked.vstring('file:/data/scooper/data/cruzet3/7E738216-584D-DD11-9209-000423D6AF24.root')
20 )
21 
22 process.maxEvents = cms.untracked.PSet(
23  input = cms.untracked.int32(150)
24 )
25 process.src1 = cms.ESSource("EcalTrivialConditionRetriever",
26  jittWeights = cms.untracked.vdouble(0.04, 0.04, 0.04, 0.0, 1.32,
27  -0.05, -0.5, -0.5, -0.4, 0.0),
28  pedWeights = cms.untracked.vdouble(0.333, 0.333, 0.333, 0.0, 0.0,
29  0.0, 0.0, 0.0, 0.0, 0.0),
30  amplWeights = cms.untracked.vdouble(-0.333, -0.333, -0.333, 0.0, 0.0,
31  1.0, 0.0, 0.0, 0.0, 0.0)
32 )
33 
34 process.MessageLogger = cms.Service("MessageLogger",
35  suppressInfo = cms.untracked.vstring('ecalEBunpacker'),
36  cout = cms.untracked.PSet(
37  threshold = cms.untracked.string('INFO')
38  ),
39  categories = cms.untracked.vstring('EcalURecHitHists'),
40  destinations = cms.untracked.vstring('cout')
41 )
42 
43 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.ecalURecHitHists)
44 process.ecalUncalibHit.EBdigiCollection = cms.InputTag("ecalEBunpacker","ebDigis")
45 process.ecalUncalibHit.EEdigiCollection = cms.InputTag("ecalEBunpacker","eeDigis")
46