28 self.default_find =
""
30 self.default_show = [
"run",
"events",
"time"]
34 self.sortedKeys = [
"run",
"time",
"duration",
"events",
"allevents",
"projectTag",
"partition",
"readyforphysics",
35 "trigkeys",
"trigger",
"release",
36 "ami",
"magnets",
"larcond",
"db",
"ctag",
"lhc",
"lumi",
"dq",
37 "streams",
"detector",
"datasets",
"all",
"summary",
"dqeff",
"cosmics",
"heavyions" ]
39 self.queryArgs = {
"run": (
"r(uns)",
"run", self.InterpretPeriods, self.ShowVariable,
40 'r(uns) [format: "run 91000", "runs 91000-92000", "runs 91000-(+)" (this run and all before (after))]',
""),
41 "all": (
"all",
"all", self.InterpretString, self.ShowVariable,
42 'all [format: only available as "show" option]',
""),
43 "summary": (
"summary",
"summary", self.InterpretString, self.ShowVariable,
44 'summary [format: only available as "show" option]',
""),
45 "dqsummary": (
"dqsum(mary)",
"dqsummary", self.InterpretString, self.ShowVariable,
46 'dqsum(mary) [format: only available as "show" option]',
""),
47 "dqplots": (
"dqpl(ots)",
"dqplots", self.InterpretString, self.ShowVariable,
48 'dqpl(ots) [format: only available as "show" option]',
""),
49 "dqeff": (
"dqeff",
"dqeff", self.InterpretString, self.ShowVariable,
50 'dqeff [format: only available as "show" option]',
""),
51 "events": (
"ev(ents)",
"events", self.InterpretRange, self.ShowVariable,
52 'ev(ents) [format: "events 10000+", ... (same as for run number)]',
""),
53 "allevents": (
"alle(vents)",
"allevents", self.InterpretRange, self.ShowVariable,
54 'alle(vents) [format: only available as "show" option]',
""),
55 "time": (
"t(ime)",
"time", self.InterpretRange, self.ShowVariable,
56 't(ime) [format: "time 10.9.2008-30.9.2008", "time 15.10.2008-(+)" (this date and all before (after))]',
""),
57 "duration": (
"dur(ation)",
"duration", self.InterpretDuration, self.ShowVariable,
58 'dur(ation) [format: "dur 10d/h/m/s+/-", "2000s+" (run duration more than 2000 sec), "dur 3h-" (less than 3 hours)]',
""),
59 "magnets": (
"m(agnet)",
"bfield", self.InterpretMagnets, self.ShowVariable,
60 'm(agnet) [format: "magnet s(olenoid)", "magnet t(oroid)", "not magnet t(oroid)", ...]',
""),
61 "detector": (
"det(ector)",
"detmask", self.InterpretDetectorMask, self.ShowVariable,
62 'det(ector) [format: "detector Pixel B" (for Pixel Barrel), "detector Pixel" (for Pixel B & EC), "all" (for all detectors, detector mask = 72551459979255)',
""),
63 "smk": (
"smk",
"smk", self.InterpretRange, self.ShowVariable,
64 'smk [format: "smk 398", "smk 398,399 (super-master-key labelling trigger menu, format like for run ranges)]',
""),
65 "trigkeys": (
"trigk(eys)",
"trigkeys", self.InterpretRange, self.ShowVariable,
66 'trigk(eys) [format: "tkeys" (show all trigger keys of run: SMK, L1 and HLT prescale keys)]',
""),
67 "release": (
"rel(ease)",
"release", self.InterpretString, self.ShowWithArg,
68 'rel(ease) [format: "release 15.1.*" ',
""),
69 "projectTag": (
"ptag",
"projecttag",self.InterpretString, self.ShowVariable,
70 'ptag [format: "ptag data08_cos,data08_cosmag,data09_cos", "ptag data08_cos*,data09_cos" (note: the projectTag in dataset name / denoted "filenamtTag" in COOL)]',
"data0*,data1*,data2*"),
71 "partition": (
"p(artition)",
"partition", self.InterpretString, self.ShowVariable,
72 'p(artition) [format: "partition ATLAS"]',
"ATLAS"),
73 "readyforphysics": (
"ready(forphysics)",
"readyforphysics", self.InterpretString, self.ShowVariable,
74 'ready(forphysics) [format: "readyforphysics T(rue)"]',
""),
75 "db": (
"db",
"db", self.InterpretString, self.ShowVariable,
76 'db [format: "db <DB>, where <DB> is either DATA, MC, COMP200, CONDBR2, or OFLP200',
""),
77 "ctag": (
"ctag",
"ctag", self.InterpretString, self.ShowVariable,
78 'ctag [format: "ctag COMCOND-HLTC-001-00" ',
""),
79 "streams": (
"st(reams)",
"streams", self.InterpretStreams, self.ShowWithArg,
80 'st(reams) [format: "stream RPCwBeam,TGCwBeam", "stream physics*" ',
""),
81 "dq": (
"dq",
"dq", self.InterpretDQ, self.ShowDQ,
82 'dq [format: "dq <FLAG> <status>", where the data quality status is "g(reen)", "y(ellow)", "r(ed)", "u(known)", example: dq PIXB y+ (means yellow or green status)]',
""),
83 "trigger": (
"tr(igger)",
"trigger", self.InterpretString, self.ShowWithArg,
84 'tr(igger) [format: "trigger *Electron*" ',
""),
85 "lumi": (
"lu(minosity)",
"luminosity", self.InterpretWithTwoArgs, self.ShowWithArg,
86 'lu(minosity) [format: "lumi FOLDER", default: LBLESTOFL]" ',
""),
87 "olc": (
"olc",
"olc", self.InterpretWithTwoArgs, self.ShowWithArg,
88 'olc [format: "olc" (OLC = Online Luminosity Calculator)]" ',
""),
89 "bs": (
"bs",
"beamspot", self.InterpretString, self.ShowWithArg,
90 'bs [format: "bs"]" ',
""),
91 "bpm": (
"bpm",
"bpm", self.InterpretString, self.ShowVariable,
92 'bpm [format: "show bpm"]" ',
""),
93 "datasets": (
"da(tasets)",
"datasets", self.InterpretString, self.ShowWithArg,
94 'da(tasets) [format: show datasets *NTUP*"]" ',
""),
95 "ami": (
"ami",
"ami", self.InterpretString, self.ShowVariable,
96 'ami [format: show ami"]" ',
""),
97 "larcond": (
"lar(cond)",
"larcond", self.InterpretWithTwoArgs, self.ShowVariable,
98 'lar(cond) [format: larcond nsamples 7 / show larcond"]" ',
""),
99 "lhc": (
"lhc",
"lhc", self.InterpretWithTwoArgs, self.ShowVariable,
100 'lhc [format: lhc fill 7 / show lhc"]" ',
""),
101 "trigrates": (
"trigr(ates)",
"trigrates", self.InterpretString, self.ShowWithArg,
102 'trigr(ates) [format: sh trigrates L1_EM*"]" ',
""),
103 "dqsumgrl": (
"dqsumgrl",
"dqsumgrl", self.InterpretString, self.ShowVariable,
104 'dqsumgrl [format: "dqsumgrl PHYS_StandardGRL_All_Good_25ns", Define tolerable/intolerable defects for DQ summary relative to GRL or other virtual defect, default is PHYS_StandardGRL_All_Good_25ns]',
"PHYS_StandardGRL_All_Good_25ns"),
105 "cosmics": (
"cos(mics)",
"cosmics", self.InterpretString, self.ShowVariable,
106 'cos(mics) [format: only available as "show" option]',
""),
107 "heavyions": (
"heavy(ions)",
"heavyions", self.InterpretString, self.ShowVariable,
108 'heavy(ions) [format: only available as "show" option]',
""),
109 "logictag": (
"logictag",
"logictag", self.InterpretString, self.ShowVariable,
110 'logictag [format: "logictag "HEAD", Define logic tag for defect database used for DQ summary relative to GRL or other virtual defect, default is "HEAD"]',
"HEAD"),
111 "defecttag": (
"defecttag",
"defecttag", self.InterpretString, self.ShowVariable,
112 'defecttag [format: "defecttag "HEAD", Define defect tag for defect database used for DQ summary relative to GRL or other virtual defect, default is "HEAD"]',
"HEAD") }