File indexing completed on 2024-11-23 03:28:33
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def MtdEleIsoValidation(*args, **kwargs):
0004 mod = cms.EDProducer('MtdEleIsoValidation',
0005 folder = cms.string('MTD/ElectronIso'),
0006 inputTagG = cms.InputTag('generalTracks'),
0007 inputTag_vtx = cms.InputTag('offlinePrimaryVertices4D'),
0008 inputEle_EB = cms.InputTag('gedGsfElectrons'),
0009 inputEle_EE = cms.InputTag('ecalDrivenGsfElectronsHGC'),
0010 TPtoRecoTrackAssoc = cms.InputTag('trackingParticleRecoTrackAsssociation'),
0011 t0PID = cms.InputTag('tofPID', 't0'),
0012 sigmat0PID = cms.InputTag('tofPID', 'sigmat0'),
0013 trackMVAQual = cms.InputTag('mtdTrackQualityMVA', 'mtdQualMVA'),
0014 trackMinimumPt = cms.double(1),
0015 trackMinimumEta = cms.double(1.5),
0016 trackMaximumEta = cms.double(3.2),
0017 rel_iso_cut = cms.double(0.08),
0018 optionTrackMatchToPV = cms.bool(False),
0019 option_dtToTrack = cms.bool(True),
0020 option_plots = cms.bool(False),
0021 min_dR_cut = cms.double(0.01),
0022 max_dR_cut = cms.double(0.3),
0023 min_pt_cut_EB = cms.double(0.7),
0024 min_pt_cut_EE = cms.double(0.4),
0025 max_dz_cut_EB = cms.double(0.5),
0026 max_dz_cut_EE = cms.double(0.5),
0027 max_dz_vtx_cut = cms.double(0.5),
0028 max_dxy_vtx_cut = cms.double(0.2),
0029 min_strip_cut = cms.double(0.01),
0030 min_track_mtd_mva_cut = cms.double(0.5),
0031 mightGet = cms.optional.untracked.vstring
0032 )
0033 for a in args:
0034 mod.update_(a)
0035 mod.update_(kwargs)
0036 return mod