1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ECALPULSESHAPEGRAPHER")
5 process.load(
"FWCore.MessageService.MessageLogger_cfi")
8 process.source = cms.Source(
"PoolSource",
10 fileNames = cms.untracked.vstring(
13 '/store/data/Commissioning08/BeamHalo/RAW/GRtoBeam_v1/000/062/096/56077B20-7B7F-DD11-B9D5-00161757BF42.root' 17 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(15) )
19 process.load(
"CaloOnlineTools.EcalTools.ecalPulseShapeGrapher_cfi")
21 process.load(
"EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
22 process.load(
"EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
23 process.load(
"Geometry.CaloEventSetup.CaloTopology_cfi")
24 process.load(
"Geometry.EcalCommonData.EcalOnly_cfi")
25 process.load(
"Geometry.CaloEventSetup.CaloGeometry_cff")
26 process.load(
"Geometry.EcalMapping.EcalMapping_cfi")
27 process.load(
"Geometry.EcalMapping.EcalMappingRecord_cfi")
28 process.load(
"CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
30 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
33 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
34 process.load(
"RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
35 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
37 process.load(
"Configuration.StandardSequences.MagneticField_cff")
38 process.load(
"Configuration.GlobalRuns.ForceZeroTeslaField_cff")
39 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
41 process.MessageLogger = cms.Service(
"MessageLogger",
43 cout = cms.untracked.PSet(
44 threshold = cms.untracked.string(
'WARNING')
46 categories = cms.untracked.vstring(
'EcalPulseShapeGrapher'),
47 destinations = cms.untracked.vstring(
'cout')
55 process.p = cms.Path(process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.ecalPulseShapeGrapher)
57 process.GlobalTag.globaltag =
'CRUZET4_V5P::All' 58 process.ecalUncalibHit.EBdigiCollection =
'ecalEBunpacker:ebDigis' 59 process.ecalUncalibHit.EEdigiCollection =
'ecalEBunpacker:eeDigis' 60 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
61 process.ecalRecHit.EBuncalibRecHitCollection =
'ecalUncalibHit:EcalUncalibRecHitsEB' 62 process.ecalRecHit.EEuncalibRecHitCollection =
'ecalUncalibHit:EcalUncalibRecHitsEE' 63 process.EcalTrivialConditionRetriever.producedEcalWeights =
False 64 process.EcalTrivialConditionRetriever.producedEcalPedestals =
False 65 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants =
False 66 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors =
False 67 process.EcalTrivialConditionRetriever.producedEcalGainRatios =
False 68 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant =
False 69 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection =
False 70 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(
False)