1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
'''
This code specifies which Double Muon and Single Muon triggers (numerator) and
HLTriggers, as defined in triggerSelection (denominator) to use in
ScoutingMuonTriggerAnalyzer.cc.
Author: Javier Garcia de Castro, email:javigdc@bu.edu
'''
import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
#List of Double and Single Muon triggers (numerator)
DoubleMuL1 = [
"L1_DoubleMu0_Upt8_SQ_er2p0",
"L1_DoubleMu0_Upt7_SQ_er2p0",
"L1_DoubleMu_15_7",
"L1_DoubleMu4p5er2p0_SQ_OS_Mass_Min7",
"L1_DoubleMu4p5er2p0_SQ_OS_Mass_7to18",
"L1_DoubleMu8_SQ",
"L1_DoubleMu4er2p0_SQ_OS_dR_Max1p6",
"L1_DoubleMu0er1p4_SQ_OS_dR_Max1p4",
"L1_DoubleMu4p5_SQ_OS_dR_Max1p2",
"L1_DoubleMu0_Upt15_Upt7",
"L1_DoubleMu0_Upt6_IP_Min1_Upt4",
"L1_DoubleMu0_Upt6_SQ_er2p0"
]
SingleMuL1 = ["L1_SingleMu11_SQ14_BMTF","L1_SingleMu10_SQ14_BMTF"]
ScoutingMuonTriggerAnalysis = DQMEDAnalyzer('ScoutingMuonTriggerAnalyzer',
OutputInternalPath = cms.string('/HLT/ScoutingOffline/Muons/L1Efficiency'), #Output of the root file
ScoutingMuonCollection = cms.InputTag('hltScoutingMuonPackerVtx'),
triggerSelection = cms.vstring(["DST_PFScouting_ZeroBias_v*", "DST_PFScouting_DoubleEG_v*", "DST_PFScouting_JetHT_v*"]), #Denominator
triggerConfiguration = cms.PSet(
hltResults = cms.InputTag('TriggerResults','','HLT'),
l1tResults = cms.InputTag('','',''),
l1tIgnoreMaskAndPrescale = cms.bool(False),
throw = cms.bool(True),
usePathStatus = cms.bool(False),
),
AlgInputTag = cms.InputTag("gtStage2Digis"),
l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
ReadPrescalesFromFile = cms.bool(False),
l1Seeds = cms.vstring(SingleMuL1+DoubleMuL1) #Full list of L1 seeds
)
#Name given to add to the sequence in test/runScoutingMonitoringDQM_muonOnly_cfg.py
scoutingMonitoringTriggerMuon = cms.Sequence(ScoutingMuonTriggerAnalysis)
|