Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-01-13 23:40:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoLocalCalo.EcalRecProducers.ecalPulseShapeParameters_cff import *
0004 
0005 ecalMultiFitUncalibRecHit = cms.EDProducer("EcalUncalibRecHitProducer",
0006     EBdigiCollection = cms.InputTag("ecalDigis","ebDigis"),
0007     EEdigiCollection = cms.InputTag("ecalDigis","eeDigis"),
0008     EBhitCollection = cms.string("EcalUncalibRecHitsEB"),
0009     EEhitCollection = cms.string('EcalUncalibRecHitsEE'),
0010     algo = cms.string("EcalUncalibRecHitWorkerMultiFit"),
0011     algoPSet = cms.PSet(
0012       # for multifit method
0013       activeBXs = cms.vint32(-5,-4,-3,-2,-1,0,1,2,3,4),
0014       ampErrorCalculation = cms.bool(True),
0015       useLumiInfoRunHeader = cms.bool(True),
0016 
0017       doPrefitEB = cms.bool(False),
0018       doPrefitEE = cms.bool(False),
0019       prefitMaxChiSqEB = cms.double(25.),
0020       prefitMaxChiSqEE = cms.double(10.),
0021 
0022       dynamicPedestalsEB = cms.bool(False),
0023       dynamicPedestalsEE = cms.bool(False),
0024       mitigateBadSamplesEB = cms.bool(False),
0025       mitigateBadSamplesEE = cms.bool(False),
0026       gainSwitchUseMaxSampleEB = cms.bool(True),
0027       gainSwitchUseMaxSampleEE = cms.bool(False),      
0028       selectiveBadSampleCriteriaEB = cms.bool(False),
0029       selectiveBadSampleCriteriaEE = cms.bool(False),
0030       simplifiedNoiseModelForGainSwitch = cms.bool(True),
0031       addPedestalUncertaintyEB = cms.double(0.),
0032       addPedestalUncertaintyEE = cms.double(0.),
0033 
0034       # decide which algorithm to be use to calculate the jitter
0035       timealgo = cms.string("RatioMethod"),
0036 
0037       # for ratio method
0038       EBtimeFitParameters = cms.vdouble(-2.015452e+00, 3.130702e+00, -1.234730e+01, 4.188921e+01, -8.283944e+01, 9.101147e+01, -5.035761e+01, 1.105621e+01),
0039       EEtimeFitParameters = cms.vdouble(-2.390548e+00, 3.553628e+00, -1.762341e+01, 6.767538e+01, -1.332130e+02, 1.407432e+02, -7.541106e+01, 1.620277e+01),
0040       EBamplitudeFitParameters = cms.vdouble(1.138,1.652),
0041       EEamplitudeFitParameters = cms.vdouble(1.890,1.400),
0042       EBtimeFitLimits_Lower = cms.double(0.2),
0043       EBtimeFitLimits_Upper = cms.double(1.4),
0044       EEtimeFitLimits_Lower = cms.double(0.2),
0045       EEtimeFitLimits_Upper = cms.double(1.4),
0046       # for time error
0047       EBtimeConstantTerm= cms.double(.6),
0048       EEtimeConstantTerm= cms.double(1.0),
0049  
0050       # for kOutOfTime flag
0051       EBtimeNconst      = cms.double(28.5),
0052       EEtimeNconst      = cms.double(31.8),
0053       outOfTimeThresholdGain12pEB    = cms.double(5),      # times estimated precision
0054       outOfTimeThresholdGain12mEB    = cms.double(5),      # times estimated precision
0055       outOfTimeThresholdGain61pEB    = cms.double(5),      # times estimated precision
0056       outOfTimeThresholdGain61mEB    = cms.double(5),      # times estimated precision
0057       outOfTimeThresholdGain12pEE    = cms.double(1000),   # times estimated precision
0058       outOfTimeThresholdGain12mEE    = cms.double(1000),   # times estimated precision
0059       outOfTimeThresholdGain61pEE    = cms.double(1000),   # times estimated precision
0060       outOfTimeThresholdGain61mEE    = cms.double(1000),   # times estimated precision
0061       amplitudeThresholdEB    = cms.double(10),
0062       amplitudeThresholdEE    = cms.double(10),
0063 
0064       # for crossCorrelationMethod
0065       crossCorrelationStartTime = cms.double(-25),
0066       crossCorrelationStopTime = cms.double(25),
0067       crossCorrelationTargetTimePrecision = cms.double(0.01),
0068       crossCorrelationTargetTimePrecisionForDelayedPulses = cms.double(0.05),
0069       crossCorrelationTimeShiftWrtRations = cms.double(1),
0070       crossCorrelationMinTimeToBeLateMin = cms.double(2),
0071       crossCorrelationMinTimeToBeLateMax = cms.double(5)
0072    )
0073 )