CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/TopQuarkAnalysis/Examples/python/HypothesisAnalyzer_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # make simple analysis plots for a comparison
00005 # between a simple algorithmic, a gen match and
00006 # an MVA discriminator based event hypothesis
00007 #
00008 
00009 # initialize analyzers
00010 from TopQuarkAnalysis.Examples.HypothesisAnalyzer_cfi import *
00011 analyzeGenMatch      = analyzeHypothesis.clone()
00012 analyzeMaxSumPtWMass = analyzeHypothesis.clone()
00013 analyzeMVADisc       = analyzeHypothesis.clone()
00014 
00015 # configure analyzers
00016 analyzeGenMatch.hypoClassKey      = "ttSemiLepHypGenMatch:Key"
00017 analyzeMaxSumPtWMass.hypoClassKey = "ttSemiLepHypMaxSumPtWMass:Key"
00018 analyzeMVADisc.hypoClassKey       = "ttSemiLepHypMVADisc:Key"
00019 
00020 # define sequence
00021 analyzeHypotheses = cms.Sequence(analyzeGenMatch *
00022                                  analyzeMaxSumPtWMass *
00023                                  analyzeMVADisc)