Functions | |
def | configure |
def | run |
Variables | |
list | headerList = [] |
def DataQuality::ConvertToTree::configure | ( | argv = [] |
) |
Definition at line 8 of file ConvertToTree.py.
00008 : 00009 # Process module options 00010 import sys, getopt 00011 opts,args = getopt.getopt(argv,"o:h:") 00012 statsOutput = "tesTree.root" 00013 initializeDataSvc = True 00014 global headerList 00015 for opt,arg in opts: 00016 if opt == "-o": 00017 statsOutput = arg 00018 if opt == "-h": 00019 headerList.append( arg ) 00020 if statsOutput != "None": 00021 from StatisticsSvc.StatisticsSvcConf import StatisticsSvc 00022 statsSvc = StatisticsSvc() 00023 statsSvc.Output = {"file0":statsOutput} 00024 return 00025 def run(app):
def DataQuality::ConvertToTree::run | ( | app | ) |
Configure and add an algorithm to job
Definition at line 26 of file ConvertToTree.py.
00026 : 00027 ''' 00028 Configure and add an algorithm to job 00029 ''' 00030 app.ExtSvc += ["StatisticsSvc"] 00031 from DataQuality.Tools import TesToTreeAlg 00032 tesToTreeAlg = TesToTreeAlg("TesToTreeAlg") 00033 global headerList 00034 if len(headerList) > 0: 00035 tesToTreeAlg.HeaderList = headerList 00036 app.addAlgorithm(tesToTreeAlg) 00037 pass pass
list DataQuality::ConvertToTree::headerList = [] [static] |
Definition at line 6 of file ConvertToTree.py.