ATLAS Offline Software
Loading...
Searching...
No Matches
Classes
|
Functions
PlotUtils Namespace Reference
Classes
class
DiagnosticHisto
class
PlotUtils
Functions
RemoveSpecialChars
(In)
Function Documentation
◆
RemoveSpecialChars()
PlotUtils.RemoveSpecialChars
(
In
)
Definition at line
7
of file
PlotUtils.py
.
7
def
RemoveSpecialChars(In):
8
Out = In
9
NotWantedChars = [
"{"
,
"}"
,
"["
,
"]"
,
"#"
,
"^"
,
")"
,
"("
,
"'"
,
" "
,
"-"
]
10
ReplaceChars = [
"."
,
","
]
11
for
C
in
NotWantedChars:
12
Out = Out.replace(C,
""
)
13
for
C
in
ReplaceChars:
14
Out = Out.replace(C,
"_"
)
15
return
Out
16
17
Generated on
for ATLAS Offline Software by
1.14.0