CMS 3D CMS Logo

mtdRecHits_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 _barrelAlgo = cms.PSet(
4  algoName = cms.string("MTDRecHitAlgo"),
5  thresholdToKeep = cms.double(1.), # MeV
6  calibrationConstant = cms.double(0.03125), # MeV/pC
7 )
8 
9 
10 _endcapAlgo = cms.PSet(
11  algoName = cms.string("MTDRecHitAlgo"),
12  thresholdToKeep = cms.double(0.0425), # MeV
13  calibrationConstant = cms.double(0.085), # MeV/MIP
14 )
15 
16 from Configuration.Eras.Modifier_phase2_etlV4_cff import phase2_etlV4
17 phase2_etlV4.toModify(_endcapAlgo, thresholdToKeep = 0.005, calibrationConstant = 0.015 )
18 
19 mtdRecHits = cms.EDProducer(
20  "MTDRecHitProducer",
21  barrel = _barrelAlgo,
22  endcap = _endcapAlgo,
23  barrelUncalibratedRecHits = cms.InputTag('mtdUncalibratedRecHits:FTLBarrel'),
24  endcapUncalibratedRecHits = cms.InputTag('mtdUncalibratedRecHits:FTLEndcap'),
25  BarrelHitsName = cms.string('FTLBarrel'),
26  EndcapHitsName = cms.string('FTLEndcap'),
27 )