CMS 3D CMS Logo

hgcalConcentratorProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 # Digitization parameters
5 adcSaturationBH_MIP = digiparam.hgchebackDigitizer.digiCfg.feCfg.adcSaturation_fC
6 adcNbitsBH = digiparam.hgchebackDigitizer.digiCfg.feCfg.adcNbits
7 
8 
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.), # MipT
19  triggercell_threshold_scintillator = cms.double(2.), # MipT
20  )
21 
22 
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.),
34  )
35 
36 
37 supertc_conc_proc = cms.PSet(ProcessorName = cms.string('HGCalConcentratorProcessorSelection'),
38  Method = cms.string('superTriggerCellSelect'),
39  stcSize = cms.vuint32(4,4,4)
40  )
41 
42 
43 from Configuration.Eras.Modifier_phase2_hgcalV9_cff import phase2_hgcalV9
44 # V9 samples have a different defintiion of the dEdx calibrations. To account for it
45 # we reascale the thresholds of the FE selection
46 # (see https://indico.cern.ch/event/806845/contributions/3359859/attachments/1815187/2966402/19-03-20_EGPerf_HGCBE.pdf
47 # for more details)
48 phase2_hgcalV9.toModify(threshold_conc_proc,
49  triggercell_threshold_silicon=1.5, # MipT
50  triggercell_threshold_scintillator=1.5, # MipT
51  )
52 
53 
54 hgcalConcentratorProducer = cms.EDProducer(
55  "HGCalConcentratorProducer",
56  InputTriggerCells = cms.InputTag('hgcalVFEProducer:HGCalVFEProcessorSums'),
57  InputTriggerSums = cms.InputTag('hgcalVFEProducer:HGCalVFEProcessorSums'),
58  ProcessorParameters = threshold_conc_proc.clone()
59  )