1 import FWCore.ParameterSet.Config
as cms
22 producer.HcalPhase = cms.int32(0)
23 producer.HcalCollapsed = cms.bool(
True)
24 producer.HESThreshold1 = cms.double(0.8)
25 producer.HESThreshold = cms.double(0.8)
26 producer.HEDThreshold1 = cms.double(0.8)
27 producer.HEDThreshold = cms.double(0.8)
33 if producer.seedFinder.thresholdsByDetector[0].detector.value()==
'HCAL_BARREL1':
34 producer.seedFinder.thresholdsByDetector[0].depths = cms.vint32(1, 2, 3, 4)
35 producer.seedFinder.thresholdsByDetector[0].seedingThreshold = cms.vdouble(1.0, 1.0, 1.0, 1.0)
36 producer.seedFinder.thresholdsByDetector[0].seedingThresholdPt = cms.vdouble(0.0, 0.0, 0.0, 0.0)
38 if producer.seedFinder.thresholdsByDetector[1].detector.value()==
'HCAL_ENDCAP':
39 producer.seedFinder.thresholdsByDetector[1].depths = cms.vint32(1, 2, 3, 4, 5, 6, 7)
40 producer.seedFinder.thresholdsByDetector[1].seedingThreshold = cms.vdouble(1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1)
41 producer.seedFinder.thresholdsByDetector[1].seedingThresholdPt = cms.vdouble(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
45 if producer.initialClusteringStep.thresholdsByDetector[0].detector.value()==
'HCAL_BARREL1':
46 producer.initialClusteringStep.thresholdsByDetector[0].depths = cms.vint32(1, 2, 3, 4)
47 producer.initialClusteringStep.thresholdsByDetector[0].gatheringThreshold = cms.vdouble(0.8, 0.8, 0.8, 0.8)
48 producer.initialClusteringStep.thresholdsByDetector[0].gatheringThresholdPt = cms.vdouble(0.0, 0.0, 0.0, 0.0)
50 if producer.initialClusteringStep.thresholdsByDetector[1].detector.value()==
'HCAL_ENDCAP':
51 producer.initialClusteringStep.thresholdsByDetector[1].depths = cms.vint32(1, 2, 3, 4, 5, 6, 7)
52 producer.initialClusteringStep.thresholdsByDetector[1].gatheringThreshold = cms.vdouble(0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8)
53 producer.initialClusteringStep.thresholdsByDetector[1].gatheringThresholdPt = cms.vdouble(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
57 if producer.pfClusterBuilder.recHitEnergyNorms[0].detector.value()==
'HCAL_BARREL1':
58 producer.pfClusterBuilder.recHitEnergyNorms[0].depths = cms.vint32(1, 2, 3, 4)
59 producer.pfClusterBuilder.recHitEnergyNorms[0].recHitEnergyNorm = cms.vdouble(0.8, 0.8, 0.8, 0.8)
61 if producer.pfClusterBuilder.recHitEnergyNorms[1].detector.value()==
'HCAL_ENDCAP':
62 producer.pfClusterBuilder.recHitEnergyNorms[1].depths = cms.vint32(1, 2, 3, 4, 5, 6, 7)
63 producer.pfClusterBuilder.recHitEnergyNorms[1].recHitEnergyNorm = cms.vdouble(0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8)
68 if producer.producers[0].name.value()==
'PFHBHERecHitCreator':
69 producer.producers[0].qualityTests[0].cuts = cms.VPSet(
73 producer.producers[0].qualityTests[0].cuts[0].depth = cms.vint32(1, 2, 3, 4)
74 producer.producers[0].qualityTests[0].cuts[0].threshold = cms.vdouble(0.8, 0.8, 0.8, 0.8)
75 producer.producers[0].qualityTests[0].cuts[0].detectorEnum = cms.int32(1)
77 producer.producers[0].qualityTests[0].cuts[1].depth = cms.vint32(1, 2, 3, 4, 5, 6, 7)
78 producer.producers[0].qualityTests[0].cuts[1].threshold = cms.vdouble(0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8)
79 producer.producers[0].qualityTests[0].cuts[1].detectorEnum = cms.int32(2)
82 if producer.producers[0].name.value()==
'PFHFRecHitCreator':
83 producer.producers[0].qualityTests[1].cuts = cms.VPSet(
86 producer.producers[0].qualityTests[1].cuts[0].depth = cms.vint32(1,2)
87 producer.producers[0].qualityTests[1].cuts[0].threshold = cms.vdouble(1.2,1.8)
88 producer.producers[0].qualityTests[1].cuts[0].detectorEnum = cms.int32(4)
95 producer.algorithm.useMahi = cms.bool(
True)
96 producer.algorithm.useM2 = cms.bool(
False)
97 producer.algorithm.useM3 = cms.bool(
False)
102 if (producer.algorithm.useM2 == cms.bool(
True)):
103 producer.algorithm.useMahi = cms.bool(
True)
104 producer.algorithm.useM2 = cms.bool(
False)
105 producer.algorithm.useM3 = cms.bool(
False)
110 process.load(
'CalibCalorimetry.HcalPlugins.HcalTimeSlew_cff')
def customizeHLTforCMSSW(process, menuType="GRun")
def customiseFor21733(process)
def customiseFor21845(process)
def customiseFor21664_forMahiOn(process)
def producers_by_type(process, types)
def customiseFor21810(process)
def customiseFor21664_forMahiOnM2only(process)