CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Tau3MuMonitor_cfi.py
Go to the documentation of this file.
1 from math import pi
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 from DQMOffline.Trigger.tau3muMonitoring_cfi import tau3muMonitoring
6 
7 hltTau3Mumonitoring = tau3muMonitoring.clone()
8 
9 # DQM directory
10 hltTau3Mumonitoring.FolderName = cms.string('HLT/BPH/Tau3Mu/')
11 
12 # histogram binning
13 hltTau3Mumonitoring.histoPSet.ptPSet = cms.PSet(
14  nbins = cms.uint32( 40 ),
15  xmin = cms.double(- 0.5),
16  xmax = cms.double( 99.5),
17 )
18 hltTau3Mumonitoring.histoPSet.etaPSet = cms.PSet(
19  nbins = cms.uint32( 10 ),
20  xmin = cms.double(- 2.6),
21  xmax = cms.double( 2.6),
22 )
23 hltTau3Mumonitoring.histoPSet.phiPSet = cms.PSet(
24  nbins = cms.uint32( 10),
25  xmin = cms.double(-pi),
26  xmax = cms.double( pi),
27 )
28 hltTau3Mumonitoring.histoPSet.massPSet = cms.PSet(
29  nbins = cms.uint32( 40 ),
30  xmin = cms.double( 0.5),
31  xmax = cms.double( 3. ),
32 )
33 
34 hltTau3Mumonitoring.taus = cms.InputTag("hltTauPt15MuPts711Mass1p3to2p1Iso", "Taus") # 3-muon candidates
35 
36 hltTau3Mumonitoring.GenericTriggerEventPSet.andOr = cms.bool( False ) # https://github.com/cms-sw/cmssw/blob/76d343005c33105be1e01b7b7278c07d753398db/CommonTools/TriggerUtils/src/GenericTriggerEventFlag.cc#L249
37 hltTau3Mumonitoring.GenericTriggerEventPSet.andOrHlt = cms.bool( True ) # https://github.com/cms-sw/cmssw/blob/76d343005c33105be1e01b7b7278c07d753398db/CommonTools/TriggerUtils/src/GenericTriggerEventFlag.cc#L114
38 hltTau3Mumonitoring.GenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Tau3Mu_Mu7_Mu1_TkMu1_IsoTau15_v*")
39 # determine the DCS partitions to be active https://github.com/cms-sw/cmssw/blob/b767924e38a6b75340e6e120ece95b648bd11d2d/DataFormats/Scalers/interface/DcsStatus.h#L35
40 # RPC (12) + DT (13-15) + CSC (16-17) + TRK (24-27) + PIX (28-29)
41 hltTau3Mumonitoring.GenericTriggerEventPSet.dcsPartitions = cms.vint32(12, 13, 14, 15, 16, 17, 24, 25, 26, 27, 28, 29)
42 # hltTau3Mumonitoring.GenericTriggerEventPSet.verbosityLevel = cms.uint32(2) # set to 2 for debugging
43 # hltTau3Mumonitoring.GenericTriggerEventPSet.hltInputTag = cms.InputTag("TriggerResults::reHLT") # change the process name to reHLT when running tests (if the process used to rerun the HLT is reHLT, of course)
44