CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
Config.ProcessModifier Class Reference
Inheritance diagram for Config.ProcessModifier:

Public Member Functions

def __init__ (self, modifier, func)
 
def apply (self, process)
 

Private Attributes

 __func
 
 __modifier
 
 __seenProcesses
 

Detailed Description

A class used by a Modifier to affect an entire Process instance.
When a Process 'loads' a module containing a ProcessModifier, that
ProcessModifier will be applied to the Process if and only if the 
Modifier passed to the constructor has been chosen.

Definition at line 1718 of file Config.py.

Constructor & Destructor Documentation

◆ __init__()

def Config.ProcessModifier.__init__ (   self,
  modifier,
  func 
)

Definition at line 1724 of file Config.py.

1724  def __init__(self, modifier, func):
1725  self.__modifier = modifier
1726  self.__func = func
1727  self.__seenProcesses = set()

Member Function Documentation

◆ apply()

def Config.ProcessModifier.apply (   self,
  process 
)

Member Data Documentation

◆ __func

Config.ProcessModifier.__func
private

Definition at line 1726 of file Config.py.

Referenced by Config.ProcessModifier.apply().

◆ __modifier

Config.ProcessModifier.__modifier
private

Definition at line 1725 of file Config.py.

Referenced by Config.ProcessModifier.apply().

◆ __seenProcesses

Config.ProcessModifier.__seenProcesses
private

Definition at line 1727 of file Config.py.

Referenced by Config.ProcessModifier.apply().

apply
Vec apply(Vec v, F f)
Definition: ExtVec.h:81
PVValHelper::add
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
Definition: PVValidationHelpers.cc:12