CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
trigObjTnPSource_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 _ecalBarrelEtaCut = cms.PSet(
4  rangeVar = cms.string("eta"),
5  allowedRanges=cms.vstring("-1.4442:1.4442")
6  )
7 _ecalEndcapEtaCut = cms.PSet(
8  rangeVar = cms.string("eta"),
9  allowedRanges=cms.vstring("-2.5:-1.556","1.556:2.5")
10  )
11 
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")
15  )
16 
17 _ptEBHist = cms.PSet(
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))
22  )
23 _ptEEHist = cms.PSet(
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))
28  )
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))
34  )
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))
40  )
41 _etaHist = cms.PSet(
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())
46  )
47 
48 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
49 trigObjTnPSource = DQMEDAnalyzer('TrigObjTnPSource',
50  triggerEvent = cms.InputTag('hltTriggerSummaryAOD','','HLT'),
51  triggerResults = cms.InputTag('TriggerResults','','HLT'),
52  histColls = cms.VPSet(cms.PSet(
53  tagCuts = cms.VPSet(_ecalBarrelEtaCut),
54  probeCuts = cms.VPSet(_ecalEtaCut),
55  tagFilters = cms.PSet(
56  filterSets = cms.VPSet(
57  cms.PSet(
58  filters = cms.vstring(
59  "hltEle32WPTightGsfTrackIsoFilter"
60  ),
61  isAND = cms.bool(False)
62  ),
63  ),
64  isAND = cms.bool(False)
65  ),
66  collName = cms.string("stdTag"),
67  folderName = cms.string("HLT/EGM/TrigObjTnP"),
68  evtTrigSel = cms.PSet(
69  selectionStr = cms.string("HLT_Ele32_WPTight_Gsf_v*"),
70  isANDForExpandedPaths = cms.bool(False),
71  verbose = cms.int32(1)
72  ),
73  histDefs = cms.PSet(
74  massBins = cms.vdouble(i for i in range(60,120+1)),
75  configs = cms.VPSet(_ptEBHist,_ptEEHist,_phiEBHist,_phiEEHist,_etaHist)
76  ),
77  probeFilters = cms.vstring("hltEG32L1SingleEGOrEtFilter",
78  "hltEle32WPTightClusterShapeFilter",
79  "hltEle32WPTightHEFilter",
80  "hltEle32WPTightEcalIsoFilter",
81  "hltEle32WPTightHcalIsoFilter",
82  "hltEle32WPTightPixelMatchFilter",
83  "hltEle32WPTightPMS2Filter",
84  "hltEle32WPTightGsfOneOEMinusOneOPFilter",
85  "hltEle32WPTightGsfMissingHitsFilter",
86  "hltEle32WPTightGsfDetaFilter",
87  "hltEle32WPTightGsfDphiFilter",
88  "hltEle32WPTightGsfTrackIsoFilter")
89  ))
90 )
const uint16_t range(const Frame &aFrame)