CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/TopQuarkAnalysis/TopPairBSM/python/TopAnalysis_sequences.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 ## produce ttGenEvent
00005 from TopQuarkAnalysis.TopEventProducers.sequences.ttGenEvent_cff import *
00006 ## semi-leptonic decay
00007 import TopQuarkAnalysis.TopEventProducers.producers.TtDecaySelection_cfi
00008 
00009 ttMuonicFilter = TopQuarkAnalysis.TopEventProducers.producers.TtDecaySelection_cfi.ttDecaySelection.clone()
00010 ttMuonicFilter.allowedTopDecays.decayBranchA.electron = cms.bool(False)
00011 ttMuonicFilter.allowedTopDecays.decayBranchA.muon     = cms.bool(True)
00012 ttMuonicFilter.allowedTopDecays.decayBranchA.tau      = cms.bool(False)
00013 ttMuonicFilter.allowedTopDecays.decayBranchB.electron = cms.bool(False)
00014 ttMuonicFilter.allowedTopDecays.decayBranchB.muon     = cms.bool(False)
00015 ttMuonicFilter.allowedTopDecays.decayBranchB.tau      = cms.bool(False)
00016 ttMuonicFilter.restrictTauDecays.leptonic             = cms.bool(True)
00017 ttMuonicFilter.restrictTauDecays.oneProng             = cms.bool(True)
00018 ttMuonicFilter.restrictTauDecays.threeProng           = cms.bool(True)
00019 
00020 ## invert selection
00021 ttNoMuonicFilter = TopQuarkAnalysis.TopEventProducers.producers.TtDecaySelection_cfi.ttDecaySelection.clone()
00022 ttNoMuonicFilter.allowedTopDecays.decayBranchA.electron = cms.bool(False)
00023 ttNoMuonicFilter.allowedTopDecays.decayBranchA.muon     = cms.bool(True)
00024 ttNoMuonicFilter.allowedTopDecays.decayBranchA.tau      = cms.bool(False)
00025 ttNoMuonicFilter.allowedTopDecays.decayBranchB.electron = cms.bool(False)
00026 ttNoMuonicFilter.allowedTopDecays.decayBranchB.muon     = cms.bool(False)
00027 ttNoMuonicFilter.allowedTopDecays.decayBranchB.tau      = cms.bool(False)
00028 ttNoMuonicFilter.restrictTauDecays.leptonic             = cms.bool(True)
00029 ttNoMuonicFilter.restrictTauDecays.oneProng             = cms.bool(True)
00030 ttNoMuonicFilter.restrictTauDecays.threeProng           = cms.bool(True)
00031 ttNoMuonicFilter.invert                                 = cms.bool(True)
00032 
00033 
00034 ## setup HLT filter
00035 from TopQuarkAnalysis.TopPairBSM.BooTopHLTFilter import *
00036 
00037 ## Analyzer and setup default selection
00038 from TopQuarkAnalysis.TopPairBSM.TopAnalysis_Defaults import *
00039 from TopQuarkAnalysis.TopPairBSM.ABCDAnalysis_Defaults import *
00040 from TopQuarkAnalysis.TopPairBSM.HighAnalysis_Defaults import *
00041 
00042 
00043 TopAnalysisMuFilter = cms.Sequence(
00044                            ttMuonicFilter+
00045                            BooTopHLTFilter+
00046                            TopAnalyzer)
00047 
00048 TopAnalysisNoMuFilter = cms.Sequence(
00049                            ttNoMuonicFilter+
00050                            BooTopHLTFilter+
00051                            TopAnalyzer)
00052 
00053 TopAnalysis = cms.Sequence(BooTopHLTFilter+
00054                            TopAnalyzer)
00055 
00056 ABCDAnalysis = cms.Sequence(ABCDAnalyzer)
00057 
00058 HighMAnalysis = cms.Sequence(HighMAnalyzer)