![]() |
ATLAS Offline Software
|
Functions | |
| def | fround (c, e) |
| def | processFile (inFileName, dirName, label, data, dataDict, index, updateIndex=True, printMultiplicity=True) |
| def | getRatio (a, ae, b, be) |
| def | computeRatios (ltest, lref, data, dataDict, printMultiplicity=True) |
Variables | |
| commandName = os.path.basename( sys.argv[0] ) | |
| string | summaryDirDefault = "InDetTrackPerfMonPlots/&TrkAnaName&/Offline/Tracks/" |
| parser = argparse.ArgumentParser( description = commandName+" options:" ) | |
| help | |
| default | |
| MyArgs = parser.parse_args() | |
| anaList = MyArgs.analyses.strip().split(',') | |
| outFile = MyArgs.outName.replace( "_&TrkAnaName&", "" ) | |
| Remove final .html if it exists. More... | |
| dictionary | data = {} |
| Looping over all the track analyses. More... | |
| dictionary | dataDict = {} |
| list | index = [] |
| anaDirName = MyArgs.dirName.replace( "&TrkAnaName&", anaName ) | |
| anaOutName = MyArgs.outName.replace( "&TrkAnaName&", anaName ) | |
| testFile = ROOT.TFile.Open( MyArgs.testFile, "READ" ) | |
| testMultiplicity = testFile.Get( anaDirName+"Multiplicities/summary" ) | |
| refFile = ROOT.TFile.Open( MyArgs.refFile, "READ" ) | |
| refMultiplicity = refFile.Get( anaDirName+"Multiplicities/summary" ) | |
| printMultiplicity = refMultiplicity or testMultiplicity | |
| inFileName | |
| Processing test file. More... | |
| dirName | |
| label | |
| updateIndex | |
| ltest | |
| Processing ratios. More... | |
| lref | |
| df = pd.DataFrame( data, index=index ) | |
| printing table to screen More... | |
| string | titleStr = f"Summary for TrackAnalysis = {anaName}:" |
| file | |
| printing table to html output file More... | |
| def PrintTrkAnaSummary.computeRatios | ( | ltest, | |
| lref, | |||
| data, | |||
| dataDict, | |||
printMultiplicity = True |
|||
| ) |
Definition at line 155 of file PrintTrkAnaSummary.py.
| def PrintTrkAnaSummary.fround | ( | c, | |
| e | |||
| ) |
| def PrintTrkAnaSummary.getRatio | ( | a, | |
| ae, | |||
| b, | |||
| be | |||
| ) |
Definition at line 147 of file PrintTrkAnaSummary.py.
| def PrintTrkAnaSummary.processFile | ( | inFileName, | |
| dirName, | |||
| label, | |||
| data, | |||
| dataDict, | |||
| index, | |||
updateIndex = True, |
|||
printMultiplicity = True |
|||
| ) |
Definition at line 32 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.anaDirName = MyArgs.dirName.replace( "&TrkAnaName&", anaName ) |
Definition at line 260 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.anaList = MyArgs.analyses.strip().split(',') |
Definition at line 21 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.anaOutName = MyArgs.outName.replace( "&TrkAnaName&", anaName ) |
Definition at line 261 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.commandName = os.path.basename( sys.argv[0] ) |
Definition at line 10 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.data = {} |
Looping over all the track analyses.
Track-analysis specific quantities
Definition at line 257 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.dataDict = {} |
Definition at line 258 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.default |
Definition at line 14 of file PrintTrkAnaSummary.py.
printing table to screen
Definition at line 307 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.dirName |
Definition at line 275 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.file |
printing table to html output file
Definition at line 314 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.help |
Definition at line 13 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.index = [] |
Definition at line 259 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.inFileName |
Processing test file.
Processing reference file.
Definition at line 274 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.label |
Definition at line 276 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.lref |
Definition at line 300 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.ltest |
Processing ratios.
Definition at line 299 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.MyArgs = parser.parse_args() |
Definition at line 20 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.outFile = MyArgs.outName.replace( "_&TrkAnaName&", "" ) |
Remove final .html if it exists.
Definition at line 250 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.parser = argparse.ArgumentParser( description = commandName+" options:" ) |
Definition at line 12 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.printMultiplicity = refMultiplicity or testMultiplicity |
Definition at line 271 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.refFile = ROOT.TFile.Open( MyArgs.refFile, "READ" ) |
Definition at line 267 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.refMultiplicity = refFile.Get( anaDirName+"Multiplicities/summary" ) |
Definition at line 268 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.summaryDirDefault = "InDetTrackPerfMonPlots/&TrkAnaName&/Offline/Tracks/" |
Definition at line 11 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.testFile = ROOT.TFile.Open( MyArgs.testFile, "READ" ) |
Definition at line 263 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.testMultiplicity = testFile.Get( anaDirName+"Multiplicities/summary" ) |
Definition at line 264 of file PrintTrkAnaSummary.py.
| string PrintTrkAnaSummary.titleStr = f"Summary for TrackAnalysis = {anaName}:" |
Definition at line 308 of file PrintTrkAnaSummary.py.
| PrintTrkAnaSummary.updateIndex |
Definition at line 292 of file PrintTrkAnaSummary.py.
1.8.18