process.load("UWAnalysis.Configuration.zMuMuTagAndProbe_cff")
process.tagAndProbe = cms.Path(process.tagAndProbeSequence)

process.probeMuons = cms.EDProducer("PATMuonEffectiveAreaEmbedder",
        src = cms.InputTag("triggeredPatMuons"),
        target = cms.string("2012Data"),# Available targets: Fal11MC, Summer11MC, 2011Data, 2012Data
        )
process.probeLeptons = cms.Path(process.probeMuons)

# IsoMu tags
addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'IsoMu',
                        'probeMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','ISO'],                  
                        ['userInt("tightID")>0&&abs(userFloat("dz"))<0.2&&abs(userFloat("ipDXY"))<0.045&&isTrackerMuon()&&eta()<2.1', '(userIso(0)+max(photonIso+neutralHadronIso()-0.5*puChargedHadronIso,0.0))/pt()<0.1'],                      
                        ['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoFiltered10', 'hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoRhoFiltered0p15'],
			['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f18QL3crIsoFiltered10' , 'hltL3crIsoL1sMu14erORMu16erL1f0L2f14QL3f17QL3crIsoRhoFiltered0p15']
)

# Non-IsoMu tags (prescaled)
addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'NonIsoMuPS',
                        'probeMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','ISO'],                  
                        ['userInt("tightID")>0&&abs(userFloat("dz"))<0.2&&abs(userFloat("ipDXY"))<0.045&&isTrackerMuon()&&eta()<2.1', '(userIso(0)+max(photonIso+neutralHadronIso()-0.5*puChargedHadronIso,0.0))/pt()<0.1'],
                        ['hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered24Q'],
			['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f18QL3crIsoFiltered10' , 'hltL3crIsoL1sMu14erORMu16erL1f0L2f14QL3f17QL3crIsoRhoFiltered0p15']
)
Beispiel #2
0
#tagAndProbe 

process.load("UWAnalysis.Configuration.zMuMuTagAndProbe_cff")
process.tagAndProbe = cms.Path(process.tagAndProbeSequence)

process.probeMuons = cms.EDProducer("PATMuonEffectiveAreaEmbedder",
        src = cms.InputTag("triggeredPatMuons"),
        target = cms.string("2012Data"),# Available targets: Fal11MC, Summer11MC, 2011Data, 2012Data
        )
process.probeLeptons = cms.Path(process.probeMuons)

addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'Mu4lT8',
                        'probeMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','SIP','ISO'],                  
                        ['pfCandidateRef().isNonnull()&&(isGlobalMuon()||isTrackerMuon())','abs(userFloat("ip3DS"))<4','(chargedHadronIso()+max(0.0,neutralHadronIso()+photonIso()-userFloat("zzRho2012")*userFloat("effArea")))/pt()<0.4'],
			['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoRhoFiltered0p15'],
			['hltL3pfL1DoubleMu10MuOpenL1f0L2pf0L3PreFiltered8']
)

addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'Mu4lT17',
                        'probeMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','SIP','ISO'],                  
                        ['pfCandidateRef().isNonnull()&&(isGlobalMuon()||isTrackerMuon())','abs(userFloat("ip3DS"))<4','(chargedHadronIso()+max(0.0,neutralHadronIso()+photonIso()-userFloat("zzRho2012")*userFloat("effArea")))/pt()<0.4'],
			['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoRhoFiltered0p15'],
			['hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17']
)
Beispiel #3
0

from UWAnalysis.Configuration.tools.analysisToolsPT import addTagAndProbePlotter

#tagAndProbe 

process.load("UWAnalysis.Configuration.zMuMuTagAndProbe_cff")
process.tagAndProbe = cms.Path(process.tagAndProbeSequence)

#from UWAnalysis.Configuration.tools.ntupleTools import *
addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'MuonHttMu12',
                        'triggeredPatMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','SIP','ISO'],
                        #['pt()>30','pt()>10000'],
			['pfCandidateRef().isNonnull()&isGlobalMuon()&isTrackerMuon()','abs(userFloat("ip3DS"))<4','(userIso(0)+max(0.0,userIso(1)+neutralHadronIso()-0.5*userIso(2)))/pt()<0.25'],
			['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoRhoFiltered0p15','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered24Q'],
			['hltL3pfL1DoubleMu10MuOpenL1f0L2pf0L3PreFiltered8','hltL3pfL1DoubleMu10MuOpenOR3p5L1f0L2pf0L3PreFiltered8','hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17','hltL3fL1DoubleMu10MuOpenOR3p5L1f0L2f10L3Filtered17']
