ATLAS Offline Software
Loading...
Searching...
No Matches
python.JetDefinition.JetConstitModifier Class Reference
Inheritance diagram for python.JetDefinition.JetConstitModifier:
Collaboration diagram for python.JetDefinition.JetConstitModifier:

Public Member Functions

 __init__ (self, name, tooltype, prereqs=None, properties=None)
 name (self)
 tooltype (self)
 properties (self)
 prereqs (self)

Public Attributes

 name = name
 tooltype = tooltype
 properties = properties if properties is not None else {}
 prereqs = prereqs if prereqs is not None else []
 filterfn = _condAlwaysPass

Detailed Description

Configuration for  a constituent modifier tool to be used in a JetConstituentModSequence.
See StandardJetConstits.py for usage of this class.

the properties argument in __init__ defines directly the properties of the final tool :
if the tool has the property "PtMin" then passing 'dict(PtMin=10*GeV)' will result in 'tool.PtMin = 10*GeV'
IMPORTANT : If a property is itself an other tool, we can pass a function returning the tool like in 'dict(TheSubTool = mySubToolFunc)'
The function will be called only when appropriate in the form 'tool.TheSubTool = mySubToolFunc(constitseq)'

Definition at line 636 of file JetDefinition.py.

Constructor & Destructor Documentation

◆ __init__()

python.JetDefinition.JetConstitModifier.__init__ ( self,
name,
tooltype,
prereqs = None,
properties = None )

Definition at line 645 of file JetDefinition.py.

650 ):
651 self.name = name
652 self.tooltype = tooltype
653 self.properties = properties if properties is not None else {}
654 self.prereqs = prereqs if prereqs is not None else []
655 self.filterfn = _condAlwaysPass # we might want to make this a proper attribute in the future
656

Member Function Documentation

◆ name()

python.JetDefinition.JetConstitModifier.name ( self)

Definition at line 658 of file JetDefinition.py.

658 def name(self): pass

◆ prereqs()

python.JetDefinition.JetConstitModifier.prereqs ( self)

Definition at line 664 of file JetDefinition.py.

664 def prereqs(self): pass
665
666
667

◆ properties()

python.JetDefinition.JetConstitModifier.properties ( self)

Definition at line 662 of file JetDefinition.py.

662 def properties(self): pass

◆ tooltype()

python.JetDefinition.JetConstitModifier.tooltype ( self)

Definition at line 660 of file JetDefinition.py.

660 def tooltype(self): pass

Member Data Documentation

◆ filterfn

python.JetDefinition.JetConstitModifier.filterfn = _condAlwaysPass

Definition at line 655 of file JetDefinition.py.

◆ name

python.JetDefinition.JetConstitModifier.name = name

Definition at line 651 of file JetDefinition.py.

◆ prereqs

python.JetDefinition.JetConstitModifier.prereqs = prereqs if prereqs is not None else []

Definition at line 654 of file JetDefinition.py.

◆ properties

python.JetDefinition.JetConstitModifier.properties = properties if properties is not None else {}

Definition at line 653 of file JetDefinition.py.

◆ tooltype

python.JetDefinition.JetConstitModifier.tooltype = tooltype

Definition at line 652 of file JetDefinition.py.


The documentation for this class was generated from the following file: