Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:58:17

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoMET.METProducers.METSignificanceParams_cfi import METSignificanceParams
0004 
0005 
0006 patMETs = cms.EDProducer("PATMETProducer",
0007     # input
0008     metSource  = cms.InputTag("pfMetT1"),
0009 
0010     # add user data
0011     userData = cms.PSet(
0012       # add custom classes here
0013       userClasses = cms.PSet(
0014         src = cms.VInputTag('')
0015       ),
0016       # add doubles here
0017       userFloats = cms.PSet(
0018         src = cms.VInputTag('')
0019       ),
0020       # add ints here
0021       userInts = cms.PSet(
0022         src = cms.VInputTag('')
0023       ),
0024       # add candidate ptrs here
0025       userCands = cms.PSet(
0026         src = cms.VInputTag('')
0027       ),
0028       # add "inline" functions here
0029       userFunctions = cms.vstring(),
0030       userFunctionLabels = cms.vstring()
0031     ),
0032 
0033     # muon correction
0034     addMuonCorrections = cms.bool(False),
0035     muonSource         = cms.InputTag("muons"),
0036 
0037     # mc matching configurables
0038     addGenMET    = cms.bool(True),
0039     genMETSource = cms.InputTag("genMetTrue"),
0040 
0041     # efficiencies
0042     addEfficiencies = cms.bool(False),
0043     efficiencies    = cms.PSet(),
0044 
0045     # resolution
0046     addResolutions  = cms.bool(False),
0047     resolutions     = cms.PSet(),
0048 
0049     # significance
0050     computeMETSignificance  = cms.bool(False),
0051     # significance computation parameters, not used
0052     # if the significance is not computed
0053     srcWeights = cms.InputTag(""),
0054     srcJets = cms.InputTag("cleanedPatJets"),
0055     srcPFCands =  cms.InputTag("particleFlow"),
0056     srcLeptons = cms.VInputTag("selectedPatElectrons", "selectedPatMuons", "selectedPatPhotons"),
0057     srcJetSF = cms.string('AK4PFchs'),
0058     srcJetResPt = cms.string('AK4PFchs_pt'),
0059     srcJetResPhi = cms.string('AK4PFchs_phi'),
0060     srcRho = cms.InputTag('fixedGridRhoAll'),
0061     parameters = METSignificanceParams
0062 )