1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"COSMICSANALYSIS")
4 process.load(
"Geometry.CaloEventSetup.CaloTopology_cfi")
6 process.load(
"Geometry.CaloEventSetup.CaloGeometry_cff")
9 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_noesprefer_cff")
10 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
11 process.GlobalTag.globaltag =
'CRUZET4_V5P::All'
13 process.EcalTrivialConditionRetriever.producedEcalWeights =
False
14 process.EcalTrivialConditionRetriever.producedEcalPedestals =
False
15 process.EcalTrivialConditionRetriever.producedEcalIntercalibConstants =
False
16 process.EcalTrivialConditionRetriever.producedEcalIntercalibErrors =
False
17 process.EcalTrivialConditionRetriever.producedEcalGainRatios =
False
18 process.EcalTrivialConditionRetriever.producedEcalADCToGeVConstant =
False
22 process.EcalTrivialConditionRetriever.producedEcalLaserCorrection =
False
24 process.EcalTrivialConditionRetriever.producedEcalChannelStatus = cms.untracked.bool(
False)
28 process.load(
"CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi")
31 process.siStripPedestalFrontier = CalibTracker.Configuration.Common.PoolDBESSource_cfi.poolDBESSource.clone()
32 process.siStripPedestalFrontier.connect =
'frontier://PromptProd/CMS_COND_21X_STRIP'
33 process.siStripPedestalFrontier.toGet = cms.VPSet(cms.PSet(
34 record = cms.string(
'SiStripPedestalsRcd'),
35 tag = cms.string(
'SiStripPedestals_TKCC_21X_v3_hlt')
37 process.siStripPedestalFrontier.BlobStreamerName =
'TBufferBlobStreamingService'
38 process.es_prefer_SiStripFake = cms.ESPrefer(
"PoolDBESSource",
"siStripPedestalFrontier")
40 process.load(
"EventFilter.EcalRawToDigi.EcalUnpackerMapping_cfi")
41 process.load(
"EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
44 process.ecalUncalibHit = RecoLocalCalo.EcalRecProducers.ecalFixedAlphaBetaFitUncalibRecHit_cfi.ecalFixedAlphaBetaFitUncalibRecHit.clone()
45 process.load(
"RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi")
47 process.load(
"RecoEcal.EgammaClusterProducers.geometryForClustering_cff")
48 process.load(
"RecoEcal.EgammaClusterProducers.cosmicClusteringSequence_cff")
50 process.load(
"L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
51 process.load(
"L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
52 process.load(
"L1TriggerConfig.L1GtConfigProducers.L1GtBoardMapsConfig_cff")
53 process.load(
"L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
54 process.load(
"L1TriggerConfig.L1GtConfigProducers.Luminosity.startup.L1Menu_startup_v3_Unprescaled_cff")
56 process.dumpEv = FWCore.Modules.printContent_cfi.printContent.clone()
59 process.gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
60 process.load(
"CaloOnlineTools.EcalTools.ecalCosmicsHists_cfi")
62 process.load(
"Configuration.StandardSequences.MagneticField_cff")
64 process.load(
"Geometry.EcalMapping.EcalMapping_cfi")
65 process.load(
"Geometry.EcalMapping.EcalMappingRecord_cfi")
66 process.load(
"Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
67 process.load(
"Geometry.CaloEventSetup.CaloGeometry_cfi")
68 process.load(
"Geometry.CommonTopologies.globalTrackingGeometry_cfi")
69 process.load(
"Geometry.MuonNumbering.muonNumberingInitialization_cfi")
71 process.load(
"TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff")
72 process.load(
"TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi")
73 process.load(
"TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi")
74 process.load(
"TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi")
75 process.load(
"Configuration.GlobalRuns.ForceZeroTeslaField_cff")
77 process.load(
"EventFilter.HcalRawToDigi.HcalRawToDigi_cfi")
78 process.load(
"RecoLocalCalo.Configuration.hcalLocalReco_cff")
80 process.load(
"HLTrigger.special.TriggerTypeFilter_cfi")
82 process.source = cms.Source(
"PoolSource",
83 skipEvents = cms.untracked.uint32(0),
84 fileNames = (cms.untracked.vstring(
85 '/store/data/Commissioning08/BeamHalo/RAW/StuffAlmostToP5_v1/000/061/642/94D3CADF-A47D-DD11-BF3E-000423D94E1C.root'
89 process.maxEvents = cms.untracked.PSet(
90 input = cms.untracked.int32(-1)
93 process.MessageLogger = cms.Service(
"MessageLogger",
94 suppressWarning = cms.untracked.vstring(
'ecalEBunpacker',
'ecalUncalibHit',
'ecalRecHit',
95 'hcalDigis',
'hcalLocalRecoSequence',
'ecalCosmicsHists'),
96 suppressInfo = cms.untracked.vstring(
'ecalEBunpacker',
'ecalUncalibHit',
97 'ecalRecHit',
'hcalDigis',
'hcalLocalRecoSequence'),
98 cout = cms.untracked.PSet(
99 threshold = cms.untracked.string(
'ERROR')
101 categories = cms.untracked.vstring(
'EcalCosmicsHists',
'CosmicClusterAlgo',
'CosmicClusterProducer'),
102 destinations = cms.untracked.vstring(
'cout')
105 process.p = cms.Path(process.triggerTypeFilter*process.ecalEBunpacker*process.ecalUncalibHit*process.ecalRecHit*process.cosmicClusteringSequence*process.gtDigis*process.ecalCosmicsHists)
107 process.ecalUncalibHit.EBdigiCollection =
'ecalEBunpacker:ebDigis'
108 process.ecalUncalibHit.EEdigiCollection =
'ecalEBunpacker:eeDigis'
109 process.ecalRecHit.ChannelStatusToBeExcluded = [1]
110 process.ecalRecHit.EBuncalibRecHitCollection =
'ecalUncalibHit:EcalUncalibRecHitsEB'
111 process.ecalRecHit.EEuncalibRecHitCollection =
'ecalUncalibHit:EcalUncalibRecHitsEE'
112 process.cosmicBasicClusters.barrelUnHitProducer =
"ecalUncalibHit"
113 process.cosmicBasicClusters.endcapUnHitProducer =
"ecalUncalibHit"
115 process.gtDigis.DaqGtInputTag =
'source'
117 process.ecalCosmicsHists.fileName =
'EcalCosmicsHists'
118 process.ecalCosmicsHists.runInFileName =
True
121 process.ecalCosmicsHists.MinTimingAmpEB = 0.35
122 process.ecalCosmicsHists.MinRecHitAmpEB = 0.070
123 process.ecalCosmicsHists.MinTimingAmpEE = 0.9
124 process.ecalCosmicsHists.MinRecHitAmpEE = 0.180
126 process.hbhereco = process.hbheprereco.clone()
127 process.hbhereco.firstSample = 1
128 process.hbhereco.samplesToAdd = 8
129 process.hbhereco.correctForTimeslew =
True
130 process.hbhereco.correctForPhaseContainment =
True
131 process.hbhereco.correctionPhaseNS = 10.0
132 process.horeco.firstSample = 1
133 process.horeco.samplesToAdd = 8
134 process.horeco.correctForTimeslew =
True
135 process.horeco.correctForPhaseContainment =
True
136 process.horeco.correctionPhaseNS = 10.
137 process.hfreco.firstSample = 1
138 process.hfreco.samplesToAdd = 8
139 process.hfreco.correctForTimeslew =
True
140 process.hfreco.correctForPhaseContainment =
True
141 process.hfreco.correctionPhaseNS = 10.
143 process.triggerTypeFilter.SelectedTriggerType = 1