115 print(
"... Payload size: ", result.as_int_v.size(),
" ", (4.0*result.as_int_v.size())/(1024),
"kB")
117 if result.as_int_v.size() == 0:
118 print(
"... Payload size is 0")
122 version = result.getHLTResultClassVersion()
123 l1id = result.getLvl1Id()
124 acc = result.isAccepted()
125 pt = result.isPassThrough()
126 status = result.getHLTStatus()
127 cnvstatus = result.getLvlConverterStatus()
128 level = result.getHLTLevel()
129 nosigs = result.getNumOfSatisfiedSigs()
130 bad = result.isCreatedOutsideHLT()
131 trunc = result.isHLTResultTruncated()
132 print(
'... Version:', version ,
' Lvl1Id:',l1id ,
' Decision:',acc ,
133 ' PassThrough:',pt,
' Status:',status.str(),
134 ' ConverterStatus:', cnvstatus.str(),
' LVL:',level,
' Signatures:',nosigs,
' Bad:',bad,
' Truncated:', trunc,
135 ' App:', result.appName())
138 chains_data =
list(result.getChainResult())
139 nchains = chains_data[0]
if chains_data
else 0
140 nav_data =
list(result.getNavigationResult())
142 nver = nav_data[0]
if nav_data
else 0
145 print(
'... tot:', result.as_int_v.size(),
' chains:', nchains,
' chains (expected):', len(chains_data)-1,
146 ' navigation:', nnav,
' navigation (expected):',result.getNavigationResult()[1]
if nnav > 1
else "0 or 1")
150 print(
"... SMkey: ", result.getConfigSuperMasterKey(),
" Prescalers key ", result.getConfigPrescalesKey())
152 print(
"... No config info ")
158 print(
"... Navigation version: ", nver)
161 tessize = result.getNavigationResult()[2]
162 tescount = result.getNavigationResult()[3]
163 print(
"... Number of TEs: ", tescount,
" and size: ", tessize,
" ", 4.0*tessize/(1024),
"kB")
165 print(
"... Cannot print TriggerElement details (not enough navigation data)")