コード例 #1
0
endcapMuonParams = cms.PSet(
    d0Cut = cms.untracked.double(1000.0),
    z0Cut = cms.untracked.double(1000.0),
    recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) > 1.4 && "
                                    "abs(eta) < 2.0"),
    hltCuts  = cms.untracked.string("abs(eta) > 1.4 && abs(eta) < 2.0"),
)

allMuonParams = cms.PSet(
    d0Cut = cms.untracked.double(1000.0),
    z0Cut = cms.untracked.double(1000.0),
    recoCuts = cms.untracked.string("isStandAloneMuon && abs(eta) < 2.0"),
    hltCuts  = cms.untracked.string("abs(eta) < 2.0"),
)

barrelAnalyzer = hltMuonOfflineAnalyzer.clone()
barrelAnalyzer.destination = "HLT/Muon/DistributionsBarrel"
barrelAnalyzer.targetParams = barrelMuonParams
barrelAnalyzer.probeParams = cms.PSet()

endcapAnalyzer = hltMuonOfflineAnalyzer.clone()
endcapAnalyzer.destination = "HLT/Muon/DistributionsEndcap"
endcapAnalyzer.targetParams = endcapMuonParams
endcapAnalyzer.probeParams = cms.PSet()

allAnalyzer = hltMuonOfflineAnalyzer.clone()
allAnalyzer.destination = "HLT/Muon/DistributionsAll"
allAnalyzer.targetParams = allMuonParams
allAnalyzer.probeParams = allMuonParams

hltMuonOfflineAnalyzers = cms.Sequence(
コード例 #2
0
import FWCore.ParameterSet.Config as cms

from DQMOffline.Trigger.HLTMuonOfflineAnalyzer_cfi import hltMuonOfflineAnalyzer

globalMuonParams = cms.PSet(
    d0Cut=cms.untracked.double(2.0),
    z0Cut=cms.untracked.double(25.0),
    recoCuts=cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"),
    hltCuts=cms.untracked.string("abs(eta) < 2.4"),
)

globalAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
globalAnalyzerTnP.destination = "HLT/Muon/DistributionsGlobal"
globalAnalyzerTnP.targetParams = globalMuonParams
#globalAnalyzerTnP.probeParams = cms.PSet()

refPathsList = cms.vstring(
    "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v",
    "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v",
    "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v",
    "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
    "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
    "HLT_TkMu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v"
    "HLT_Mu18_Mu9_DZ_v", "HLT_Mu18_Mu9_v", "HLT_Mu18_Mu9_SameSign_DZ_v",
    "HLT_Mu18_Mu9_SameSign_v")

globalAnalyzerRef = hltMuonOfflineAnalyzer.clone()
globalAnalyzerRef.destination = "HLT/Muon/DistributionsGlobal"
globalAnalyzerRef.targetParams = globalMuonParams
globalAnalyzerRef.hltPathsToCheck = refPathsList
globalAnalyzerRef.requiredTriggers = cms.untracked.vstring(
コード例 #3
0
)



looseMuonParams = cms.PSet(
    d0Cut = cms.untracked.double(50),
    z0Cut = cms.untracked.double(100),
    recoCuts = cms.untracked.string(' && '.join([
        "isPFMuon && (isTrackerMuon || isGlobalMuon)",
        "(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt < 0.25"
        ])),
    hltCuts  = cms.untracked.string("abs(eta) < 2.4"),
)


globalAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
globalAnalyzerTnP.destination = "HLT/Muon/DistributionsGlobal"
globalAnalyzerTnP.targetParams = globalMuonParams
#globalAnalyzerTnP.probeParams = cms.PSet()

trackerAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
trackerAnalyzerTnP.destination = "HLT/Muon/DistributionsTracker"
trackerAnalyzerTnP.targetParams = trackerMuonParams
#trackerAnalyzerTnP.probeParams = cms.PSet()

tightAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
tightAnalyzerTnP.destination = "HLT/Muon/DistributionsTight"
tightAnalyzerTnP.targetParams = tightMuonParams
#tightAnalyzerTnP.probeParams = cms.PSet() 

looseAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
コード例 #4
0
)



