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.
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  doPrefitEB = cms.bool(False),
19  doPrefitEE = cms.bool(False),
20  prefitMaxChiSqEB = cms.double(25.),
21  prefitMaxChiSqEE = cms.double(10.),
22 
23  # decide which algorithm to be use to calculate the jitter
24  timealgo = cms.string("RatioMethod"),
25 
26  # for ratio method
27  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),
28  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),
29  EBamplitudeFitParameters = cms.vdouble(1.138,1.652),
30  EEamplitudeFitParameters = cms.vdouble(1.890,1.400),
31  EBtimeFitLimits_Lower = cms.double(0.2),
32  EBtimeFitLimits_Upper = cms.double(1.4),
33  EEtimeFitLimits_Lower = cms.double(0.2),
34  EEtimeFitLimits_Upper = cms.double(1.4),
35  # for time error
36  EBtimeConstantTerm= cms.double(.6),
37  EEtimeConstantTerm= cms.double(1.0),
38 
39  # for kOutOfTime flag
40  EBtimeNconst = cms.double(28.5),
41  EEtimeNconst = cms.double(31.8),
42  outOfTimeThresholdGain12pEB = cms.double(5), # times estimated precision
43  outOfTimeThresholdGain12mEB = cms.double(5), # times estimated precision
44  outOfTimeThresholdGain61pEB = cms.double(5), # times estimated precision
45  outOfTimeThresholdGain61mEB = cms.double(5), # times estimated precision
46  outOfTimeThresholdGain12pEE = cms.double(1000), # times estimated precision
47  outOfTimeThresholdGain12mEE = cms.double(1000), # times estimated precision
48  outOfTimeThresholdGain61pEE = cms.double(1000), # times estimated precision
49  outOfTimeThresholdGain61mEE = cms.double(1000), # times estimated precision
50  amplitudeThresholdEB = cms.double(10),
51  amplitudeThresholdEE = cms.double(10),
52 
53  ebSpikeThreshold = cms.double(1.042),
54 
55  # these are now taken from DB. Here the MC parameters for backward compatibility
56  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 ),
57  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 ),
58 
59  # for kPoorReco flag
60  kPoorRecoFlagEB = cms.bool(True),
61  kPoorRecoFlagEE = cms.bool(False),
62  chi2ThreshEB_ = cms.double(65.0),
63  chi2ThreshEE_ = cms.double(50.0),
64  )
65 )