Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Functions
o2oRun Namespace Reference
Functions
def
main
(argv)
Detailed Description
Function Documentation
◆
main()
def o2oRun.main
(
argv
)
Definition at line
14
of file
o2oRun.py
.
14
def
main
( argv ):
15
16
parser = argparse.ArgumentParser()
17
parser.add_argument(
"executable"
, type=str, help=
"wrapper for O2O jobs"
)
18
parser.add_argument(
"-n"
,
"--name"
, type=str, help=
"the O2O job name"
)
19
parser.add_argument(
"--db"
, type=str, help=
"the target database: pro ( for prod ) or dev ( for prep ). default=pro"
)
20
parser.add_argument(
"-a"
,
"--auth"
, type=str, help=
"path of the authentication file"
)
21
parser.add_argument(
"-v"
,
"--verbose"
, action=
"count"
, help=
"job output mirrored to screen (default=logfile only)"
)
22
args = parser.parse_args()
23
24
tool =
o2olib.O2OTool
()
25
tool.setup(args)
26
return
tool.run()
27
o2oRun.main
def main(argv)
Definition:
o2oRun.py:14
o2olib.O2OTool
Definition:
o2olib.py:433
Generated for CMSSW Reference Manual by
1.8.14