Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:46

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #from HLTrigger.HLTfilters.hltHighLevel_cfi import *

0004 #exoticaMuHLT = hltHighLevel

0005 #Define the HLT path to be used.

0006 #exoticaMuHLT.HLTPaths =['HLT_L1MuOpen']

0007 #exoticaMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")

0008 
0009 #Define the HLT quality cut 

0010 #exoticaHLTMuonFilter = cms.EDFilter("HLTSummaryFilter",

0011 #    summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary

0012 #    member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection                                    

0013 #    cut     = cms.string("pt>0"),                     # cut on trigger object

0014 #    minN    = cms.int32(0)                  # min. # of passing objects needed

0015 # )

0016 
0017 Jet2 = cms.EDFilter("EtaPtMinCandViewSelector",
0018                       src = cms.InputTag("iterativeCone5CaloJets"),
0019                       ptMin   = cms.double(8),
0020                       etaMin = cms.double(-2),
0021                       etaMax = cms.double(2)
0022                       )
0023 
0024 Jet1 = cms.EDFilter("EtaPtMinCandViewSelector",
0025                       src = cms.InputTag("Jet2"),
0026                       ptMin   = cms.double(8),
0027                       etaMin = cms.double(-1),
0028                       etaMax = cms.double(1)
0029                       )
0030 #Define the Reco quality cut

0031 #jetFilter = cms.EDFilter("CaloJetSelector",

0032 #                               src = cms.InputTag("iterativeCone5CaloJets"),

0033 #                               cut = cms.string('pt > 100 && abs(eta) < 2.0' ),

0034 #                               filter = cms.bool(True),

0035 #                              minNumber = cms.uint32(2)

0036 #                                sizeSelector = cms.uint32(2)

0037 #                               )

0038                                
0039 dijetFilter = cms.EDFilter("CandViewCountFilter",
0040                            src = cms.InputTag("Jet2"),
0041                            minNumber = cms.uint32(2)
0042                            )
0043 
0044 jetFilter = cms.EDFilter("CandViewCountFilter",
0045                                src = cms.InputTag("Jet1"),
0046                                minNumber = cms.uint32(1)
0047                                )
0048 
0049 #===== add electrons =======

0050 
0051 jetSuperClusterMerger =  cms.EDFilter("EgammaSuperClusterMerger",
0052                                    src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
0053                                                        cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
0054                                    )
0055 jetSuperClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
0056                                    src = cms.InputTag("jetSuperClusterMerger"),
0057                                    particleType = cms.string('e-')
0058                                    )
0059 
0060 goodJetSuperClusters = cms.EDFilter("CandViewRefSelector",
0061                                  src = cms.InputTag("jetSuperClusterCands"),
0062                                  cut = cms.string('et > 3.0')
0063                                  )
0064 
0065 jetSuperClusterPt5Filter = cms.EDFilter("CandViewCountFilter",
0066                                       src = cms.InputTag("goodJetSuperClusters"),
0067                                       minNumber = cms.uint32(2)
0068                                       )
0069 
0070 twoEmClusters = cms.Sequence(
0071     jetSuperClusterMerger+jetSuperClusterCands+goodJetSuperClusters+jetSuperClusterPt5Filter
0072     )
0073 
0074 #Define group sequence, using HLT/Reco quality cut. 

0075 #exoticaMuHLTQualitySeq = cms.Sequence()

0076 jetRecoQualitySeq = cms.Sequence(
0077 #    twoEmClusters +

0078     Jet2+Jet1+dijetFilter+jetFilter
0079 )
0080