CMS 3D CMS Logo

ecalMultiFitUncalibRecHit_cfi.py
Go to the documentation of this file.
1 import RecoLocalCalo.EcalRecProducers.ecalMultiFitUncalibRecHitProducer_cfi as _mod
2 
3 # producer of rechits starting from digis
4 ecalMultiFitUncalibRecHit = _mod.ecalMultiFitUncalibRecHitProducer.clone()
5 
6 # use CC timing method for Run3 and Phase 2 (carried over from Run3 era)
7 import FWCore.ParameterSet.Config as cms
8 from Configuration.ProcessModifiers.ecal_cctiming_cff import ecal_cctiming
9 ecal_cctiming.toModify(ecalMultiFitUncalibRecHit,
10  algoPSet = dict(timealgo = 'crossCorrelationMethod',
11  EBtimeNconst = 25.5,
12  EBtimeConstantTerm = 0.85,
13  outOfTimeThresholdGain12pEB = 3.0,
14  outOfTimeThresholdGain12mEB = 3.0,
15  outOfTimeThresholdGain61pEB = 3.0,
16  outOfTimeThresholdGain61mEB = 3.0,
17  timeCalibTag = ':CC',
18  timeOffsetTag = ':CC'
19  )
20 )
21 
22 # this overrides the modifications made by the ecal_cctiming modifier if both modifiers are active
23 from Configuration.ProcessModifiers.gpuValidationEcal_cff import gpuValidationEcal
24 gpuValidationEcal.toModify(ecalMultiFitUncalibRecHit,
25  algoPSet = dict(timealgo = 'RatioMethod',
26  outOfTimeThresholdGain12pEB = 5.,
27  outOfTimeThresholdGain12mEB = 5.,
28  outOfTimeThresholdGain61pEB = 5.,
29  outOfTimeThresholdGain61mEB = 5.,
30  timeCalibTag = ':',
31  timeOffsetTag = ':'
32  )
33 )
34