CMS 3D CMS Logo

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.

00073                                                     :
00074     for i in range(1,count+1):
00075         analyzer.PatternFileColumns.append("%s%d" % (name, i))
00076         analyzer.PatternFileLengths.append(length)
00077         analyzer.PatternFileDefaultValues.append(default)

def l1GtPatternGenerator_cfi::addGMTMuons (   analyzer,
  name 
)

Definition at line 87 of file l1GtPatternGenerator_cfi.py.

00088                                :
00089     addBlock(analyzer, name, 4, 26, 0)
00090 
# set up format:
def l1GtPatternGenerator_cfi::addPSB (   analyzer,
  name 
)

Definition at line 78 of file l1GtPatternGenerator_cfi.py.

00079                           :
00080     addBlock(analyzer, name, 4, 16, 0)
00081 

def l1GtPatternGenerator_cfi::addRegionalMuons (   analyzer,
  name 
)

Definition at line 82 of file l1GtPatternGenerator_cfi.py.

00083                                     :
00084     # regional muons are different - they need to have a default of 0x0000ff00 when
00085     # empty to make input cable disconnects recognizable
00086     addBlock(analyzer, name, 4, 32, 0x0000ff00)


Variable Documentation

l1GtPatternGenerator_cfi::defaults = l1GtPatternGenerator.PatternFileDefaultValues
l1GtPatternGenerator_cfi::fields = l1GtPatternGenerator.PatternFileColumns

Definition at line 91 of file l1GtPatternGenerator_cfi.py.

Referenced by HcalCaloFlagTool::HcalCaloFlagTool().

Definition at line 4 of file l1GtPatternGenerator_cfi.py.

l1GtPatternGenerator_cfi::lengths = l1GtPatternGenerator.PatternFileLengths

Definition at line 92 of file l1GtPatternGenerator_cfi.py.

Referenced by XrdFile::readv().