3 process = cms.Process(
"ECALMIPGRAPHS")
4 process.load(
"EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
6 process.load(
"EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
8 process.load(
"Geometry.CaloEventSetup.CaloTopology_cfi")
10 process.load(
"Geometry.EcalCommonData.EcalOnly_cfi")
12 process.load(
"Geometry.CaloEventSetup.CaloGeometry_cff")
13 process.load(
"Geometry.EcalMapping.EcalMapping_cfi")
14 process.load(
"Geometry.EcalMapping.EcalMappingRecord_cfi")
16 process.load(
"CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
18 import RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi
19 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalMaxSampleUncalibRecHit_cfi.ecalMaxSampleUncalibRecHit.clone()
20 process.load(
"RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
22 process.load(
"CaloOnlineTools.EcalTools.ecalMipGraphs_cfi")
23 process.load(
"HLTrigger.special.TriggerTypeFilter_cfi")
25 process.source = cms.Source(
"PoolSource",
26 skipEvents = cms.untracked.uint32(0),
27 fileNames = cms.untracked.vstring(
29 '/store/data/Commissioning08/Cosmics/RAW/CRUZET4_v1/000/057/771/00D18762-386E-DD11-A081-0016177CA7A0.root')
31 process.maxEvents = cms.untracked.PSet(
32 input = cms.untracked.int32(-1)
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.dumpEv = cms.EDAnalyzer(
"EventContentAnalyzer")
43 process.MessageLogger = cms.Service(
"MessageLogger",
45 cout = cms.untracked.PSet(
46 threshold = cms.untracked.string(
'DEBUG')
48 categories = cms.untracked.vstring(
'EcalMipGraphs'),
49 destinations = cms.untracked.vstring(
'cout')
52 process.TFileService = cms.Service(
"TFileService",
53 fileName = cms.string(
'ecalMipGraphs-57771.graph.root'),
54 closeFileFast = cms.untracked.bool(
True)
57 process.p = cms.Path(process.triggerTypeFilter*process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.ecalMipGraphs)
59 process.GlobalTag.globaltag =
'CRUZET4_V1P::All'
61 process.ecalUncalibHit.EBdigiCollection =
'ecalEBunpacker:ebDigis'
62 process.ecalUncalibHit.EEdigiCollection =
'ecalEBunpacker:eeDigis'
63 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
64 process.ecalRecHit.EBuncalibRecHitCollection =
'ecalUncalibHit:EcalUncalibRecHitsEB'
65 process.ecalRecHit.EEuncalibRecHitCollection =
'ecalUncalibHit:EcalUncalibRecHitsEE'
66 process.EcalTrivialConditionRetriever.producedEcalWeights =
False
67 process.EcalTrivialConditionRetriever.producedEcalPedestals =
False
68 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants =
False
69 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors =
False
70 process.EcalTrivialConditionRetriever.producedEcalGainRatios =
False
71 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant =
False
72 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection =
False
73 process.EcalTrivialConditionRetriever.producedChannelStatus = cms.untracked.bool(
False)
81 process.ecalMipGraphs.amplitudeThreshold = 0.5
82 process.triggerTypeFilter.SelectedTriggerType = 1