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)
 
def instanceName (self)
 
def makeAlgs (self, config)
 

Detailed Description

the ConfigBlock for an object cutflow

Definition at line 541 of file AsgAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def python.AsgAnalysisConfig.ObjectCutFlowBlock.__init__ (   self)

Definition at line 544 of file AsgAnalysisConfig.py.

544  def __init__ (self) :
545  super (ObjectCutFlowBlock, self).__init__ ()
546  self.addOption ('containerName', '', type=str,
547  noneAction='error',
548  info="the name of the input container.")
549  self.addOption ('selectionName', '', type=str,
550  noneAction='error',
551  info="the name of the selection to perform the cutflow for. The "
552  "default is '' (empty string), meaning that the cutflow is "
553  "performed for every object within the container. Specifying a "
554  "name (e.g. loose) generates the cutflow only for those object "
555  "that also pass that selection.")
556  self.addOption ('forceCutSequence', False, type=bool,
557  info="whether to force the cut sequence and not accept objects "
558  "if previous cuts failed. The default is False.")
559 

Member Function Documentation

◆ instanceName()

def python.AsgAnalysisConfig.ObjectCutFlowBlock.instanceName (   self)
Return the instance name for this block

Definition at line 560 of file AsgAnalysisConfig.py.

560  def instanceName (self) :
561  """Return the instance name for this block"""
562  return self.containerName + '_' + self.selectionName
563 

◆ makeAlgs()

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

Definition at line 564 of file AsgAnalysisConfig.py.

564  def makeAlgs (self, config) :
565 
566  alg = config.createAlgorithm( 'CP::ObjectCutFlowHistAlg', 'CutFlowDumperAlg' )
567  alg.histPattern = 'cflow_' + self.containerName + "_" + self.selectionName + '_%SYS%'
568  alg.selections = config.getSelectionCutFlow (self.containerName, self.selectionName)
569  alg.input = config.readName (self.containerName)
570  alg.histTitle = "Object Cutflow: " + self.containerName + "." + self.selectionName
571  alg.forceCutSequence = self.forceCutSequence
572 
573 

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