Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def DeDxHitCalibrator(*args, **kwargs):
0004   mod = cms.EDProducer('DeDxHitCalibrator',
0005     applyGain = cms.bool(True),
0006     MeVPerElectron = cms.double(3.61e-06),
0007     VCaltoElectronGain = cms.int32(65),
0008     VCaltoElectronGain_L1 = cms.int32(65),
0009     VCaltoElectronOffset = cms.int32(-414),
0010     VCaltoElectronOffset_L1 = cms.int32(-414),
0011     pixelSaturationThr = cms.int32(254),
0012     trackProducer = cms.InputTag('generalTracks'),
0013     dedxHitInfo = cms.InputTag('dedxHitInfo'),
0014     mightGet = cms.optional.untracked.vstring
0015   )
0016   for a in args:
0017     mod.update_(a)
0018   mod.update_(kwargs)
0019   return mod