Belle II Software
release-08-01-10
|
Public Member Functions | |
def | getVariable (self, *args) |
def | getVariables (self, *args) |
def | addAlias (self, alias, variable) |
def | printAliases (self) |
def | clearAliases (self) |
def | resolveAlias (self, alias) |
def | addCollection (self, *args) |
def | getCollection (self, collection) |
def | resolveCollections (self, *args) |
def | checkDeprecatedVariable (self, variable) |
def | evaluate (self, variable, particle) |
def | getNames (self) |
def | getAliasNames (self) |
def | assertValidName (self, variable) |
Private Member Functions | |
def | _instance (self) |
Wrapper around the variable manager class. This is necessary for avoiding to import ROOT globally when 'variables' is imported.
Definition at line 13 of file __init__.py.
|
private |
Return an instance to the variable manager.
Definition at line 20 of file __init__.py.
def addAlias | ( | self, | |
alias, | |||
variable | |||
) |
Wrapper around Manager::addAlias(const std::string& alias, const std::string& variable).
Definition at line 45 of file __init__.py.
def addCollection | ( | self, | |
* | args | ||
) |
Wrapper around Manager::addCollection(const std::string& collection, const std::vector<std::string>& variables)
Definition at line 73 of file __init__.py.
def assertValidName | ( | self, | |
variable | |||
) |
Wrapper around Manager::assertValidName(const std::string& name).
Definition at line 122 of file __init__.py.
def checkDeprecatedVariable | ( | self, | |
variable | |||
) |
Wrapper around Manager::checkDeprecatedVariable(const std::string& name).
Definition at line 94 of file __init__.py.
def clearAliases | ( | self | ) |
Wrapper around Manager::clearAliases().
Definition at line 59 of file __init__.py.
def evaluate | ( | self, | |
variable, | |||
particle | |||
) |
Wrapper around Manager::evaluate(const std::string& varName, const Particle* p).
Definition at line 101 of file __init__.py.
def getAliasNames | ( | self | ) |
Wrapper around Manager::getAliasNames().
Definition at line 115 of file __init__.py.
def getCollection | ( | self, | |
collection | |||
) |
Wrapper around Manager::getCollection(const std::string& collection).
Definition at line 80 of file __init__.py.
def getNames | ( | self | ) |
Wrapper around Manager::getNames().
Definition at line 108 of file __init__.py.
def getVariable | ( | self, | |
* | args | ||
) |
Wrapper around Manager::getVariable(std::string name) and Manager::getVariable(const std::string& functionName, const std::vector<std::string>& functionArguments).
Definition at line 29 of file __init__.py.
def getVariables | ( | self, | |
* | args | ||
) |
Wrapper around Manager::getVariables(const std::vector<std::string>& variables) and Manager::getVariables().
Definition at line 37 of file __init__.py.
def printAliases | ( | self | ) |
Wrapper around Manager::printAliases().
Definition at line 52 of file __init__.py.
def resolveAlias | ( | self, | |
alias | |||
) |
Wrapper around Manager::resolveAlias(const std::string& alias).
Definition at line 66 of file __init__.py.
def resolveCollections | ( | self, | |
* | args | ||
) |
Wrapper around Manager::resolveCollections(const std::vector<std::string>& variables).
Definition at line 87 of file __init__.py.