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 '2e34v21' :
'auto:run2_mc_2e34v21',
9 '2e34v22' :
'auto:run2_mc_2e34v22',
10 'HIon' :
'auto:run2_mc_HIon',
11 'PIon' :
'auto:run2_mc_PIon',
12 'PRef' :
'auto:run2_mc_PRef',
13 'data' :
'auto:run2_hlt_relval',
42 self.
XmlFile = value.split(
',')[0]
43 self.
LumiDir = value.split(
',')[1]
51 valid_versions =
'v1',
'v2' 52 valid_databases =
'online',
'offline',
'adg' 53 compatibility = {
'hltdev': (
'v2',
'offline'),
'orcoff': (
'v2',
'adg') }
72 tokens = value.split(
':')
74 raise Exception(
'Invalid HLT menu specification "%s"' % value)
82 elif db
in self.compatibility:
88 tokens = db.split(
'/')
90 raise Exception(
'Invalid HLT menu specification "%s"' % value)
92 if v
not in self.valid_versions:
93 raise Exception(
'Invalid HLT database version "%s", valid values are "%s"' % (v,
'", "'.
join(self.valid_versions)))
94 if db
not in self.valid_databases:
95 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
101 if db
not in self.valid_databases:
102 raise Exception(
'Invalid HLT database "%s", valid values are "%s"' % (db,
'", "'.
join(self.valid_databases)))
137 if name
is 'menu' and type(value)
is not ConnectionHLTMenu:
140 elif name
is 'l1' and type(value)
is not ConnectionL1TMenu:
143 elif name
is 'l1Xml' and type(value)
is not ConnectionL1TMenuXml:
146 elif name
is 'open' and value:
148 object.__setattr__(self,
'open',
True)
149 object.__setattr__(self,
'prescale',
"none")
150 elif name
is 'prescale' and value
is not None:
153 object.__setattr__(self,
'prescale', value)
154 elif name
is 'profiling' and value:
156 object.__setattr__(self,
'profiling',
True)
157 elif name
is 'timing' and value:
159 object.__setattr__(self,
'timing',
True)
160 object.__setattr__(self,
'profiling',
True)
162 object.__setattr__(self, name, value)
def __setattr__(self, name, value)
static std::string join(char **cmd)