5 from optparse
import OptionParser
6 from TrigConfStorage.AtlCoolTriggerTool
import AtlCoolTriggerTool
8 if __name__ ==
'__main__':
10 p = OptionParser(usage=
"usage: %prog options", version=
"1.1",
11 epilog=
"this program uses the cool database as source of information")
18 help =
"A list of run ranges e.g. '1-4,6,17-23,89-'" )
24 help =
"The cool db [default: CONDBR2]" )
31 help =
"Print the start time of the run" )
43 help =
"Only for l1 (in conjunction with -m, -x, or -d)" )
49 help =
"Only for l2 (in conjunction with -m, -x, or -d)" )
55 help =
"Only for ef (in conjunction with -m, -x, or -d)" )
59 action =
"store_true",
62 help =
"Print the streams in the menu" )
69 help =
"Set verbosity [-v,-vv,...]" )
75 help =
"Returns psk string for processing [possible 'hlt']" )
78 (opt, args) = p.parse_args()
80 AtlCoolTrigger = AtlCoolTriggerTool(options=opt)
82 AtlCoolTrigger.execute()