Skip to content

Instantly share code, notes, and snippets.

@mcitron
Created September 16, 2021 17:48
Show Gist options
  • Save mcitron/37307bb5bac2f24685c00c76f23e6c9b to your computer and use it in GitHub Desktop.
Save mcitron/37307bb5bac2f24685c00c76f23e6c9b to your computer and use it in GitHub Desktop.
uncal
process.hltEcalUncalibRecHit = cms.EDProducer( "EcalUncalibRecHitProducer",
EEdigiCollection = cms.InputTag( 'hltEcalDigis','eeDigis' ),
EBdigiCollection = cms.InputTag( 'hltEcalDigis','ebDigis' ),
EEhitCollection = cms.string( "EcalUncalibRecHitsEE" ),
EBhitCollection = cms.string( "EcalUncalibRecHitsEB" ),
algo = cms.string( "EcalUncalibRecHitWorkerMultiFit" ),
algoPSet = cms.PSet(
ebSpikeThreshold = cms.double( 1.042 ),
EBtimeFitLimits_Upper = cms.double( 1.4 ),
EEtimeFitLimits_Lower = cms.double( 0.2 ),
timealgo = cms.string( "None" ),
EBtimeNconst = cms.double( 28.5 ),
prefitMaxChiSqEE = cms.double( 10.0 ),
outOfTimeThresholdGain12mEB = cms.double( 100000.0 )
outOfTimeThresholdGain12mEE = cms.double( 100000.0 )
EEtimeFitParameters = cms.vdouble( -2.390548, 3.553628, -17.62341, 67.67538, -133.213, 140.7432, -75.41106, 16.20277 ),
prefitMaxChiSqEB = cms.double( 25.0 ),
simplifiedNoiseModelForGainSwitch = cms.bool( True ),
EBtimeFitParameters = cms.vdouble( -2.015452, 3.130702, -12.3473, 41.88921, -82.83944, 91.01147, -50.35761, 11.05621 ),
selectiveBadSampleCriteriaEB = cms.bool( False ),
dynamicPedestalsEB = cms.bool( False ),
useLumiInfoRunHeader = cms.bool( False ),
EBamplitudeFitParameters = cms.vdouble( 1.138, 1.652 ),
doPrefitEE = cms.bool( False ),
dynamicPedestalsEE = cms.bool( False ),
selectiveBadSampleCriteriaEE = cms.bool( False ),
outOfTimeThresholdGain61pEE = cms.double( 100000.0 )
outOfTimeThresholdGain61pEB = cms.double( 100000.0 )
activeBXs = cms.vint32( -5, -4, -3, -2, -1, 0, 1, 2, 3, 4 ),
EcalPulseShapeParameters = cms.PSet(
EEPulseShapeTemplate = cms.vdouble( 0.116442, 0.756246, 1.0, 0.897182, 0.686831, 0.491506, 0.344111, 0.245731, 0.174115, 0.123361, 0.0874288, 0.061957 ),
EEdigiCollection = cms.string( "" ),
EcalPreMixStage2 = cms.bool( False ),
EcalPreMixStage1 = cms.bool( False ),
EBPulseShapeCovariance = cms.vdouble( 3.001E-6, 1.233E-5, 0.0, -4.416E-6, -4.571E-6, -3.614E-6, -2.636E-6, -1.286E-6, -8.41E-7, -5.296E-7, 0.0, 0.0, 1.233E-5, 6.154E-5, 0.0, -2.2E-5, -2.309E-5, -1.838E-5, -1.373E-5, -7.334E-6, -5.088E-6, -3.745E-6, -2.428E-6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -4.416E-6, -2.2E-5, 0.0, 8.319E-6, 8.545E-6, 6.792E-6, 5.059E-6, 2.678E-6, 1.816E-6, 1.223E-6, 8.245E-7, 5.589E-7, -4.571E-6, -2.309E-5, 0.0, 8.545E-6, 9.182E-6, 7.219E-6, 5.388E-6, 2.853E-6, 1.944E-6, 1.324E-6, 9.083E-7, 6.335E-7, -3.614E-6, -1.838E-5, 0.0, 6.792E-6, 7.219E-6, 6.016E-6, 4.437E-6, 2.385E-6, 1.636E-6, 1.118E-6, 7.754E-7, 5.556E-7, -2.636E-6, -1.373E-5, 0.0, 5.059E-6, 5.388E-6, 4.437E-6, 3.602E-6, 1.917E-6, 1.322E-6, 9.079E-7, 6.529E-7, 4.752E-7, -1.286E-6, -7.334E-6, 0.0, 2.678E-6, 2.853E-6, 2.385E-6, 1.917E-6, 1.375E-6, 9.1E-7, 6.455E-7, 4.693E-7, 3.657E-7, -8.41E-7, -5.088E-6, 0.0, 1.816E-6, 1.944E-6, 1.636E-6, 1.322E-6, 9.1E-7, 9.115E-7, 6.062E-7, 4.436E-7, 3.422E-7, -5.296E-7, -3.745E-6, 0.0, 1.223E-6, 1.324E-6, 1.118E-6, 9.079E-7, 6.455E-7, 6.062E-7, 7.217E-7, 4.862E-7, 3.768E-7, 0.0, -2.428E-6, 0.0, 8.245E-7, 9.083E-7, 7.754E-7, 6.529E-7, 4.693E-7, 4.436E-7, 4.862E-7, 6.509E-7, 4.418E-7, 0.0, 0.0, 0.0, 5.589E-7, 6.335E-7, 5.556E-7, 4.752E-7, 3.657E-7, 3.422E-7, 3.768E-7, 4.418E-7, 6.142E-7 ),
ESdigiCollection = cms.string( "" ),
EBdigiCollection = cms.string( "" ),
EBCorrNoiseMatrixG01 = cms.vdouble( 1.0, 0.73354, 0.64442, 0.58851, 0.55425, 0.53082, 0.51916, 0.51097, 0.50732, 0.50409 ),
EBCorrNoiseMatrixG12 = cms.vdouble( 1.0, 0.71073, 0.55721, 0.46089, 0.40449, 0.35931, 0.33924, 0.32439, 0.31581, 0.30481 ),
EBCorrNoiseMatrixG06 = cms.vdouble( 1.0, 0.70946, 0.58021, 0.49846, 0.45006, 0.41366, 0.39699, 0.38478, 0.37847, 0.37055 ),
EEPulseShapeCovariance = cms.vdouble( 3.941E-5, 3.333E-5, 0.0, -1.449E-5, -1.661E-5, -1.424E-5, -1.183E-5, -6.842E-6, -4.915E-6, -3.411E-6, 0.0, 0.0, 3.333E-5, 2.862E-5, 0.0, -1.244E-5, -1.431E-5, -1.233E-5, -1.032E-5, -5.883E-6, -4.154E-6, -2.902E-6, -2.128E-6, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.449E-5, -1.244E-5, 0.0, 5.84E-6, 6.649E-6, 5.72E-6, 4.812E-6, 2.708E-6, 1.869E-6, 1.33E-6, 9.186E-7, 6.446E-7, -1.661E-5, -1.431E-5, 0.0, 6.649E-6, 7.966E-6, 6.898E-6, 5.794E-6, 3.157E-6, 2.184E-6, 1.567E-6, 1.084E-6, 7.575E-7, -1.424E-5, -1.233E-5, 0.0, 5.72E-6, 6.898E-6, 6.341E-6, 5.347E-6, 2.859E-6, 1.991E-6, 1.431E-6, 9.839E-7, 6.886E-7, -1.183E-5, -1.032E-5, 0.0, 4.812E-6, 5.794E-6, 5.347E-6, 4.854E-6, 2.628E-6, 1.809E-6, 1.289E-6, 9.02E-7, 6.146E-7, -6.842E-6, -5.883E-6, 0.0, 2.708E-6, 3.157E-6, 2.859E-6, 2.628E-6, 1.863E-6, 1.296E-6, 8.882E-7, 6.108E-7, 4.283E-7, -4.915E-6, -4.154E-6, 0.0, 1.869E-6, 2.184E-6, 1.991E-6, 1.809E-6, 1.296E-6, 1.217E-6, 8.669E-7, 5.751E-7, 3.882E-7, -3.411E-6, -2.902E-6, 0.0, 1.33E-6, 1.567E-6, 1.431E-6, 1.289E-6, 8.882E-7, 8.669E-7, 9.522E-7, 6.717E-7, 4.293E-7, 0.0, -2.128E-6, 0.0, 9.186E-7, 1.084E-6, 9.839E-7, 9.02E-7, 6.108E-7, 5.751E-7, 6.717E-7, 7.911E-7, 5.493E-7, 0.0, 0.0, 0.0, 6.446E-7, 7.575E-7, 6.886E-7, 6.146E-7, 4.283E-7, 3.882E-7, 4.293E-7, 5.493E-7, 7.027E-7 ),
EBPulseShapeTemplate = cms.vdouble( 0.0113979, 0.758151, 1.0, 0.887744, 0.673548, 0.474332, 0.319561, 0.215144, 0.147464, 0.101087, 0.0693181, 0.0475044 ),
EECorrNoiseMatrixG01 = cms.vdouble( 1.0, 0.72698, 0.62048, 0.55691, 0.51848, 0.49147, 0.47813, 0.47007, 0.46621, 0.46265 ),
EECorrNoiseMatrixG12 = cms.vdouble( 1.0, 0.71373, 0.44825, 0.30152, 0.21609, 0.14786, 0.11772, 0.10165, 0.09465, 0.08098 ),
UseLCcorrection = cms.untracked.bool( True ),
EECorrNoiseMatrixG06 = cms.vdouble( 1.0, 0.71217, 0.47464, 0.34056, 0.26282, 0.20287, 0.17734, 0.16256, 0.15618, 0.14443 )
),
doPrefitEB = cms.bool( False ),
addPedestalUncertaintyEE = cms.double( 0.0 ),
addPedestalUncertaintyEB = cms.double( 0.0 ),
gainSwitchUseMaxSampleEB = cms.bool( True ),
EEtimeNconst = cms.double( 31.8 ),
EEamplitudeFitParameters = cms.vdouble( 1.89, 1.4 ),
chi2ThreshEE_ = cms.double( 50.0 ),
eePulseShape = cms.vdouble( 5.2E-5, -5.26E-5, 6.66E-5, 0.1168, 0.7575, 1.0, 0.8876, 0.6732, 0.4741, 0.3194 ),
outOfTimeThresholdGain12pEB = cms.double( 100000.0 )
gainSwitchUseMaxSampleEE = cms.bool( False ),
mitigateBadSamplesEB = cms.bool( False ),
outOfTimeThresholdGain12pEE = cms.double( 100000.0 )
ebPulseShape = cms.vdouble( 5.2E-5, -5.26E-5, 6.66E-5, 0.1168, 0.7575, 1.0, 0.8876, 0.6732, 0.4741, 0.3194 ),
ampErrorCalculation = cms.bool( False ),
mitigateBadSamplesEE = cms.bool( False ),
amplitudeThresholdEB = cms.double( 10.0 ),
kPoorRecoFlagEB = cms.bool( True ),
amplitudeThresholdEE = cms.double( 10.0 ),
EBtimeFitLimits_Lower = cms.double( 0.2 ),
kPoorRecoFlagEE = cms.bool( False ),
EEtimeFitLimits_Upper = cms.double( 1.4 ),
outOfTimeThresholdGain61mEE = cms.double( 100000.0 )
EEtimeConstantTerm = cms.double( 1.0 ),
EBtimeConstantTerm = cms.double( 0.6 ),
chi2ThreshEB_ = cms.double( 65.0 ),
outOfTimeThresholdGain61mEB = cms.double( 100000.0 )
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment