Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Validation
RecoParticleFlow
Benchmarks
Tools
listBenchmarks.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
4
import
shutil, sys, valtools
5
6
from
optparse
import
OptionParser
7
8
9
parser = OptionParser()
10
parser.usage =
"usage: %prog pattern"
11
parser.add_option(
"-a"
,
"--afs"
, dest=
"afs"
,
12
action=
"store_true"
,
13
help=
"print afs folder"
,
14
default=
False
)
15
parser.add_option(
"-u"
,
"--url"
, dest=
"url"
,
16
action=
"store_true"
,
17
help=
"print url"
,
18
default=
False
)
19
20
(options,args) = parser.parse_args()
21
22
if
len(args)!=1:
23
parser.print_help()
24
sys.exit(1)
25
26
pattern = args[0]
27
website =
valtools.website
()
28
29
website.listBenchmarks( pattern, options.afs, options.url)
30
valtools.website
Definition:
valtools.py:86
Generated for CMSSW Reference Manual by
1.8.5