looseMuonParams = cms.PSet(
    d0Cut = cms.untracked.double(50),
    z0Cut = cms.untracked.double(100),
    recoCuts = cms.untracked.string(' && '.join([
        "isPFMuon && (isTrackerMuon || isGlobalMuon)",
        "(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt < 0.20"
        ])),
    hltCuts  = cms.untracked.string("abs(eta) < 2.4"),
)


globalAnalyzer = hltMuonOfflineAnalyzer.clone()
globalAnalyzer.destination = "HLT/Muon/DistributionsGlobal"
globalAnalyzer.targetParams = globalMuonParams
#globalAnalyzer.probeParams = cms.PSet()

trackerAnalyzer = hltMuonOfflineAnalyzer.clone()
trackerAnalyzer.destination = "HLT/Muon/DistributionsTracker"
trackerAnalyzer.targetParams = trackerMuonParams
#trackerAnalyzer.probeParams = cms.PSet()

tightAnalyzer = hltMuonOfflineAnalyzer.clone()
tightAnalyzer.destination = "HLT/Muon/DistributionsTight"
tightAnalyzer.targetParams = tightMuonParams
#tightAnalyzer.probeParams = cms.PSet() 

looseAnalyzer = hltMuonOfflineAnalyzer.clone()
コード例 #5
0
        "globalTrack.normalizedChi2 < 10", "numberOfMatches > 1"
    ])),
    hltCuts=cms.untracked.string("abs(eta) < 2.4"),
)

looseMuonParams = cms.PSet(
    d0Cut=cms.untracked.double(50),
    z0Cut=cms.untracked.double(100),
    recoCuts=cms.untracked.string(' && '.join([
        "isPFMuon && (isTrackerMuon || isGlobalMuon)",
        "(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt < 0.25"
    ])),
    hltCuts=cms.untracked.string("abs(eta) < 2.4"),
)

globalAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
globalAnalyzerTnP.destination = "HLT/Muon/DistributionsGlobal"
globalAnalyzerTnP.targetParams = globalMuonParams
#globalAnalyzerTnP.probeParams = cms.PSet()

trackerAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
trackerAnalyzerTnP.destination = "HLT/Muon/DistributionsTracker"
trackerAnalyzerTnP.targetParams = trackerMuonParams
#trackerAnalyzerTnP.probeParams = cms.PSet()

tightAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
tightAnalyzerTnP.destination = "HLT/Muon/DistributionsTight"
tightAnalyzerTnP.targetParams = tightMuonParams
#tightAnalyzerTnP.probeParams = cms.PSet()

looseAnalyzerTnP = hltMuonOfflineAnalyzer.clone()
コード例 #6
0
        "globalTrack.normalizedChi2 < 10", "numberOfMatches > 1"
    ])),
    hltCuts=cms.untracked.string("abs(eta) < 2.4"),
)

looseMuonParams = cms.PSet(
    d0Cut=cms.untracked.double(50),
    z0Cut=cms.untracked.double(100),
    recoCuts=cms.untracked.string(' && '.join([
        "isPFMuon && (isTrackerMuon || isGlobalMuon)",
        "(pfIsolationR04().sumChargedHadronPt + max(pfIsolationR04().sumNeutralHadronEt + pfIsolationR04().sumPhotonEt - pfIsolationR04().sumPUPt/2,0.0))/pt < 0.20"
    ])),
    hltCuts=cms.untracked.string("abs(eta) < 2.4"),
)

globalAnalyzer = hltMuonOfflineAnalyzer.clone()
globalAnalyzer.destination = "HLT/Muon/DistributionsGlobal"
globalAnalyzer.targetParams = globalMuonParams
#globalAnalyzer.probeParams = cms.PSet()

