CMS 3D CMS Logo

Functions | Variables
offsetAnalyzerDQM_cff Namespace Reference

Functions

def createOffsetVPSet ()
 
def createTH1DVPSet ()
 
def plotPSet (name, title, dir, nx, x0, x1, ny=0, y0=0, y1=0, vx=[0], vy=[0])
 

Variables

 etabins
 
 muHigh
 
 muTag
 
 npvHigh
 
 offsetAnalyzerDQM
 
 offsetDir
 
 offsetDQMPostProcessor
 
 offsetPlotBaseName
 
 offsetPlots
 
 offsetR
 
 offsetVariableTypes
 
 pdgKeys
 
 pdgStrs
 
 pfTag
 
 pftypes
 
 pvTag
 
 th1dPlots
 

Function Documentation

◆ createOffsetVPSet()

def offsetAnalyzerDQM_cff.createOffsetVPSet ( )

Definition at line 21 of file offsetAnalyzerDQM_cff.py.

21 def createOffsetVPSet():
22  plots = []
23  murange = range( default.muLowOffset, default.muHighOffset )
24  npvrange = range( default.npvLowOffset, default.npvHighOffset )
25 
26  for pftype in default.candidateType :
27  for mu in murange :
28  name = default.offset_name( "mu", mu, pftype )
29  plots += [ plotPSet(
30  name,
31  name+";#eta;<Offset Energy_{T}> [GeV]",
32  "{0}muPlots/mu{1}".format(default.offsetDir, mu),
33  #variable xbinning
34  0, 0, 0, default.eBinsOffset, default.eLowOffset, default.eHighOffset,
35  default.etaBinsOffset
36  )]
37 
38  for npv in npvrange :
39  name = default.offset_name( "npv", npv, pftype )
40  plots += [ plotPSet(
41  name,
42  name+";#eta;<Offset Energy_{T}> [GeV]",
43  "{0}npvPlots/npv{1}".format(default.offsetDir, npv),
44  #variable xbinning
45  0, 0, 0, default.eBinsOffset, default.eLowOffset, default.eHighOffset,
46  default.etaBinsOffset
47  )]
48  return plots
49 

References plotPSet(), and FastTimerService_cff.range.

◆ createTH1DVPSet()

def offsetAnalyzerDQM_cff.createTH1DVPSet ( )

Definition at line 50 of file offsetAnalyzerDQM_cff.py.

50 def createTH1DVPSet():
51  plots = []
52  #hname, title, xmax
53  toplot = ( ("mu", "#mu", default.muHighOffset), ("npv", "N_{PV}", default.npvHighOffset) )
54 
55  for hname, title, xmax in toplot :
56  plots += [ plotPSet(
57  hname,
58  hname + ";" + title,
59  default.offsetDir,
60  xmax, 0, xmax
61  )]
62  return plots
63 

References plotPSet().

◆ plotPSet()

def offsetAnalyzerDQM_cff.plotPSet (   name,
  title,
  dir,
  nx,
  x0,
  x1,
  ny = 0,
  y0 = 0,
  y1 = 0,
  vx = [0],
  vy = [0] 
)

Definition at line 6 of file offsetAnalyzerDQM_cff.py.

6 def plotPSet(name, title, dir, nx, x0, x1, ny=0, y0=0, y1=0, vx=[0], vy=[0]):
7  return cms.PSet(
8  name = cms.string(name),
9  title = cms.string(title),
10  dir = cms.string(dir),
11  nx = cms.uint32(nx),
12  x0 = cms.double(x0),
13  x1 = cms.double(x1),
14  ny = cms.uint32(ny),
15  y0 = cms.double(y0),
16  y1 = cms.double(y1),
17  vx = cms.vdouble(vx),
18  vy = cms.vdouble(vy)
19  )
20 

Referenced by createOffsetVPSet(), and createTH1DVPSet().

Variable Documentation

◆ etabins

offsetAnalyzerDQM_cff.etabins

Definition at line 78 of file offsetAnalyzerDQM_cff.py.

◆ muHigh

offsetAnalyzerDQM_cff.muHigh

Definition at line 79 of file offsetAnalyzerDQM_cff.py.

◆ muTag

offsetAnalyzerDQM_cff.muTag

Definition at line 67 of file offsetAnalyzerDQM_cff.py.

Referenced by l1t::L1TGlobalAnalyzer.L1TGlobalAnalyzer().

◆ npvHigh

offsetAnalyzerDQM_cff.npvHigh

Definition at line 80 of file offsetAnalyzerDQM_cff.py.

◆ offsetAnalyzerDQM

offsetAnalyzerDQM_cff.offsetAnalyzerDQM

Definition at line 64 of file offsetAnalyzerDQM_cff.py.

◆ offsetDir

offsetAnalyzerDQM_cff.offsetDir

Definition at line 87 of file offsetAnalyzerDQM_cff.py.

◆ offsetDQMPostProcessor

offsetAnalyzerDQM_cff.offsetDQMPostProcessor

Definition at line 84 of file offsetAnalyzerDQM_cff.py.

◆ offsetPlotBaseName

offsetAnalyzerDQM_cff.offsetPlotBaseName

Definition at line 73 of file offsetAnalyzerDQM_cff.py.

◆ offsetPlots

offsetAnalyzerDQM_cff.offsetPlots

Definition at line 74 of file offsetAnalyzerDQM_cff.py.

◆ offsetR

offsetAnalyzerDQM_cff.offsetR

Definition at line 89 of file offsetAnalyzerDQM_cff.py.

◆ offsetVariableTypes

offsetAnalyzerDQM_cff.offsetVariableTypes

Definition at line 88 of file offsetAnalyzerDQM_cff.py.

◆ pdgKeys

offsetAnalyzerDQM_cff.pdgKeys

◆ pdgStrs

offsetAnalyzerDQM_cff.pdgStrs

◆ pfTag

offsetAnalyzerDQM_cff.pfTag

Definition at line 68 of file offsetAnalyzerDQM_cff.py.

◆ pftypes

offsetAnalyzerDQM_cff.pftypes

Definition at line 77 of file offsetAnalyzerDQM_cff.py.

◆ pvTag

offsetAnalyzerDQM_cff.pvTag

Definition at line 66 of file offsetAnalyzerDQM_cff.py.

◆ th1dPlots

offsetAnalyzerDQM_cff.th1dPlots

Definition at line 75 of file offsetAnalyzerDQM_cff.py.

FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
offsetAnalyzerDQM_cff.createOffsetVPSet
def createOffsetVPSet()
Definition: offsetAnalyzerDQM_cff.py:21
offsetAnalyzerDQM_cff.createTH1DVPSet
def createTH1DVPSet()
Definition: offsetAnalyzerDQM_cff.py:50
offsetAnalyzerDQM_cff.plotPSet
def plotPSet(name, title, dir, nx, x0, x1, ny=0, y0=0, y1=0, vx=[0], vy=[0])
Definition: offsetAnalyzerDQM_cff.py:6
format