Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005 genParticlesForMETAllVisible = cms.EDFilter(
00006 "InputGenJetsParticleSelector",
00007 src = cms.InputTag("genParticles"),
00008 partonicFinalState = cms.bool(False),
00009 excludeResonances = cms.bool(False),
00010 excludeFromResonancePids = cms.vuint32(),
00011 tausAsJets = cms.bool(False),
00012
00013 ignoreParticleIDs = cms.vuint32(
00014 1000022, 2000012, 2000014,
00015 2000016, 1000039, 5000039,
00016 4000012, 9900012, 9900014,
00017 9900016, 39, 12, 14, 16
00018 )
00019 )
00020
00021 genMetTrue = cms.EDProducer("METProducer",
00022 src = cms.InputTag("genParticlesForMETAllVisible"),
00023
00024 METType = cms.string('GenMET'),
00025
00026 alias = cms.string('GenMETAllVisible'),
00027
00028 noHF = cms.bool(False),
00029
00030 globalThreshold = cms.double(0.0),
00031
00032 InputType = cms.string('CandidateCollection')
00033
00034 )
00035
00036 genMetTrueSequence = cms.Sequence(
00037 genParticlesForMETAllVisible *
00038 genMetTrue
00039 )