Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
Classes
|
Functions
storeTreeInfo Namespace Reference
Classes
class
TreeAnalyzer
Functions
def
main
()
Function Documentation
def
storeTreeInfo.main
(
)
Definition at line
75
of file
storeTreeInfo.py
.
References
str
.
75
def
main
():
76
77
import
getopt
78
79
try
:
80
opts, args = getopt.getopt(sys.argv[1:],
"c:o:"
, [
'checkDir='
,
'outFile='
])
81
82
checkDir =
'.'
83
outFile =
None
84
for
opt, arg
in
opts :
85
86
if
opt
in
(
'-c'
,
"--checkDir"
, ):
87
checkDir = arg
88
89
if
opt
in
(
'-o'
,
"--outFile"
, ):
90
outFile = arg
91
92
ta =
TreeAnalyzer
(outFile)
93
ta.analyzePath(checkDir)
94
ta.show()
95
96
except
getopt.GetoptError
as
e:
97
print
"unknown option"
,
str
(e)
98
sys.exit(2)
99
storeTreeInfo.TreeAnalyzer
Definition:
storeTreeInfo.py:6
storeTreeInfo.main
def main()
Definition:
storeTreeInfo.py:75
str
#define str(s)
Definition:
TestProcessor.cc:47
Generated for CMSSW Reference Manual by
1.8.11