File indexing completed on 2024-11-23 03:28:25
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TOFPIDProducer(*args, **kwargs):
0004 mod = cms.EDProducer('TOFPIDProducer',
0005 tracksSrc = cms.InputTag('generalTracks'),
0006 t0Src = cms.InputTag('trackExtenderWithMTD', 'generalTrackt0'),
0007 tmtdSrc = cms.InputTag('trackExtenderWithMTD', 'generalTracktmtd'),
0008 sigmat0Src = cms.InputTag('trackExtenderWithMTD', 'generalTracksigmat0'),
0009 sigmatmtdSrc = cms.InputTag('trackExtenderWithMTD', 'generalTracksigmatmtd'),
0010 tofkSrc = cms.InputTag('trackExtenderWithMTD', 'generalTrackTofK'),
0011 tofpSrc = cms.InputTag('trackExtenderWithMTD', 'generalTrackTofP'),
0012 sigmatofpiSrc = cms.InputTag('trackExtenderWithMTD', 'generalTrackSigmaTofPi'),
0013 sigmatofkSrc = cms.InputTag('trackExtenderWithMTD', 'generalTrackSigmaTofK'),
0014 sigmatofpSrc = cms.InputTag('trackExtenderWithMTD', 'generalTrackSigmaTofP'),
0015 vtxsSrc = cms.InputTag('unsortedOfflinePrimaryVertices4DwithPID'),
0016 trackMTDTimeQualityVMapTag = cms.InputTag('mtdTrackQualityMVA', 'mtdQualMVA'),
0017 vtxMaxSigmaT = cms.double(0.025),
0018 maxDz = cms.double(0.1),
0019 maxDtSignificance = cms.double(5),
0020 minProbHeavy = cms.double(0.75),
0021 fixedT0Error = cms.double(0),
0022 probPion = cms.double(1),
0023 probKaon = cms.double(1),
0024 probProton = cms.double(1),
0025 minTrackTimeQuality = cms.double(0.8),
0026 MVASel = cms.bool(False),
0027 vertexReassignment = cms.bool(True),
0028 mightGet = cms.optional.untracked.vstring
0029 )
0030 for a in args:
0031 mod.update_(a)
0032 mod.update_(kwargs)
0033 return mod