List of all members.
Detailed Description
Definition at line 484 of file Types.py.
Constructor & Destructor Documentation
def Types::ESInputTag::__init__ |
( |
|
self, |
|
|
|
module = '' , |
|
|
|
data = '' |
|
) |
| |
Definition at line 485 of file Types.py.
00486 :
00487 super(ESInputTag,self).__init__()
self._setValues(module, data)
Member Function Documentation
def Types::ESInputTag::__cmp__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 520 of file Types.py.
00521 :
00522 v = self.__moduleLabel <> other.__moduleLabel
00523 if not v:
00524 v= self.__data <> other.__data
return v
def Types::ESInputTag::_isValid |
( |
|
value | ) |
[private] |
def Types::ESInputTag::_setValues |
( |
|
self, |
|
|
|
moduleLabel = '' , |
|
|
|
dataLabel = '' |
|
) |
| [private] |
Definition at line 538 of file Types.py.
00539 :
00540 self.__moduleLabel = moduleLabel
00541 self.__data = dataLabel
00542 if -1 != moduleLabel.find(":"):
00543
00544
00545 toks = moduleLabel.split(":")
00546 self.__moduleLabel = toks[0]
00547 if len(toks) > 1:
00548 self.__data = toks[1]
00549 if len(toks) > 2:
00550 raise RuntimeError("an ESInputTag was passed the value'"+moduleLabel+"' which contains more than one ':'")
def Types::ESInputTag::_valueFromString |
( |
|
string | ) |
[private] |
Definition at line 532 of file Types.py.
00533 :
00534 parts = string.split(":")
return ESInputTag(*parts)
Definition at line 502 of file Types.py.
00503 :
00504 result = self.__moduleLabel
00505 if self.__data != "":
00506 result += ':' + self.__data
00507 if result == "":
00508 result = '\"\"'
return result;
def Types::ESInputTag::cppTag |
( |
|
self, |
|
|
|
parameterSet |
|
) |
| |
Definition at line 552 of file Types.py.
00553 :
00554 return parameterSet.newESInputTag(self.getModuleLabel(),
self.getDataLabel())
def Types::ESInputTag::formatValueForConfig |
( |
|
value | ) |
|
Definition at line 529 of file Types.py.
00530 :
return value.configValue()
def Types::ESInputTag::getDataLabel |
( |
|
self | ) |
|
Definition at line 495 of file Types.py.
00496 :
return self.__data
def Types::ESInputTag::getModuleLabel |
( |
|
self | ) |
|
Definition at line 488 of file Types.py.
00489 :
return self.__moduleLabel
def Types::ESInputTag::insertInto |
( |
|
self, |
|
|
|
parameterSet, |
|
|
|
myname |
|
) |
| |
Definition at line 555 of file Types.py.
00556 :
00557 parameterSet.addESInputTag(self.isTracked(), myname, self.cppTag(parameterSet))
Definition at line 509 of file Types.py.
00510 :
00511 cfgValue = self.configValue(options)
00512
00513 if cfgValue == '\"\"':
00514 return cfgValue
00515 colonedValue = "\""+cfgValue+"\""
00516
return colonedValue.replace(":","\",\"")
def Types::ESInputTag::setDataLabel |
( |
|
self, |
|
|
|
label |
|
) |
| |
Definition at line 497 of file Types.py.
00498 :
00499 if self.__data != label:
00500 self.__data = label
self._isModified=True
def Types::ESInputTag::setModuleLabel |
( |
|
self, |
|
|
|
label |
|
) |
| |
Definition at line 490 of file Types.py.
00491 :
00492 if self.__moduleLabel != label:
00493 self.__moduleLabel = label
self._isModified=True
def Types::ESInputTag::setValue |
( |
|
self, |
|
|
|
v |
|
) |
| |
Definition at line 535 of file Types.py.
00536 :
00537 self._setValues(v)
self._isModified=True
def Types::ESInputTag::value |
( |
|
self | ) |
|
Definition at line 525 of file Types.py.
00526 :
00527 "Return the string rep"
return self.configValue()
Member Data Documentation
Property Documentation
Types::ESInputTag::dataLabel = property(getDataLabel,setDataLabel,"data label for the product") [static] |
Types::ESInputTag::moduleLabel = property(getModuleLabel,setModuleLabel,"module label for the product") [static] |