Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:24

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 _ecalBarrelEtaCut = cms.PSet(
0004     rangeVar = cms.string("eta"),
0005     allowedRanges=cms.vstring("-1.4442:1.4442")
0006     )
0007 _ecalEndcapEtaCut = cms.PSet(
0008     rangeVar = cms.string("eta"),
0009     allowedRanges=cms.vstring("-2.5:-1.556","1.556:2.5")
0010     )
0011 
0012 _ecalEtaCut = cms.PSet(
0013     rangeVar = cms.string("eta"),
0014     allowedRanges=cms.vstring("-2.5:-1.556","-1.4442:1.4442","1.556:2.5")
0015     )
0016 
0017 _ptEBHist = cms.PSet(
0018     nameSuffex = cms.string("_ptEB"),
0019     titleSuffex = cms.string(" (Barrel);p_{T} [GeV];mass [GeV]"),
0020     bins = cms.vdouble(32,40,50,100),
0021     filler = cms.PSet(var = cms.string("pt"),localCuts = cms.VPSet(_ecalBarrelEtaCut))
0022     )
0023 _ptEEHist = cms.PSet(
0024     nameSuffex = cms.string("_ptEE"),
0025     titleSuffex = cms.string(" (Endcap);p_{T} [GeV];mass [GeV]"),
0026     bins = cms.vdouble(32,40,50,100),
0027     filler = cms.PSet(var = cms.string("pt"),localCuts = cms.VPSet(_ecalEndcapEtaCut))
0028     )
0029 _phiEBHist = cms.PSet(
0030     nameSuffex = cms.string("_phiEB"),
0031     titleSuffex = cms.string(" (Barrel);#phi [rad];mass [GeV]"),
0032     bins = cms.vdouble(-3.14,-1.57,0,1.57,3.14),
0033     filler = cms.PSet(var = cms.string("phi"),localCuts = cms.VPSet(_ecalBarrelEtaCut))
0034     )
0035 _phiEEHist = cms.PSet(
0036     nameSuffex = cms.string("_phiEE"),
0037     titleSuffex = cms.string(" (Endcap);#phi [rad];mass [GeV]"),
0038     bins = cms.vdouble(-3.14,-1.57,0,1.57,3.14),
0039     filler = cms.PSet(var = cms.string("phi"),localCuts = cms.VPSet(_ecalEndcapEtaCut))
0040     )
0041 _etaHist = cms.PSet(
0042     nameSuffex = cms.string("_eta"),
0043     titleSuffex = cms.string(";#eta;mass [GeV]"),
0044     bins = cms.vdouble(-2.5,-1.5,0,1.5,2.5),
0045     filler = cms.PSet(var = cms.string("eta"),localCuts = cms.VPSet())
0046     )
0047 
0048 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0049 trigObjTnPSource = DQMEDAnalyzer('TrigObjTnPSource',
0050   triggerEvent = cms.InputTag('hltTriggerSummaryAOD','','HLT'),
0051   triggerResults = cms.InputTag('TriggerResults','','HLT'),
0052   histColls = cms.VPSet(cms.PSet(
0053     tagCuts = cms.VPSet(_ecalBarrelEtaCut),
0054     probeCuts = cms.VPSet(_ecalEtaCut),
0055     tagFilters = cms.PSet(
0056       filterSets = cms.VPSet(
0057         cms.PSet( 
0058            filters = cms.vstring(
0059              "hltEle32WPTightGsfTrackIsoFilter"
0060            ),
0061            isAND = cms.bool(False)
0062         ),
0063       ),
0064       isAND = cms.bool(False)
0065     ),
0066     collName = cms.string("stdTag"),
0067     folderName = cms.string("HLT/EGM/TrigObjTnP"),
0068     evtTrigSel = cms.PSet(
0069       selectionStr = cms.string("HLT_Ele32_WPTight_Gsf_v*"),
0070       isANDForExpandedPaths = cms.bool(False),
0071       verbose = cms.int32(1)
0072     ),
0073     histDefs = cms.PSet(
0074       massBins = cms.vdouble(i for i in range(60,120+1)),
0075       configs = cms.VPSet(_ptEBHist,_ptEEHist,_phiEBHist,_phiEEHist,_etaHist)
0076     ),
0077     probeFilters = cms.vstring("hltEG32L1SingleEGOrEtFilter",
0078                                "hltEle32WPTightClusterShapeFilter",
0079                                "hltEle32WPTightHEFilter",
0080                                "hltEle32WPTightEcalIsoFilter",
0081                                "hltEle32WPTightHcalIsoFilter",
0082                                "hltEle32WPTightPixelMatchFilter",
0083                                "hltEle32WPTightPMS2Filter",
0084                                "hltEle32WPTightGsfOneOEMinusOneOPFilter",
0085                                "hltEle32WPTightGsfMissingHitsFilter",
0086                                "hltEle32WPTightGsfDetaFilter",
0087                                "hltEle32WPTightGsfDphiFilter",
0088                                "hltEle32WPTightGsfTrackIsoFilter")           
0089   ))
0090 )