|
def | __init__ (self, containerName='', selectionName='') |
|
def | makeAlgs (self, config) |
|
the ConfigBlock for an object cutflow
Definition at line 397 of file AsgAnalysisConfig.py.
◆ __init__()
def python.AsgAnalysisConfig.ObjectCutFlowBlock.__init__ |
( |
|
self, |
|
|
|
containerName = '' , |
|
|
|
selectionName = '' |
|
) |
| |
Definition at line 400 of file AsgAnalysisConfig.py.
400 def __init__ (self, containerName='', selectionName='') :
401 super (ObjectCutFlowBlock, self).__init__ ()
402 self.addOption (
'containerName', containerName, type=str,
404 info=
"the name of the input container.")
405 self.addOption (
'selectionName', selectionName, type=str,
407 info=
"the name of the selection to perform the cutflow for. The "
408 "default is '' (empty string), meaning that the cutflow is "
409 "performed for every object within the container. Specifying a "
410 "name (e.g. loose) generates the cutflow only for those object "
411 "that also pass that selection.")
◆ makeAlgs()
def python.AsgAnalysisConfig.ObjectCutFlowBlock.makeAlgs |
( |
|
self, |
|
|
|
config |
|
) |
| |
Definition at line 413 of file AsgAnalysisConfig.py.
413 def makeAlgs (self, config) :
415 alg = config.createAlgorithm(
'CP::ObjectCutFlowHistAlg',
'CutFlowDumperAlg_' + self.containerName +
'_' + self.selectionName )
416 alg.histPattern =
'cflow_' + self.containerName +
"_" + self.selectionName +
'_%SYS%'
417 alg.selections = config.getSelectionCutFlow (self.containerName, self.selectionName)
418 alg.input = config.readName (self.containerName)
419 alg.histTitle =
"Object Cutflow: " + self.containerName +
"." + self.selectionName
The documentation for this class was generated from the following file: