Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-13 03:23:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFTICLProducer(**kwargs):
0004   mod = cms.EDProducer('PFTICLProducer',
0005     ticlCandidateSrc = cms.InputTag('ticlTrackstersMerge'),
0006     trackTimeValueMap = cms.InputTag('tofPID', 't0'),
0007     trackTimeErrorMap = cms.InputTag('tofPID', 'sigmat0'),
0008     trackTimeQualityMap = cms.InputTag('mtdTrackQualityMVA', 'mtdQualMVA'),
0009     energyFromRegression = cms.bool(True),
0010     timingQualityThreshold = cms.double(0.5),
0011     useMTDTiming = cms.bool(True),
0012     isTICLv5 = cms.bool(False),
0013     useTimingAverage = cms.bool(False),
0014     muonSrc = cms.InputTag('muons1stStep'),
0015     pfMuonAlgoParameters = cms.PSet(
0016       maxDPtOPt = cms.double(1),
0017       trackQuality = cms.string('highPurity'),
0018       ptErrorScale = cms.double(8),
0019       eventFractionForCleaning = cms.double(0.5),
0020       minPtForPostCleaning = cms.double(20),
0021       eventFactorForCosmics = cms.double(10),
0022       metSignificanceForCleaning = cms.double(3),
0023       metSignificanceForRejection = cms.double(4),
0024       metFactorForCleaning = cms.double(4),
0025       eventFractionForRejection = cms.double(0.8),
0026       metFactorForRejection = cms.double(4),
0027       metFactorForHighEta = cms.double(25),
0028       ptFactorForHighEta = cms.double(2),
0029       metFactorForFakes = cms.double(4),
0030       minMomentumForPunchThrough = cms.double(100),
0031       minEnergyForPunchThrough = cms.double(100),
0032       punchThroughFactor = cms.double(3),
0033       punchThroughMETFactor = cms.double(4),
0034       cosmicRejectionDistance = cms.double(1)
0035     ),
0036     mightGet = cms.optional.untracked.vstring
0037   )
0038   for k,v in kwargs.items():
0039     setattr(mod, k, v)
0040   return mod