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 'GRun2016' :
'auto:run2_mc_GRun2016',
9 'HIon' :
'auto:run2_mc_HIon',
10 'PIon' :
'auto:run2_mc_PIon',
11 'PRef' :
'auto:run2_mc_PRef',
12 'data' :
'auto:run2_hlt_relval',
13 'GRun2016' :
'auto:run2_mc_GRun2016',
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)))
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)