#,'hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17']
#			['hltL3pfL1DoubleMu10MuOpenOR3p5L1f0L2pf0L3PreFiltered8']
)
addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'MuonHttMu12GeV8',
                        'triggeredPatMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','SIP','ISO'],
                        #['pt()>30','pt()>10000'],
                        ['pfCandidateRef().isNonnull()&isGlobalMuon()&isTrackerMuon()','abs(userFloat("ip3DS"))<4','(userIso(0)+max(0.0,userIso(1)+neutralHadronIso()-0.5*userIso(2)))/pt()<0.25'],
                        ['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoRhoFiltered0p15','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered24Q'],
                        ['hltL3pfL1DoubleMu10MuOpenL1f0L2pf0L3PreFiltered8','hltL3pfL1DoubleMu10MuOpenOR3p5L1f0L2pf0L3PreFiltered8']
#,'hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17']
#				[''],
#                             ['hltDiMuonL3PreFiltered8','hltDiMuonL3PreFiltered7','hltDiMuonL3p5PreFiltered8']

#)

addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
			'MuonHttMu12',
			'triggeredPatMuons',
			'selectedTagAndProbeMuTracks',
			#['WW','ISO','tightID'],
			['ID','SIP','ISO'],
			#['pt()>30','pt()>10000'],
 			#['userInt("WWID")>0.5','(userIso(0)+max(photonIso()+neutralHadronIso()-0.5*puChargedHadronIso,0.0))/pt() < 0.1', 'userInt("tightID") >0.5'],			
                        ['pfCandidateRef().isNonnull()&(isGlobalMuon()|isTrackerMuon())','abs(userFloat("ip3DS"))<4','(chargedHadronIso()+max(0.0,neutralHadronIso()+photonIso()-userFloat("zzRho2012")*userFloat("EAGammaNeuHadron04")))/pt()<0.25'],

#['userInt("WWID")>0.5','(chargedHadronIso+max(photonIso+neutralHadronIso-0.5*userIso(2),0.0))/pt()<0.1'],
	#		['hltBLifetimeL3PFFilterSingleTop','hltIsoMu202p1CentralPFJet30MuCleaned','hltIsoMu20eta2p1CentralPFJet80MuCleaned','hltBLifetimeL3PFNoPUFilterSingleTop','hltIsoMu202p1CentralPFNoPUJet30MuCleaned','hltIsoMu202p1DiCentralPFJet30MuCleaned','hltIsoMu202p1DiCentralPFNoPUJet30MuCleaned','hltIsoMu202p1TriCentralPFJet30MuCleaned','hltIsoMu202p1CentralPFJet50MuCleaned','hltIsoMu202p1TriCentralPFNoPUJet30MuCleaned','hltIsoMu202p1CentralPFNoPUJet50MuCleaned','hlt2IsoMu20eta2p1PFMHTPt80','hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f20L3crIsoFiltered10','hltPFMHT20Filter','hltIsoMu24eta2p1DiCentralPFJet25MuCleaned','hltIsoMu24eta2p1PFJet30PFJet25Deta3PFJetCollectionsVBFFilter','hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoFiltered10','hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f30QL3crIsoFiltered10','hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f34QL3crIsoFiltered10','hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f40QL3crIsoFiltered10','hltPFMHT55Filter','hltPFMHT60Filter','hltL3L1Mu10erJetC20JetC12Corr1OrL1Mu10erJetC32OrMu10erJetC32JetC12Corr1L3Mufiltered12Eta2p1','hltBLifetime3D1stTrkL3FilterJet20HbbL1FastJet','hltDiBLifetime3D1stTrkL3FilterJet20HbbL1FastJet','hltL3L1Mu10erJetC20JetC12Corr1OrL1Mu10erJetC32OrMu10erJetC32JetC12Corr1L3Mufiltered12Eta2p1','hltL3L1Mu10erJetC20JetC12Corr1OrL1Mu10erJetC32OrMu10erJetC32JetC12Corr1L3Mufiltered12Eta2p1','hltL3fL1sMu7L3Filtered12','hltBLifetime3D1stTrkL3FilterJet20HbbL1FastJet','hltDiBLifetime3D1stTrkL3FilterJet20HbbL1FastJet','hltL1Mu10Eta2p1Jet20Jet12CentralCorrOrMu10erJetC32L3Mufiltered15Eta2p1','hltL3fL1sMu7L1fEta2p1L2fEta2p1f7L3FilteredEta2p1Filtered15','hltBLifetimeL3PFFilterSingleTopNoIso','hltBLifetimeL3PFNoPUFilterSingleTopNoIso','hltMu202p1TriCentralPFJet30MuCleaned','hltMu202p1CentralPFJet50MuCleaned','hltMu202p1TriCentralPFNoPUJet30MuCleaned','hltMu202p1CentralPFNoPUJet50MuCleaned','hltMu24eta2p1DiCentralPFJet25MuCleaned','hltMu24eta2p1PFJet30PFJet25Deta3PFJetCollectionsVBFFilter','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered24Q','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered30Q','hltDeDxFilter50DEDX3p6Mu','hltDeDxFilter60DEDX3p7Mu','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered40Q','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered50Q','hltL3fL1sMu3L3Filtered5','hltL3reliso1p0mufiltermu17','hltL3reliso1p0mufiltermu5'],
			['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoFiltered10'],
                        #['hltSingleMuIsoL3IsoFiltered12'],
			
			#['hltSingleMuIsoL3IsoFiltered12']
			#['hltDoubleMu11ExclL3PreFiltered','hltDoubleMu4ExclL3PreFiltered','hltDoubleMu5IsoMu5IsoL3IsoFiltered5','hltL2DoubleMu23NoVertexL2Filtered2ChaAngle2p5','hltL2DoubleMu23NoVertexL2PreFiltered','hltL2DoubleMu38NoVertexL2Filtered2ChaAngle2p5','hltDiMuonMu17Mu8DzFiltered0p2','hltDiMuonGlb17Trk8DzFiltered0p2','hltL3fL1sMu12L3Filtered17','hltDiMuonGlb22Trk22DzFiltered0p2','hltDiMuonGlb22Trk8DzFiltered0p2','hltL3fL1sMu3L3Filtered8','hltTripleMu0L3TriMuFiltered5']	
			['hltL3pfL1DoubleMu10MuOpenL1f0L2pf0L3PreFiltered8','hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17']
