CMS 3D CMS Logo

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

Functions

def addBlock
 
def addGMTMuons
 
def addPSB
 
def addRegionalMuons
 

Variables

 defaults = l1GtPatternGenerator.PatternFileDefaultValues
 
 fields = l1GtPatternGenerator.PatternFileColumns
 
tuple l1GtPatternGenerator
 
 lengths = l1GtPatternGenerator.PatternFileLengths
 

Function Documentation

def l1GtPatternGenerator_cfi.addBlock (   analyzer,
  name,
  count,
  length,
  default 
)

Definition at line 72 of file l1GtPatternGenerator_cfi.py.

Referenced by addGMTMuons(), addPSB(), and addRegionalMuons().

72 
73 def addBlock(analyzer, name, count, length, default):
74  for i in range(1,count+1):
75  analyzer.PatternFileColumns.append("%s%d" % (name, i))
76  analyzer.PatternFileLengths.append(length)
77  analyzer.PatternFileDefaultValues.append(default)
def l1GtPatternGenerator_cfi.addGMTMuons (   analyzer,
  name 
)

Definition at line 87 of file l1GtPatternGenerator_cfi.py.

References addBlock().

87 
88 def addGMTMuons(analyzer, name):
89  addBlock(analyzer, name, 4, 26, 0)
90 
# set up format:
def l1GtPatternGenerator_cfi.addPSB (   analyzer,
  name 
)

Definition at line 78 of file l1GtPatternGenerator_cfi.py.

References addBlock().

78 
79 def addPSB(analyzer, name):
80  addBlock(analyzer, name, 4, 16, 0)
81 
def l1GtPatternGenerator_cfi.addRegionalMuons (   analyzer,
  name 
)

Definition at line 82 of file l1GtPatternGenerator_cfi.py.

References addBlock().

82 
83 def addRegionalMuons(analyzer, name):
84  # regional muons are different - they need to have a default of 0x0000ff00 when
85  # empty to make input cable disconnects recognizable
86  addBlock(analyzer, name, 4, 32, 0x0000ff00)

Variable Documentation

l1GtPatternGenerator_cfi.defaults = l1GtPatternGenerator.PatternFileDefaultValues

Definition at line 93 of file l1GtPatternGenerator_cfi.py.

Referenced by edm::ParameterSetDescription.addVPSet(), edm::ParameterSetDescription.addVPSetOptional(), edm::ParameterSetDescription.addVPSetOptionalUntracked(), and edm::ParameterSetDescription.addVPSetUntracked().

l1GtPatternGenerator_cfi.fields = l1GtPatternGenerator.PatternFileColumns

Definition at line 91 of file l1GtPatternGenerator_cfi.py.

Referenced by HcalCaloFlagTool.HcalCaloFlagTool().

tuple l1GtPatternGenerator_cfi.l1GtPatternGenerator

Definition at line 4 of file l1GtPatternGenerator_cfi.py.

l1GtPatternGenerator_cfi.lengths = l1GtPatternGenerator.PatternFileLengths

Definition at line 92 of file l1GtPatternGenerator_cfi.py.