CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DPGAnalysis/Skims/python/jetSkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #from HLTrigger.HLTfilters.hltHighLevel_cfi import *
00004 #exoticaMuHLT = hltHighLevel
00005 #Define the HLT path to be used.
00006 #exoticaMuHLT.HLTPaths =['HLT_L1MuOpen']
00007 #exoticaMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00008 
00009 #Define the HLT quality cut 
00010 #exoticaHLTMuonFilter = cms.EDFilter("HLTSummaryFilter",
00011 #    summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00012 #    member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection                                                                    
00013 #    cut     = cms.string("pt>0"),                     # cut on trigger object
00014 #    minN    = cms.int32(0)                  # min. # of passing objects needed
00015 # )
00016 
00017 Jet2 = cms.EDFilter("EtaPtMinCandViewSelector",
00018                       src = cms.InputTag("iterativeCone5CaloJets"),
00019                       ptMin   = cms.double(8),
00020                       etaMin = cms.double(-2),
00021                       etaMax = cms.double(2)
00022                       )
00023 
00024 Jet1 = cms.EDFilter("EtaPtMinCandViewSelector",
00025                       src = cms.InputTag("Jet2"),
00026                       ptMin   = cms.double(8),
00027                       etaMin = cms.double(-1),
00028                       etaMax = cms.double(1)
00029                       )
00030 #Define the Reco quality cut
00031 #jetFilter = cms.EDFilter("CaloJetSelector",
00032 #                               src = cms.InputTag("iterativeCone5CaloJets"),
00033 #                               cut = cms.string('pt > 100 && abs(eta) < 2.0' ),
00034 #                               filter = cms.bool(True),
00035 #                              minNumber = cms.uint32(2)
00036 #                                sizeSelector = cms.uint32(2)
00037 #                               )
00038                                
00039 dijetFilter = cms.EDFilter("CandViewCountFilter",
00040                            src = cms.InputTag("Jet2"),
00041                            minNumber = cms.uint32(2)
00042                            )
00043 
00044 jetFilter = cms.EDFilter("CandViewCountFilter",
00045                                src = cms.InputTag("Jet1"),
00046                                minNumber = cms.uint32(1)
00047                                )
00048 
00049 #===== add electrons =======
00050 
00051 jetSuperClusterMerger =  cms.EDFilter("EgammaSuperClusterMerger",
00052                                    src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
00053                                                        cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
00054                                    )
00055 jetSuperClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
00056                                    src = cms.InputTag("jetSuperClusterMerger"),
00057                                    particleType = cms.string('e-')
00058                                    )
00059 
00060 goodJetSuperClusters = cms.EDFilter("CandViewRefSelector",
00061                                  src = cms.InputTag("jetSuperClusterCands"),
00062                                  cut = cms.string('et > 3.0')
00063                                  )
00064 
00065 jetSuperClusterPt5Filter = cms.EDFilter("CandViewCountFilter",
00066                                       src = cms.InputTag("goodJetSuperClusters"),
00067                                       minNumber = cms.uint32(2)
00068                                       )
00069 
00070 twoEmClusters = cms.Sequence(
00071     jetSuperClusterMerger+jetSuperClusterCands+goodJetSuperClusters+jetSuperClusterPt5Filter
00072     )
00073 
00074 #Define group sequence, using HLT/Reco quality cut. 
00075 #exoticaMuHLTQualitySeq = cms.Sequence()
00076 jetRecoQualitySeq = cms.Sequence(
00077 #    twoEmClusters +
00078     Jet2+Jet1+dijetFilter+jetFilter
00079 )
00080