CMS 3D CMS Logo

Functions | Variables
defaults_cfi Namespace Reference

Functions

def genjet_distribution_name (ietabin)
 
def offset_name (var, ivar, itype)
 
def recojet_distribution_name (ietabin)
 
def response_distribution_name (iptbin, ietabin)
 

Variables

 candidateDict
 
 candidateType
 
 eBinsOffset
 
 eHighOffset
 
 eLowOffset
 
 etabins
 
 etaBinsOffset
 
 genjetDir
 
 jetResponseDir
 
 muHighOffset
 
 muLowOffset
 
 npvHighOffset
 
 npvLowOffset
 
 offsetDir
 
 offsetPlotBaseName
 
 offsetR
 
 offsetVariableType
 
 pdgIDDict
 
 ptbins
 
 pvzHighOffset
 

Function Documentation

◆ genjet_distribution_name()

def defaults_cfi.genjet_distribution_name (   ietabin)

Definition at line 14 of file defaults_cfi.py.

References python.rootplot.root2matplotlib.replace().

Referenced by particleFlowDQM_cff.createGenJetPlots().

14 def genjet_distribution_name(ietabin):
15  eta_string = "{0:.1f}".format(etabins[ietabin+1]).replace(".", "")
16  return "genjet_pt_eta{0}".format(eta_string)
17 
def replace(string, replacements)
def genjet_distribution_name(ietabin)
Definition: defaults_cfi.py:14

◆ offset_name()

def defaults_cfi.offset_name (   var,
  ivar,
  itype 
)

Definition at line 72 of file defaults_cfi.py.

72 def offset_name( var, ivar, itype ) :
73  return "{0}_{1}{2}_{3}".format( offsetPlotBaseName, var, ivar, itype )
74 
def offset_name(var, ivar, itype)
Definition: defaults_cfi.py:72

◆ recojet_distribution_name()

def defaults_cfi.recojet_distribution_name (   ietabin)

Definition at line 18 of file defaults_cfi.py.

References python.rootplot.root2matplotlib.replace().

Referenced by particleFlowDQM_cff.createRecoJetPlots().

18 def recojet_distribution_name(ietabin):
19  eta_string = "{0:.1f}".format(etabins[ietabin+1]).replace(".", "")
20  return "recojet_pt_eta{0}".format(eta_string)
21 
22 
def replace(string, replacements)
def recojet_distribution_name(ietabin)
Definition: defaults_cfi.py:18

◆ response_distribution_name()

def defaults_cfi.response_distribution_name (   iptbin,
  ietabin 
)

Definition at line 9 of file defaults_cfi.py.

References python.rootplot.root2matplotlib.replace().

Referenced by particleFlowDQM_cff.createResponsePlots().

9 def response_distribution_name(iptbin, ietabin):
10  #convert 0.5 -> "05"
11  eta_string = "{0:.1f}".format(etabins[ietabin+1]).replace(".", "")
12  return "reso_dist_{0:.0f}_{1:.0f}_eta{2}".format(ptbins[iptbin], ptbins[iptbin+1], eta_string)
13 
def replace(string, replacements)
def response_distribution_name(iptbin, ietabin)
Definition: defaults_cfi.py:9

Variable Documentation

◆ candidateDict

defaults_cfi.candidateDict

Definition at line 59 of file defaults_cfi.py.

◆ candidateType

defaults_cfi.candidateType

Definition at line 61 of file defaults_cfi.py.

◆ eBinsOffset

defaults_cfi.eBinsOffset

Definition at line 42 of file defaults_cfi.py.

◆ eHighOffset

defaults_cfi.eHighOffset

Definition at line 44 of file defaults_cfi.py.

◆ eLowOffset

defaults_cfi.eLowOffset

Definition at line 43 of file defaults_cfi.py.

◆ etabins

◆ etaBinsOffset

defaults_cfi.etaBinsOffset

Definition at line 28 of file defaults_cfi.py.

Referenced by PFClusterValidation.bookHistograms().

◆ genjetDir

defaults_cfi.genjetDir

Definition at line 24 of file defaults_cfi.py.

◆ jetResponseDir

defaults_cfi.jetResponseDir

Definition at line 23 of file defaults_cfi.py.

◆ muHighOffset

defaults_cfi.muHighOffset

Definition at line 36 of file defaults_cfi.py.

◆ muLowOffset

defaults_cfi.muLowOffset

Definition at line 35 of file defaults_cfi.py.

◆ npvHighOffset

defaults_cfi.npvHighOffset

Definition at line 39 of file defaults_cfi.py.

◆ npvLowOffset

defaults_cfi.npvLowOffset

Definition at line 38 of file defaults_cfi.py.

◆ offsetDir

defaults_cfi.offsetDir

Definition at line 67 of file defaults_cfi.py.

◆ offsetPlotBaseName

defaults_cfi.offsetPlotBaseName

Definition at line 66 of file defaults_cfi.py.

◆ offsetR

defaults_cfi.offsetR

Definition at line 68 of file defaults_cfi.py.

◆ offsetVariableType

defaults_cfi.offsetVariableType

Definition at line 70 of file defaults_cfi.py.

◆ pdgIDDict

defaults_cfi.pdgIDDict

Definition at line 64 of file defaults_cfi.py.

◆ ptbins

defaults_cfi.ptbins

Definition at line 3 of file defaults_cfi.py.

◆ pvzHighOffset

defaults_cfi.pvzHighOffset

Definition at line 40 of file defaults_cfi.py.