ATLAS Offline Software
Public Member Functions | List of all members
python.AsgAnalysisConfig.ObjectCutFlowBlock Class Reference
Inheritance diagram for python.AsgAnalysisConfig.ObjectCutFlowBlock:
Collaboration diagram for python.AsgAnalysisConfig.ObjectCutFlowBlock:

Public Member Functions

def __init__ (self, containerName='', selectionName='')
 
def makeAlgs (self, config)
 

Detailed Description

the ConfigBlock for an object cutflow

Definition at line 397 of file AsgAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __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,
403  noneAction='error',
404  info="the name of the input container.")
405  self.addOption ('selectionName', selectionName, type=str,
406  noneAction='error',
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.")
412 

Member Function Documentation

◆ makeAlgs()

def python.AsgAnalysisConfig.ObjectCutFlowBlock.makeAlgs (   self,
  config 
)

Definition at line 413 of file AsgAnalysisConfig.py.

413  def makeAlgs (self, config) :
414 
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
420 
421 

The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18