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 '2e34v30' :
'auto:run2_mc_2e34v30',
10 '2e34v31' :
'auto:run2_mc_2e34v31',
11 'HIon' :
'auto:run2_mc_HIon',
12 'PIon' :
'auto:run2_mc_PIon',
13 'PRef' :
'auto:run2_mc_PRef',
14 'data' :
'auto:run2_hlt_relval',
43 self.
XmlFile = value.split(
',')[0]
44 self.
LumiDir = value.split(
',')[1]
52 valid_versions =
'v1',
'v2' 53 valid_databases =
'online',
'offline',
'adg' 54 compatibility = {
'hltdev': (
'v2',
'offline'),
'orcoff': (
'v2',
'adg') }
73 tokens = value.split(
':')
75 raise Exception(
'Invalid HLT menu specification "%s"' % value)
83 elif db
in self.compatibility:
89 tokens = db.split(
'/')
91 raise Exception(
'Invalid HLT menu specification "%s"' % value)
93 if v
not in self.valid_versions:
94 raise Exception(
'Invalid HLT database version "%s", valid values are "%s"' % (v,
'", "'.
join(self.valid_versions)))
95 if db
not in self.valid_databases:
96 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
102 if db
not in self.valid_databases:
103 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
138 if name
is 'menu' and type(value)
is not ConnectionHLTMenu:
141 elif name
is 'l1' and type(value)
is not ConnectionL1TMenu:
144 elif name
is 'l1Xml' and type(value)
is not ConnectionL1TMenuXml:
147 elif name
is 'open' and value:
149 object.__setattr__(self,
'open',
True)
150 object.__setattr__(self,
'prescale',
"none")
151 elif name
is 'prescale' and value
is not None:
154 object.__setattr__(self,
'prescale', value)
155 elif name
is 'profiling' and value:
157 object.__setattr__(self,
'profiling',
True)
158 elif name
is 'timing' and value:
160 object.__setattr__(self,
'timing',
True)
161 object.__setattr__(self,
'profiling',
True)
163 object.__setattr__(self, name, value)
def __setattr__(self, name, value)
static std::string join(char **cmd)