CMS 3D CMS Logo

hltJetMCTools_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # hlt jet mc tools
00004 # only run on events with L2 jets
00005 require_iterativeCone5CaloJets = cms.EDFilter("RequireModule",
00006     requirement = cms.InputTag("hltIterativeCone5CaloJets","","HLT")
00007 )
00008 
00009 # see "PhysicsTools/JetMCAlgos/data/SelectPartons.cff"
00010 hltPartons = cms.EDFilter("PartonSelector",
00011     withLeptons = cms.bool(False)
00012 )
00013 
00014 # flavour by reference
00015 # see "PhysicsTools/JetMCAlgos/data/IC5CaloJetsMCFlavour.cff"
00016 hltIC5byRef = cms.EDFilter("JetPartonMatcher",
00017     jets = cms.InputTag("hltIterativeCone5CaloJets","","HLT"),
00018     coneSizeToAssociate = cms.double(0.3),
00019     partons = cms.InputTag("hltPartons")
00020 )
00021 
00022 # flavour by value, physics definition
00023 # see "PhysicsTools/JetMCAlgos/data/IC5CaloJetsMCFlavour.cff"
00024 hltIC5byValPhys = cms.EDFilter("JetFlavourIdentifier",
00025     srcByReference = cms.InputTag("hltIC5byRef"),
00026     physicsDefinition = cms.bool(True)
00027 )
00028 
00029 # flavour by value, algorithmic definition
00030 # see "PhysicsTools/JetMCAlgos/data/IC5CaloJetsMCFlavour.cff"
00031 hltIC5byValAlgo = cms.EDFilter("JetFlavourIdentifier",
00032     srcByReference = cms.InputTag("hltIC5byRef"),
00033     physicsDefinition = cms.bool(False)
00034 )
00035 
00036 hltJetMCTools = cms.Sequence(require_iterativeCone5CaloJets*hltPartons*hltIC5byRef*hltIC5byValPhys+hltIC5byValAlgo)
00037 

Generated on Tue Jun 9 17:38:00 2009 for CMSSW by  doxygen 1.5.4