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
76
of file
storeTreeInfo.py
.
References
edm.print()
, and
str
.
76
def
main
():
77
78
import
getopt
79
80
try
:
81
opts, args = getopt.getopt(sys.argv[1:],
"c:o:"
, [
'checkDir='
,
'outFile='
])
82
83
checkDir =
'.'
84
outFile =
None
85
for
opt, arg
in
opts :
86
87
if
opt
in
(
'-c'
,
"--checkDir"
, ):
88
checkDir = arg
89
90
if
opt
in
(
'-o'
,
"--outFile"
, ):
91
outFile = arg
92
93
ta =
TreeAnalyzer
(outFile)
94
ta.analyzePath(checkDir)
95
ta.show()
96
97
except
getopt.GetoptError
as
e:
98
print
(
"unknown option"
,
str
(e))
99
sys.exit(2)
100
edm::print
S & print(S &os, JobReport::InputFile const &f)
Definition:
JobReport.cc:65
storeTreeInfo.TreeAnalyzer
Definition:
storeTreeInfo.py:7
storeTreeInfo.main
def main()
Definition:
storeTreeInfo.py:76
str
#define str(s)
Definition:
TestProcessor.cc:47
Generated for CMSSW Reference Manual by
1.8.11