1 import FWCore.ParameterSet.Config
as cms
3 _ecalBarrelEtaCut = cms.PSet(
4 rangeVar = cms.string(
"eta"),
5 allowedRanges=cms.vstring(
"-1.4442:1.4442")
7 _ecalEndcapEtaCut = cms.PSet(
8 rangeVar = cms.string(
"eta"),
9 allowedRanges=cms.vstring(
"-2.5:-1.556",
"1.556:2.5")
12 _ecalEtaCut = cms.PSet(
13 rangeVar = cms.string(
"eta"),
14 allowedRanges=cms.vstring(
"-2.5:-1.556",
"-1.4442:1.4442",
"1.556:2.5")
18 nameSuffex = cms.string(
"_ptEB"),
19 titleSuffex = cms.string(
" (Barrel);p_{T} [GeV];mass [GeV]"),
20 bins = cms.vdouble(32,40,50,100),
21 filler = cms.PSet(var = cms.string(
"pt"),localCuts = cms.VPSet(_ecalBarrelEtaCut))
24 nameSuffex = cms.string(
"_ptEE"),
25 titleSuffex = cms.string(
" (Endcap);p_{T} [GeV];mass [GeV]"),
26 bins = cms.vdouble(32,40,50,100),
27 filler = cms.PSet(var = cms.string(
"pt"),localCuts = cms.VPSet(_ecalEndcapEtaCut))
29 _phiEBHist = cms.PSet(
30 nameSuffex = cms.string(
"_phiEB"),
31 titleSuffex = cms.string(
" (Barrel);#phi [rad];mass [GeV]"),
32 bins = cms.vdouble(-3.14,-1.57,0,1.57,3.14),
33 filler = cms.PSet(var = cms.string(
"phi"),localCuts = cms.VPSet(_ecalBarrelEtaCut))
35 _phiEEHist = cms.PSet(
36 nameSuffex = cms.string(
"_phiEE"),
37 titleSuffex = cms.string(
" (Endcap);#phi [rad];mass [GeV]"),
38 bins = cms.vdouble(-3.14,-1.57,0,1.57,3.14),
39 filler = cms.PSet(var = cms.string(
"phi"),localCuts = cms.VPSet(_ecalEndcapEtaCut))
42 nameSuffex = cms.string(
"_eta"),
43 titleSuffex = cms.string(
";#eta;mass [GeV]"),
44 bins = cms.vdouble(-2.5,-1.5,0,1.5,2.5),
45 filler = cms.PSet(var = cms.string(
"eta"),localCuts = cms.VPSet())
48 trigObjTnPSource = cms.EDAnalyzer(
'TrigObjTnPSource',
49 triggerEvent = cms.InputTag(
'hltTriggerSummaryAOD',
'',
'HLT'),
50 triggerResults = cms.InputTag(
'TriggerResults',
'',
'HLT'),
51 histColls = cms.VPSet(cms.PSet(
52 tagCuts = cms.VPSet(_ecalBarrelEtaCut),
53 probeCuts = cms.VPSet(_ecalEtaCut),
54 tagFilters = cms.PSet(
55 filterSets = cms.VPSet(
57 filters = cms.vstring(
58 "hltEle32WPTightGsfTrackIsoFilter" 60 isAND = cms.bool(
False)
63 isAND = cms.bool(
False)
65 collName = cms.string(
"stdTag"),
66 folderName = cms.string(
"HLT/EGM/TrigObjTnP"),
67 evtTrigSel = cms.PSet(
68 selectionStr = cms.string(
"HLT_Ele32_WPTight_Gsf_v*"),
69 isANDForExpandedPaths = cms.bool(
False),
70 verbose = cms.int32(1)
73 massBins = cms.vdouble(i
for i
in range(60,120+1)),
74 configs = cms.VPSet(_ptEBHist,_ptEEHist,_phiEBHist,_phiEEHist,_etaHist)
76 probeFilters = cms.vstring(
"hltEG32L1SingleEGOrEtFilter",
77 "hltEle32WPTightClusterShapeFilter",
78 "hltEle32WPTightHEFilter",
79 "hltEle32WPTightEcalIsoFilter",
80 "hltEle32WPTightHcalIsoFilter",
81 "hltEle32WPTightPixelMatchFilter",
82 "hltEle32WPTightPMS2Filter",
83 "hltEle32WPTightGsfOneOEMinusOneOPFilter",
84 "hltEle32WPTightGsfMissingHitsFilter",
85 "hltEle32WPTightGsfDetaFilter",
86 "hltEle32WPTightGsfDphiFilter",
87 "hltEle32WPTightGsfTrackIsoFilter")