3 'Fake' :
'auto:run1_mc_Fake',
4 'Fake1':
'auto:run2_mc_Fake1',
5 'Fake2':
'auto:run2_mc_Fake2',
6 'FULL' :
'auto:run2_mc_FULL',
7 'GRun' :
'auto:run2_mc_GRun',
8 '2e34v22' :
'auto:run2_mc_2e34v22',
9 '2e34v31' :
'auto:run2_mc_2e34v31',
10 '2e34v40' :
'auto:run2_mc_2e34v40',
11 'XeXe' :
'auto:run2_mc_XeXe',
12 'HIon' :
'auto:run2_mc_HIon',
13 'PIon' :
'auto:run2_mc_PIon',
14 'PRef' :
'auto:run2_mc_PRef',
15 'data' :
'auto:run2_hlt_relval',
44 self.
XmlFile = value.split(
',')[0]
45 self.
LumiDir = value.split(
',')[1]
53 valid_versions =
'v1',
'v2' 54 valid_databases =
'online',
'offline',
'adg' 55 compatibility = {
'hltdev': (
'v2',
'offline'),
'orcoff': (
'v2',
'adg') }
74 tokens = value.split(
':')
76 raise Exception(
'Invalid HLT menu specification "%s"' % value)
84 elif db
in self.compatibility:
90 tokens = db.split(
'/')
92 raise Exception(
'Invalid HLT menu specification "%s"' % value)
94 if v
not in self.valid_versions:
95 raise Exception(
'Invalid HLT database version "%s", valid values are "%s"' % (v,
'", "'.
join(self.valid_versions)))
96 if db
not in self.valid_databases:
97 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
103 if db
not in self.valid_databases:
104 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
139 if name
is 'menu' and type(value)
is not ConnectionHLTMenu:
142 elif name
is 'l1' and type(value)
is not ConnectionL1TMenu:
145 elif name
is 'l1Xml' and type(value)
is not ConnectionL1TMenuXml:
148 elif name
is 'open' and value:
150 object.__setattr__(self,
'open',
True)
151 object.__setattr__(self,
'prescale',
"none")
152 elif name
is 'prescale' and value
is not None:
155 object.__setattr__(self,
'prescale', value)
156 elif name
is 'profiling' and value:
158 object.__setattr__(self,
'profiling',
True)
159 elif name
is 'timing' and value:
161 object.__setattr__(self,
'timing',
True)
162 object.__setattr__(self,
'profiling',
True)
164 object.__setattr__(self, name, value)
def __setattr__(self, name, value)
static std::string join(char **cmd)