trackerAnalyzer = hltMuonOfflineAnalyzer.clone()
trackerAnalyzer.destination = "HLT/Muon/DistributionsTracker"
trackerAnalyzer.targetParams = trackerMuonParams
#trackerAnalyzer.probeParams = cms.PSet()

tightAnalyzer = hltMuonOfflineAnalyzer.clone()
tightAnalyzer.destination = "HLT/Muon/DistributionsTight"
tightAnalyzer.targetParams = tightMuonParams
#tightAnalyzer.probeParams = cms.PSet()

looseAnalyzer = hltMuonOfflineAnalyzer.clone()
コード例 #7
0
endcapMuonParams = cms.PSet(
    d0Cut=cms.untracked.double(1000.0),
    z0Cut=cms.untracked.double(1000.0),
    recoCuts=cms.untracked.string("isStandAloneMuon && abs(eta) > 1.4 && "
                                  "abs(eta) < 2.0"),
    hltCuts=cms.untracked.string("abs(eta) > 1.4 && abs(eta) < 2.0"),
)

allMuonParams = cms.PSet(
    d0Cut=cms.untracked.double(1000.0),
    z0Cut=cms.untracked.double(1000.0),
    recoCuts=cms.untracked.string("isStandAloneMuon && abs(eta) < 2.0"),
    hltCuts=cms.untracked.string("abs(eta) < 2.0"),
)

barrelAnalyzer = hltMuonOfflineAnalyzer.clone(
    destination="HLT/Muon/DistributionsBarrel", targetParams=barrelMuonParams)
barrelAnalyzer.probeParams = cms.PSet()

endcapAnalyzer = hltMuonOfflineAnalyzer.clone(
    destination="HLT/Muon/DistributionsEndcap", targetParams=endcapMuonParams)
endcapAnalyzer.probeParams = cms.PSet()

allAnalyzer = hltMuonOfflineAnalyzer.clone(
    destination="HLT/Muon/DistributionsAll",
    targetParams=allMuonParams,
    probeParams=allMuonParams)
hltMuonOfflineAnalyzers = cms.Sequence(barrelAnalyzer * endcapAnalyzer *
                                       allAnalyzer)
コード例 #8
0
endcapMuonParams = cms.PSet(
    d0Cut=cms.untracked.double(1000.0),
    z0Cut=cms.untracked.double(1000.0),
    recoCuts=cms.untracked.string("isStandAloneMuon && abs(eta) > 1.4 && "
                                  "abs(eta) < 2.0"),
    hltCuts=cms.untracked.string("abs(eta) > 1.4 && abs(eta) < 2.0"),
)

allMuonParams = cms.PSet(
    d0Cut=cms.untracked.double(1000.0),
    z0Cut=cms.untracked.double(1000.0),
    recoCuts=cms.untracked.string("isStandAloneMuon && abs(eta) < 2.0"),
    hltCuts=cms.untracked.string("abs(eta) < 2.0"),
)

barrelAnalyzer = hltMuonOfflineAnalyzer.clone()
barrelAnalyzer.destination = "HLT/Muon/DistributionsBarrel"
barrelAnalyzer.targetParams = barrelMuonParams
barrelAnalyzer.probeParams = cms.PSet()

endcapAnalyzer = hltMuonOfflineAnalyzer.clone()
endcapAnalyzer.destination = "HLT/Muon/DistributionsEndcap"
endcapAnalyzer.targetParams = endcapMuonParams
endcapAnalyzer.probeParams = cms.PSet()

allAnalyzer = hltMuonOfflineAnalyzer.clone()
allAnalyzer.destination = "HLT/Muon/DistributionsAll"
allAnalyzer.targetParams = allMuonParams
allAnalyzer.probeParams = allMuonParams

hltMuonOfflineAnalyzers = cms.Sequence(barrelAnalyzer * endcapAnalyzer *