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 'HIon' :
'auto:run2_mc_HIon',
9 'PIon' :
'auto:run2_mc_PIon',
10 'PRef' :
'auto:run2_mc_PRef',
11 'data' :
'auto:run2_hlt_relval',
40 self.
XmlFile = value.split(
',')[0]
41 self.
LumiDir = value.split(
',')[1]
49 valid_versions =
'v1',
'v2' 50 valid_databases =
'online',
'offline',
'adg' 51 compatibility = {
'hltdev': (
'v2',
'offline'),
'orcoff': (
'v2',
'adg') }
70 tokens = value.split(
':')
72 raise Exception(
'Invalid HLT menu specification "%s"' % value)
80 elif db
in self.compatibility:
86 tokens = db.split(
'/')
88 raise Exception(
'Invalid HLT menu specification "%s"' % value)
90 if v
not in self.valid_versions:
91 raise Exception(
'Invalid HLT database version "%s", valid values are "%s"' % (v,
'", "'.
join(self.valid_versions)))
92 if db
not in self.valid_databases:
93 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
99 if db
not in self.valid_databases:
100 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
135 if name
is 'menu' and not isinstance(value, ConnectionHLTMenu):
138 elif name
is 'l1' and not isinstance(value, ConnectionL1TMenu):
141 elif name
is 'l1Xml' and not isinstance(value, ConnectionL1TMenuXml):
144 elif name
is 'open' and value:
146 object.__setattr__(self,
'open',
True)
147 object.__setattr__(self,
'prescale',
"none")
148 elif name
is 'prescale' and value
is not None:
151 object.__setattr__(self,
'prescale', value)
152 elif name
is 'profiling' and value:
154 object.__setattr__(self,
'profiling',
True)
155 elif name
is 'timing' and value:
157 object.__setattr__(self,
'timing',
True)
158 object.__setattr__(self,
'profiling',
True)
160 object.__setattr__(self, name, value)
def __setattr__(self, name, value)
static std::string join(char **cmd)