Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 
0018 #Define the Reco quality cut
0019 singleRecoMuonPt20Filter = cms.EDFilter("MuonRefSelector",
0020                                         src = cms.InputTag("muons"),
0021                                         cut = cms.string('pt > 20.0 && abs(eta) < 2.1' ),
0022                                         filter = cms.bool(True),
0023                                         minN    = cms.int32(1) 
0024                                         )
0025 
0026 singleRecoMuonPt15Filter = cms.EDFilter("MuonRefSelector",
0027                                         src = cms.InputTag("muons"),
0028                                         cut = cms.string('pt > 15.0 && abs(eta) < 2.1' ),
0029                                         filter = cms.bool(True),
0030                                         minN    = cms.int32(1)
0031                                         )
0032 
0033 singleRecoMuonPt10Filter = cms.EDFilter("MuonRefSelector",
0034                                         src = cms.InputTag("muons"),
0035                                         cut = cms.string('pt > 10.0 && abs(eta) < 2.1' ),
0036                                         filter = cms.bool(True),
0037                                         minN    = cms.int32(1)
0038                                         )
0039 
0040 singleRecoMuonPt5Filter = cms.EDFilter("MuonRefSelector",
0041                                         src = cms.InputTag("muons"),
0042                                         cut = cms.string('pt > 0.5 && abs(eta) < 2.1 && isGlobalMuon == 1  && abs (track().d0) < 2 ' ),
0043                                         filter = cms.bool(True),
0044                                         minN    = cms.int32(1)
0045                                         )
0046 
0047 
0048 muonSCMerger =  cms.EDFilter("EgammaSuperClusterMerger",
0049                                    src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
0050                                                        cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
0051                                    )
0052 muonSCCands = cms.EDProducer("ConcreteEcalCandidateProducer",
0053                                    src = cms.InputTag("muonSCMerger"),
0054                                    particleType = cms.string('mu+')
0055                                    )
0056 
0057 goodMuonSCs = cms.EDFilter("CandViewRefSelector",
0058                                  src = cms.InputTag("muonSCCands"),
0059                                  cut = cms.string('et > 2.0')
0060                                  )
0061 
0062 muonSCPt5Filter = cms.EDFilter("CandViewCountFilter",
0063                                      src = cms.InputTag("goodMuonSCs"),
0064                                      minNumber = cms.uint32(2)
0065                                      )
0066 
0067 muonEmClusters = cms.Sequence(
0068     muonSCMerger+muonSCCands+goodMuonSCs+muonSCPt5Filter
0069     )
0070 
0071 
0072 #Define group sequence, using HLT/Reco quality cut. 
0073 #singleMuHLTQualitySeq = cms.Sequence()
0074 singleMuPt20RecoQualitySeq = cms.Sequence(
0075     #singleMuHLT+
0076     singleRecoMuonPt20Filter
0077 )
0078 
0079 singleMuPt15RecoQualitySeq = cms.Sequence(
0080     #singleMuHLT+
0081     singleRecoMuonPt15Filter
0082 )
0083 
0084 singleMuPt10RecoQualitySeq = cms.Sequence(
0085     #singleMuHLT+
0086     singleRecoMuonPt10Filter
0087 )
0088 
0089 singleMuPt5RecoQualitySeq = cms.Sequence(
0090         #singleMuHLT+
0091 #    muonEmClusters+
0092         singleRecoMuonPt5Filter
0093         )