CMS 3D CMS Logo

hgcalBackEndLayer1Producer_cfi.py
Go to the documentation of this file.
1 from __future__ import absolute_import
2 import FWCore.ParameterSet.Config as cms
3 
7 from . import hgcalLayersCalibrationCoefficients_cfi as layercalibparam
8 
9 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
10 
11 c2d_calib_pset = cms.PSet(calibSF_cluster=cms.double(1.),
12  layerWeights=layercalibparam.TrgLayer_weights,
13  applyLayerCalibration=cms.bool(True))
14 
15 c2d_thresholds_pset = cms.PSet(seeding_threshold_silicon=cms.double(5.),
16  seeding_threshold_scintillator=cms.double(5.),
17  clustering_threshold_silicon=cms.double(2.),
18  clustering_threshold_scintillator=cms.double(2.))
19 
20 # V9 samples have a different definition of the dEdx calibrations. To account for it
21 # we rescale the thresholds for the clustering
22 # (see https://indico.cern.ch/event/806845/contributions/3359859/attachments/1815187/2966402/19-03-20_EGPerf_HGCBE.pdf
23 # for more details)
24 phase2_hgcalV10.toModify(c2d_thresholds_pset,
25  seeding_threshold_silicon=3.75,
26  seeding_threshold_scintillator=3.75,
27  clustering_threshold_silicon=1.5,
28  clustering_threshold_scintillator=1.5,
29  )
30 
31 # we still don't have layer calibrations for V9 geometry. Switching this off we
32 # use the dEdx calibrated energy of the TCs
33 phase2_hgcalV10.toModify(c2d_calib_pset,
34  applyLayerCalibration=False
35  )
36 
37 
38 dummy_C2d_params = cms.PSet(c2d_calib_pset,
39  clusterType=cms.string('dummyC2d')
40  )
41 
42 
43 distance_C2d_params = cms.PSet(c2d_calib_pset,
44  c2d_thresholds_pset,
45  clusterType=cms.string('dRC2d'),
46  dR_cluster=cms.double(6.),
47  )
48 
49 topological_C2d_params = cms.PSet(c2d_calib_pset,
50  c2d_thresholds_pset,
51  clusterType=cms.string('NNC2d'),
52  )
53 
54 constrTopological_C2d_params = cms.PSet(c2d_calib_pset,
55  c2d_thresholds_pset,
56  clusterType=cms.string('dRNNC2d'),
57  dR_cluster=cms.double(6.),
58  )
59 
60 
61 be_proc = cms.PSet(ProcessorName = cms.string('HGCalBackendLayer1Processor2DClustering'),
62  C2d_parameters = dummy_C2d_params.clone()
63  )
64 
65 hgcalBackEndLayer1Producer = cms.EDProducer(
66  "HGCalBackendLayer1Producer",
67  InputTriggerCells = cms.InputTag('hgcalConcentratorProducer:HGCalConcentratorProcessorSelection'),
68  ProcessorParameters = be_proc.clone()
69  )
70 
71 hgcalBackEndLayer1ProducerHFNose = hgcalBackEndLayer1Producer.clone(
72  InputTriggerCells = cms.InputTag('hgcalConcentratorProducerHFNose:HGCalConcentratorProcessorSelection')
73 )
hgcalDigitizer_cfi
HGCalRecHit_cfi
HGCalUncalibRecHit_cfi