CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
defaults_cfi Namespace Reference

Functions

def genjet_distribution_name
 
def offset_name
 
def response_distribution_name
 

Variables

dictionary candidateDict = {211:"chm", 11:"lep", 13:"lep", 22:"ne", 130:"nh", 1:"hfh", 2:"hfe"}
 
list candidateType = ["chm", "chu", "nh", "ne", "hfh", "hfe", "lep"]
 
int eBinsOffset = 1000
 
int eHighOffset = 1000
 
int eLowOffset = 0
 
list etabins = [0.0, 0.5, 1.3, 2.1, 2.5, 3.0, 5.0]
 
list etaBinsOffset
 
string genjetDir = 'ParticleFlow/GenJets/'
 
string jetResponseDir = 'ParticleFlow/JetResponse/'
 
int muHighOffset = 100
 
int muLowOffset = 0
 
int npvHighOffset = 100
 
int npvLowOffset = 0
 
string offsetDir = 'ParticleFlow/Offset/'
 
string offsetPlotBaseName = 'p_offset_eta'
 
float offsetR = 0.4
 
list offsetVariableType = ["npv", "mu"]
 
dictionary pdgIDDict = {211: "chargedHadron", 11:"electron", 13:"muon", 22:"photon", 130:"neutralHadron", 1:"HF_hadron", 2: "HF_EM_particle"}
 
list ptbins
 

Function Documentation

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 
15 def genjet_distribution_name(ietabin):
16  eta_string = "{0:.1f}".format(etabins[ietabin+1]).replace(".", "")
17  return "genjet_pt_eta{0}".format(eta_string)
def genjet_distribution_name
Definition: defaults_cfi.py:14
def defaults_cfi.offset_name (   var,
  ivar,
  itype 
)

Definition at line 66 of file defaults_cfi.py.

66 
67 def offset_name( var, ivar, itype ) :
68  return "{0}_{1}{2}_{3}".format( offsetPlotBaseName, var, ivar, itype )
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 
10 def response_distribution_name(iptbin, ietabin):
11  #convert 0.5 -> "05"
12  eta_string = "{0:.1f}".format(etabins[ietabin+1]).replace(".", "")
13  return "reso_dist_{0:.0f}_{1:.0f}_eta{2}".format(ptbins[iptbin], ptbins[iptbin+1], eta_string)
def response_distribution_name
Definition: defaults_cfi.py:9

Variable Documentation

dictionary defaults_cfi.candidateDict = {211:"chm", 11:"lep", 13:"lep", 22:"ne", 130:"nh", 1:"hfh", 2:"hfe"}

Definition at line 53 of file defaults_cfi.py.

list defaults_cfi.candidateType = ["chm", "chu", "nh", "ne", "hfh", "hfe", "lep"]

Definition at line 55 of file defaults_cfi.py.

int defaults_cfi.eBinsOffset = 1000

Definition at line 36 of file defaults_cfi.py.

int defaults_cfi.eHighOffset = 1000

Definition at line 38 of file defaults_cfi.py.

int defaults_cfi.eLowOffset = 0

Definition at line 37 of file defaults_cfi.py.

list defaults_cfi.etabins = [0.0, 0.5, 1.3, 2.1, 2.5, 3.0, 5.0]

Definition at line 7 of file defaults_cfi.py.

Referenced by QcdHighPtDQM.analyze(), ResolutionCreator.beginJob(), TagAndProbeBtagTriggerMonitor.bookHistograms(), MuonMonitor.fillDescriptions(), HcalObjRepresent.FillUnphysicalHEHFBins(), FixedGridEnergyDensity.fixedGridRho(), HcalDDDRecConstants.HcalCellTypes(), HcalFlexiHardcodeGeometryLoader.makeHBCells(), HcalFlexiHardcodeGeometryLoader.makeHECells(), and HcalDDDRecConstants.nCells().

list defaults_cfi.etaBinsOffset
Initial value:
1 = [-5.191, -4.889, -4.716, -4.538, -4.363, -4.191, -4.013, -3.839, -3.664, -3.489, -3.314, -3.139, -2.964, -2.853, -2.65,
2  -2.5, -2.322, -2.172, -2.043, -1.93, -1.83, -1.74, -1.653, -1.566, -1.479, -1.392, -1.305, -1.218, -1.131, -1.044, -0.957,
3  -0.879, -0.783, -0.696, -0.609, -0.522, -0.435, -0.348, -0.261, -0.174, -0.087, 0,
4  0.087, 0.174, 0.261, 0.348, 0.435, 0.522, 0.609, 0.696, 0.783, 0.879, 0.957, 1.044, 1.131, 1.218, 1.305, 1.392, 1.479,
5  1.566, 1.653, 1.74, 1.83, 1.93, 2.043, 2.172, 2.322, 2.5, 2.65, 2.853, 2.964, 3.139, 3.314, 3.489, 3.664, 3.839, 4.013,
6  4.191, 4.363, 4.538, 4.716, 4.889, 5.191]

Definition at line 23 of file defaults_cfi.py.

Referenced by PFClusterValidation.bookHistograms().

string defaults_cfi.genjetDir = 'ParticleFlow/GenJets/'

Definition at line 19 of file defaults_cfi.py.

string defaults_cfi.jetResponseDir = 'ParticleFlow/JetResponse/'

Definition at line 18 of file defaults_cfi.py.

int defaults_cfi.muHighOffset = 100

Definition at line 31 of file defaults_cfi.py.

int defaults_cfi.muLowOffset = 0

Definition at line 30 of file defaults_cfi.py.

int defaults_cfi.npvHighOffset = 100

Definition at line 34 of file defaults_cfi.py.

int defaults_cfi.npvLowOffset = 0

Definition at line 33 of file defaults_cfi.py.

string defaults_cfi.offsetDir = 'ParticleFlow/Offset/'

Definition at line 61 of file defaults_cfi.py.

string defaults_cfi.offsetPlotBaseName = 'p_offset_eta'

Definition at line 60 of file defaults_cfi.py.

float defaults_cfi.offsetR = 0.4

Definition at line 62 of file defaults_cfi.py.

list defaults_cfi.offsetVariableType = ["npv", "mu"]

Definition at line 64 of file defaults_cfi.py.

dictionary defaults_cfi.pdgIDDict = {211: "chargedHadron", 11:"electron", 13:"muon", 22:"photon", 130:"neutralHadron", 1:"HF_hadron", 2: "HF_EM_particle"}

Definition at line 58 of file defaults_cfi.py.

list defaults_cfi.ptbins
Initial value:
1 = [
2  15, 21, 28, 37, 49, 64, 84, 114, 153, 196, 272, 330, 395, 468, 548, 686, 846, 1032, 1248, 1588, 2000, 2500, 3103, 3832, 4713, 5777, 7000
3  #10,24,32,43,56,74,97,133,174,245,300,362,430,507,592,686,846,1032,1248,1588,2000,2500,3000,4000,6000
4 ]

Definition at line 3 of file defaults_cfi.py.

Referenced by ResolutionCreator.beginJob(), L1ValidatorHists.Book(), TagAndProbeBtagTriggerMonitor.bookHistograms(), L1TStage2BMTF.bookHistograms(), and PFJetAnalyzerDQM.prepareGenJetPlots().