CMS 3D CMS Logo

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

Functions

def getPrescalesFromKey (key)
 my $pyPrintTable = "echo 'for X in process.PrescaleService.prescaleTable: print \"%s %s" % (X.pathName.value(), X.prescales[0])'"; More...
 

Variables

 args
 
 default
 
 dest
 
 edmCfgFromDB
 
 help
 
 jsonFile
 
 jsout
 
 key
 
 metavar
 
 options
 
 parser
 
 path
 
 prescaleTable
 
 psfactor
 
 runKeys
 
 runs
 
 type
 
 usage
 

Function Documentation

◆ getPrescalesFromKey()

def getHLTPrescaleColumns.getPrescalesFromKey (   key)

my $pyPrintTable = "echo 'for X in process.PrescaleService.prescaleTable: print \"%s %s" % (X.pathName.value(), X.prescales[0])'";

Definition at line 22 of file getHLTPrescaleColumns.py.

References FastTimerService_cff.range.

22 def getPrescalesFromKey(key):
23  #stderr.write("\t%s ...\n" % key);
24  cmd = ( edmCfgFromDB +" --configName "+key + " | grep -i "+ path + " | tail -1 | awk ' $2 ==\"%s\" {print $NL}' " ) % path
25  res = subprocess.getoutput(cmd)
26  res_split = res.split()
27  psMap = {}
28  aa=""
29  if len(res)>0:
30  for uu in range(3,len(res_split)-1):
31  if uu % 2 == 1:
32  aa = aa + res_split[uu] + "\t"
33  psMap[path] = aa
34  else:
35  psMap[path] = 0
36  return psMap
37 
def getPrescalesFromKey(key)
my $pyPrintTable = "echo 'for X in process.PrescaleService.prescaleTable: print \"%s %s" % (X...

Variable Documentation

◆ args

getHLTPrescaleColumns.args

Definition at line 13 of file getHLTPrescaleColumns.py.

◆ default

getHLTPrescaleColumns.default

Definition at line 9 of file getHLTPrescaleColumns.py.

◆ dest

getHLTPrescaleColumns.dest

Definition at line 9 of file getHLTPrescaleColumns.py.

◆ edmCfgFromDB

getHLTPrescaleColumns.edmCfgFromDB

Definition at line 20 of file getHLTPrescaleColumns.py.

◆ help

getHLTPrescaleColumns.help

Definition at line 9 of file getHLTPrescaleColumns.py.

◆ jsonFile

getHLTPrescaleColumns.jsonFile

Definition at line 57 of file getHLTPrescaleColumns.py.

◆ jsout

getHLTPrescaleColumns.jsout

Definition at line 44 of file getHLTPrescaleColumns.py.

◆ key

getHLTPrescaleColumns.key

Definition at line 46 of file getHLTPrescaleColumns.py.

◆ metavar

getHLTPrescaleColumns.metavar

Definition at line 9 of file getHLTPrescaleColumns.py.

◆ options

getHLTPrescaleColumns.options

Definition at line 13 of file getHLTPrescaleColumns.py.

◆ parser

getHLTPrescaleColumns.parser

Definition at line 8 of file getHLTPrescaleColumns.py.

◆ path

getHLTPrescaleColumns.path

Definition at line 17 of file getHLTPrescaleColumns.py.

◆ prescaleTable

getHLTPrescaleColumns.prescaleTable

Definition at line 41 of file getHLTPrescaleColumns.py.

◆ psfactor

getHLTPrescaleColumns.psfactor

Definition at line 49 of file getHLTPrescaleColumns.py.

◆ runKeys

getHLTPrescaleColumns.runKeys

Definition at line 40 of file getHLTPrescaleColumns.py.

◆ runs

getHLTPrescaleColumns.runs

Definition at line 42 of file getHLTPrescaleColumns.py.

◆ type

getHLTPrescaleColumns.type

Definition at line 9 of file getHLTPrescaleColumns.py.

◆ usage

getHLTPrescaleColumns.usage

Definition at line 8 of file getHLTPrescaleColumns.py.