Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from .EcalUncalibRecHitProducer import EcalUncalibRecHitProducer
0004 
0005 ecalMultiFitUncalibRecHitProducer = EcalUncalibRecHitProducer(
0006   EBdigiCollection = ('ecalDigis', 'ebDigis'),
0007   EEhitCollection = 'EcalUncalibRecHitsEE',
0008   EEdigiCollection = ('ecalDigis', 'eeDigis'),
0009   EBhitCollection = 'EcalUncalibRecHitsEB',
0010   algo = 'EcalUncalibRecHitWorkerMultiFit',
0011   algoPSet = cms.PSet(
0012     activeBXs = cms.vint32(
0013       -5,
0014       -4,
0015       -3,
0016       -2,
0017       -1,
0018       0,
0019       1,
0020       2,
0021       3,
0022       4
0023     ),
0024     ampErrorCalculation = cms.bool(True),
0025     useLumiInfoRunHeader = cms.bool(True),
0026     bunchSpacing = cms.int32(0),
0027     doPrefitEB = cms.bool(False),
0028     doPrefitEE = cms.bool(False),
0029     prefitMaxChiSqEB = cms.double(25),
0030     prefitMaxChiSqEE = cms.double(10),
0031     dynamicPedestalsEB = cms.bool(False),
0032     dynamicPedestalsEE = cms.bool(False),
0033     mitigateBadSamplesEB = cms.bool(False),
0034     mitigateBadSamplesEE = cms.bool(False),
0035     gainSwitchUseMaxSampleEB = cms.bool(True),
0036     gainSwitchUseMaxSampleEE = cms.bool(False),
0037     selectiveBadSampleCriteriaEB = cms.bool(False),
0038     selectiveBadSampleCriteriaEE = cms.bool(False),
0039     addPedestalUncertaintyEB = cms.double(0),
0040     addPedestalUncertaintyEE = cms.double(0),
0041     simplifiedNoiseModelForGainSwitch = cms.bool(True),
0042     timealgo = cms.string('RatioMethod'),
0043     EBtimeFitParameters = cms.vdouble(
0044       -2.015452,
0045       3.130702,
0046       -12.3473,
0047       41.88921,
0048       -82.83944,
0049       91.01147,
0050       -50.35761,
0051       11.05621
0052     ),
0053     EEtimeFitParameters = cms.vdouble(
0054       -2.390548,
0055       3.553628,
0056       -17.62341,
0057       67.67538,
0058       -133.213,
0059       140.7432,
0060       -75.41106,
0061       16.20277
0062     ),
0063     EBamplitudeFitParameters = cms.vdouble(
0064       1.138,
0065       1.652
0066     ),
0067     EEamplitudeFitParameters = cms.vdouble(
0068       1.89,
0069       1.4
0070     ),
0071     timeCalibTag = cms.ESInputTag('', ''),
0072     timeOffsetTag = cms.ESInputTag('', ''),
0073     EBtimeFitLimits_Lower = cms.double(0.2),
0074     EBtimeFitLimits_Upper = cms.double(1.4),
0075     EEtimeFitLimits_Lower = cms.double(0.2),
0076     EEtimeFitLimits_Upper = cms.double(1.4),
0077     EBtimeConstantTerm = cms.double(0.6),
0078     EEtimeConstantTerm = cms.double(1),
0079     EBtimeNconst = cms.double(28.5),
0080     EEtimeNconst = cms.double(31.8),
0081     outOfTimeThresholdGain12pEB = cms.double(5),
0082     outOfTimeThresholdGain12mEB = cms.double(5),
0083     outOfTimeThresholdGain61pEB = cms.double(5),
0084     outOfTimeThresholdGain61mEB = cms.double(5),
0085     outOfTimeThresholdGain12pEE = cms.double(1000),
0086     outOfTimeThresholdGain12mEE = cms.double(1000),
0087     outOfTimeThresholdGain61pEE = cms.double(1000),
0088     outOfTimeThresholdGain61mEE = cms.double(1000),
0089     amplitudeThresholdEB = cms.double(10),
0090     amplitudeThresholdEE = cms.double(10),
0091     crossCorrelationUseSlewCorrectionEB = cms.bool(True),
0092     crossCorrelationUseSlewCorrectionEE = cms.bool(False),
0093     crossCorrelationStartTime = cms.double(-25),
0094     crossCorrelationStopTime = cms.double(25),
0095     crossCorrelationTargetTimePrecision = cms.double(0.01),
0096     crossCorrelationTargetTimePrecisionForDelayedPulses = cms.double(0.05),
0097     crossCorrelationTimeShiftWrtRations = cms.double(0),
0098     crossCorrelationMinTimeToBeLateMin = cms.double(2),
0099     crossCorrelationMinTimeToBeLateMax = cms.double(5)
0100   )
0101 )