CMS 3D CMS Logo

HBHEMethod2Parameters_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Configuration parameters for Method 2
4 m2Parameters = cms.PSet(
5 
6  applyPedConstraint = cms.bool(True),
7  applyTimeConstraint = cms.bool(True),
8  applyPulseJitter = cms.bool(False),
9  applyTimeSlew = cms.bool(True), #units
10  ts4Min = cms.double(0.), #fC
11  ts4Max = cms.vdouble(100.,45000.), #fC # this is roughly 20 GeV
12  pulseJitter = cms.double(1.), #GeV/bin
13  ###
14  meanTime = cms.double(0.), #ns
15  timeSigmaHPD = cms.double(5.), #ns
16  timeSigmaSiPM = cms.double(2.5), #ns
17  meanPed = cms.double(0.), #GeV
18  pedSigmaHPD = cms.double(0.5), #GeV
19  pedSigmaSiPM = cms.double(0.00065), #GeV # this correspond roughtly to 1.5 fC for a gain of 2276
20  noiseHPD = cms.double(1), #fC
21  noiseSiPM = cms.double(1), #fC
22  ###
23  timeMin = cms.double(-12.5),#ns
24  timeMax = cms.double(12.5), #ns
25  ts4chi2 = cms.vdouble(15.,15.), #chi2 for triple pulse
26  fitTimes = cms.int32(1), # -1 means no constraint on number of fits per channel
27  applyDCConstraint = cms.bool(False),
28 )
29 
30 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
31 phase2_hcal.toModify(m2Parameters, applyDCConstraint = True)