1 import FWCore.ParameterSet.Config
as cms
5 adcSaturationBH_MIP = digiparam.hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC
6 adcNbitsBH = digiparam.hgchebackDigitizer.digiCfg.feCfg.adcNbits
9 threshold_conc_proc = cms.PSet(ProcessorName = cms.string(
'HGCalConcentratorProcessorSelection'),
10 Method = cms.string(
'thresholdSelect'),
11 NData = cms.uint32(999),
12 MaxCellsInModule = cms.uint32(288),
13 linLSB = cms.double(100./1024.),
14 adcsaturationBH = adcSaturationBH_MIP,
15 adcnBitsBH = adcNbitsBH,
16 TCThreshold_fC = cms.double(0.),
17 TCThresholdBH_MIP = cms.double(0.),
18 triggercell_threshold_silicon = cms.double(2.),
19 triggercell_threshold_scintillator = cms.double(2.),
23 best_conc_proc = cms.PSet(ProcessorName = cms.string(
'HGCalConcentratorProcessorSelection'),
24 Method = cms.string(
'bestChoiceSelect'),
25 NData = cms.uint32(12),
26 MaxCellsInModule = cms.uint32(288),
27 linLSB = cms.double(100./1024.),
28 adcsaturationBH = adcSaturationBH_MIP,
29 adcnBitsBH = adcNbitsBH,
30 TCThreshold_fC = cms.double(0.),
31 TCThresholdBH_MIP = cms.double(0.),
32 triggercell_threshold_silicon = cms.double(0.),
33 triggercell_threshold_scintillator = cms.double(0.),
37 supertc_conc_proc = cms.PSet(ProcessorName = cms.string(
'HGCalConcentratorProcessorSelection'),
38 Method = cms.string(
'superTriggerCellSelect'),
39 stcSize = cms.vuint32(4,4,4)
43 from Configuration.Eras.Modifier_phase2_hgcalV9_cff
import phase2_hgcalV9
48 phase2_hgcalV9.toModify(threshold_conc_proc,
49 triggercell_threshold_silicon=1.5,
50 triggercell_threshold_scintillator=1.5,
54 hgcalConcentratorProducer = cms.EDProducer(
55 "HGCalConcentratorProducer",
56 InputTriggerCells = cms.InputTag(
'hgcalVFEProducer:HGCalVFEProcessorSums'),
57 InputTriggerSums = cms.InputTag(
'hgcalVFEProducer:HGCalVFEProcessorSums'),
58 ProcessorParameters = threshold_conc_proc.clone()