#,'hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17']

)
addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'MuonHttMu12GeV8',
                        'triggeredPatMuons',
                        'selectedTagAndProbeMuTracks',
                        #['WW','ISO','tightID'],
Beispiel #5
0
from UWAnalysis.Configuration.tools.analysisToolsPT import addTagAndProbePlotter

#tagAndProbe 

process.load("UWAnalysis.Configuration.zMuMuTagAndProbe_cff")
process.tagAndProbe = cms.Path(process.tagAndProbeSequence)

#from UWAnalysis.Configuration.tools.ntupleTools import *

addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'MuonHttMu12GeV8Loose',
                        'triggeredPatMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','SIP','ISO'],
                        #['pt()>30','pt()>10000'],
                        ['pfCandidateRef().isNonnull()&&(isGlobalMuon()||isTrackerMuon())','abs(userFloat("ip3DS"))<4','(chargedHadronIso()+max(0.0,neutralHadronIso()+photonIso()-userFloat("zzRho2012")*userFloat("EAGammaNeuHadron04")))/pt()<0.25'],
                       ['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoRhoFiltered0p15','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered24Q'],
                        ['hltL3pfL1DoubleMu10MuOpenL1f0L2pf0L3PreFiltered8','hltL3pfL1DoubleMu10MuOpenOR3p5L1f0L2pf0L3PreFiltered8']
#,'hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17']
)
addTagAndProbePlotter(process,'MuonPairTagAndProbePlotter',
                        'MuonHttMu12GeV8Tight',
                        'triggeredPatMuons',
                        'selectedTagAndProbeMuTracks',
                        ['ID','SIP','ISO'],
                        #['pt()>30','pt()>10000'],
                        ['pfCandidateRef().isNonnull()&&(isGlobalMuon()||isTrackerMuon())','abs(userFloat("ip3DS"))<4','(chargedHadronIso()+max(0.0,neutralHadronIso()+photonIso()-userFloat("zzRho2012")*userFloat("EAGammaNeuHadron04")))/pt()<0.15'],   
                    ['hltL3crIsoL1sMu16Eta2p1L1f0L2f16QL3f24QL3crIsoRhoFiltered0p15','hltL3fL1sMu16Eta2p1L1f0L2f16QL3Filtered24Q'],
                        ['hltL3pfL1DoubleMu10MuOpenL1f0L2pf0L3PreFiltered8','hltL3pfL1DoubleMu10MuOpenOR3p5L1f0L2pf0L3PreFiltered8']
#,'hltL3fL1DoubleMu10MuOpenL1f0L2f10L3Filtered17']