Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002 from Validation.RecoTau.RecoTauValidation_cfi import *
00003
00004 from PhysicsTools.JetMCAlgos.TauGenJets_cfi import tauGenJets
00005 from PhysicsTools.HepMCCandAlgos.genParticles_cfi import *
00006
00007
00008 objectTypeSelectedTauValDenominator = cms.EDFilter("TauGenJetDecayModeSelector",
00009 src = cms.InputTag("tauGenJets"),
00010 select = cms.vstring('oneProng0Pi0', 'oneProng1Pi0', 'oneProng2Pi0', 'oneProngOther',
00011 'threeProng0Pi0', 'threeProng1Pi0', 'threeProngOther', 'rare'),
00012 filter = cms.bool(False)
00013 )
00014
00015 produceDenominator = cms.Sequence(
00016 tauGenJets
00017 +objectTypeSelectedTauValDenominator
00018 +kinematicSelectedTauValDenominator
00019 )
00020
00021 runTauValidationBatchMode = cms.Sequence(
00022 produceDenominator
00023 +TauValNumeratorAndDenominator
00024 )
00025
00026 runTauValidation = cms.Sequence(
00027 runTauValidationBatchMode
00028 +TauEfficiencies
00029 )
00030