Definition at line 3 of file JetHistoManager.py.
◆ addTool()
def JetHistoManager.JetHistoManager.addTool |
( |
|
self, |
|
|
|
tool, |
|
|
|
alias = "" |
|
) |
| |
Definition at line 6 of file JetHistoManager.py.
6 def addTool(self, tool, alias=""):
8 name = tname
if alias ==
"" else alias
9 if name
in self.knownTools:
10 print (
"ERROR won't add tool ", name,
" : already existing")
13 self.knownTools[name] = tool
16 setattr(self, aname , tool)
◆ hasTool()
def JetHistoManager.JetHistoManager.hasTool |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 19 of file JetHistoManager.py.
19 def hasTool(self,name):
20 return name
in self.knownTools
◆ printTools()
def JetHistoManager.JetHistoManager.printTools |
( |
|
self | ) |
|
◆ tool()
def JetHistoManager.JetHistoManager.tool |
( |
|
self, |
|
|
|
name, |
|
|
|
build2Difmissing = True |
|
) |
| |
Definition at line 22 of file JetHistoManager.py.
22 def tool(self, name, build2Difmissing=True):
23 t = self.knownTools.
get(name,
None)
24 if t
is None and ":" in name
and build2Difmissing:
25 from JetMonitoring.JetAttributeHistoManager
import attributeHistoManager
as ahm
26 t = ahm.create2DHistoToolFrom1D(name)
◆ knownTools
dictionary JetHistoManager.JetHistoManager.knownTools = {} |
|
static |
The documentation for this class was generated from the following file: