CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ecalMultiFitUncalibRecHit_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 ecalMultiFitUncalibRecHit = cms.EDProducer("EcalUncalibRecHitProducer",
6  EBdigiCollection = cms.InputTag("ecalDigis","ebDigis"),
7  EEdigiCollection = cms.InputTag("ecalDigis","eeDigis"),
8  EBhitCollection = cms.string("EcalUncalibRecHitsEB"),
9  EEhitCollection = cms.string('EcalUncalibRecHitsEE'),
10  algo = cms.string("EcalUncalibRecHitWorkerMultiFit"),
11  algoPSet = cms.PSet(
12  # for multifit method
13  EcalPulseShapeParameters = cms.PSet( ecal_pulse_shape_parameters ),
14  activeBXs = cms.vint32(-5,-4,-3,-2,-1,0,1,2,3,4),
15  ampErrorCalculation = cms.bool(True),
16  useLumiInfoRunHeader = cms.bool(True),
17 
18  gainSwitchUseMaxSampleEB = cms.bool(True),
19  gainSwitchUseMaxSampleEE = cms.bool(False),
20  doPrefitEB = cms.bool(False),
21  doPrefitEE = cms.bool(False),
22  prefitMaxChiSqEB = cms.double(25.),
23  prefitMaxChiSqEE = cms.double(10.),
24 
25  # decide which algorithm to be use to calculate the jitter
26  timealgo = cms.string("RatioMethod"),
27 
28  # for ratio method
29  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),
30  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),
31  EBamplitudeFitParameters = cms.vdouble(1.138,1.652),
32  EEamplitudeFitParameters = cms.vdouble(1.890,1.400),
33  EBtimeFitLimits_Lower = cms.double(0.2),
34  EBtimeFitLimits_Upper = cms.double(1.4),
35  EEtimeFitLimits_Lower = cms.double(0.2),
36  EEtimeFitLimits_Upper = cms.double(1.4),
37  # for time error
38  EBtimeConstantTerm= cms.double(.6),
39  EEtimeConstantTerm= cms.double(1.0),
40 
41  # for kOutOfTime flag
42  EBtimeNconst = cms.double(28.5),
43  EEtimeNconst = cms.double(31.8),
44  outOfTimeThresholdGain12pEB = cms.double(5), # times estimated precision
45  outOfTimeThresholdGain12mEB = cms.double(5), # times estimated precision
46  outOfTimeThresholdGain61pEB = cms.double(5), # times estimated precision
47  outOfTimeThresholdGain61mEB = cms.double(5), # times estimated precision
48  outOfTimeThresholdGain12pEE = cms.double(1000), # times estimated precision
49  outOfTimeThresholdGain12mEE = cms.double(1000), # times estimated precision
50  outOfTimeThresholdGain61pEE = cms.double(1000), # times estimated precision
51  outOfTimeThresholdGain61mEE = cms.double(1000), # times estimated precision
52  amplitudeThresholdEB = cms.double(10),
53  amplitudeThresholdEE = cms.double(10),
54 
55  ebSpikeThreshold = cms.double(1.042),
56 
57  # these are now taken from DB. Here the MC parameters for backward compatibility
58  ebPulseShape = cms.vdouble( 5.2e-05,-5.26e-05 , 6.66e-05, 0.1168, 0.7575, 1., 0.8876, 0.6732, 0.4741, 0.3194 ),
59  eePulseShape = cms.vdouble( 5.2e-05,-5.26e-05 , 6.66e-05, 0.1168, 0.7575, 1., 0.8876, 0.6732, 0.4741, 0.3194 ),
60 
61  # for kPoorReco flag
62  kPoorRecoFlagEB = cms.bool(True),
63  kPoorRecoFlagEE = cms.bool(False),
64  chi2ThreshEB_ = cms.double(65.0),
65  chi2ThreshEE_ = cms.double(50.0),
66  )
67 )