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

Public Member Functions

 __init__ (self, name, objtype, containername, prereqs=[], label=None, jetinputtype=None, filterfn=_condAlwaysPass, byVertex=False, lock=False)
 __hash__ (self)
 __eq__ (self, rhs)
 __ne__ (self, rhs)
 basetype (self)
 name (self)
 containername (self)
 prereqs (self)
 filterfn (self)
 jetinputtype (self)
 __str__ (self)

Public Attributes

 name = name
 containername = containername
 prereqs = prereqs
 label = label or name
 basetype = objtype
 filterfn = filterfn
 jetinputtype = jetinputtype
 byVertex = byVertex

Static Public Attributes

 inputname = make_alias("containername")

Protected Attributes

 _locked = lock

Static Private Attributes

 __repr__ = __str__

Detailed Description

Configuration for simplest constituents (or ghost constituents) to jets.
This describes what can be the input to a PseudoJetAlgorithm.
The containername attribute must correspond to an existing JetInputExternal so the system knows how to build this
source container (if necessary).

Definition at line 499 of file JetDefinition.py.

Constructor & Destructor Documentation

◆ __init__()

python.JetDefinition.JetInputConstit.__init__ ( self,
name,
objtype,
containername,
prereqs = [],
label = None,
jetinputtype = None,
filterfn = _condAlwaysPass,
byVertex = False,
lock = False )

Definition at line 506 of file JetDefinition.py.

518 ):
519
520 self.name = name
521 self.containername = containername
522 self.prereqs = prereqs
523 self.label = label or name
524
525 self.basetype = objtype
526 self.filterfn = filterfn
527
528 jetinputtype = jetinputtype or JetInputType.fromxAODType(objtype)
529 if isinstance(jetinputtype, str):
530 jetinputtype = JetInputType[jetinputtype]
531 self.jetinputtype = jetinputtype
532 self.byVertex = byVertex
533 self._locked = lock
534

Member Function Documentation

◆ __eq__()

python.JetDefinition.JetInputConstit.__eq__ ( self,
rhs )

Definition at line 538 of file JetDefinition.py.

538 def __eq__(self,rhs):
539 return self.__hash__() == rhs.__hash__()
540

◆ __hash__()

python.JetDefinition.JetInputConstit.__hash__ ( self)

Definition at line 535 of file JetDefinition.py.

535 def __hash__(self):
536 return hash((self.name,self.containername,self.label,str(self.basetype),str(self.filterfn),str(self.jetinputtype),str(self.byVertex)))
537

◆ __ne__()

python.JetDefinition.JetInputConstit.__ne__ ( self,
rhs )

Definition at line 541 of file JetDefinition.py.

541 def __ne__(self,rhs):
542 return (not self.__eq__(rhs))
543

◆ __str__()

python.JetDefinition.JetInputConstit.__str__ ( self)

Definition at line 566 of file JetDefinition.py.

566 def __str__(self):
567 return f"JetInputConstit({self.name},type={str(self.basetype)})"

◆ basetype()

python.JetDefinition.JetInputConstit.basetype ( self)

Definition at line 545 of file JetDefinition.py.

545 def basetype(self): pass
546

◆ containername()

python.JetDefinition.JetInputConstit.containername ( self)

Definition at line 551 of file JetDefinition.py.

551 def containername(self): pass
552

◆ filterfn()

python.JetDefinition.JetInputConstit.filterfn ( self)

Definition at line 557 of file JetDefinition.py.

557 def filterfn(self):pass
558

◆ jetinputtype()

python.JetDefinition.JetInputConstit.jetinputtype ( self)

Definition at line 560 of file JetDefinition.py.

560 def jetinputtype(self): pass
561

◆ name()

python.JetDefinition.JetInputConstit.name ( self)

Definition at line 548 of file JetDefinition.py.

548 def name(self): pass
549

◆ prereqs()

python.JetDefinition.JetInputConstit.prereqs ( self)

Definition at line 554 of file JetDefinition.py.

554 def prereqs(self): pass
555

Member Data Documentation

◆ __repr__

python.JetDefinition.JetInputConstit.__repr__ = __str__
staticprivate

Definition at line 569 of file JetDefinition.py.

◆ _locked

python.JetDefinition.JetInputConstit._locked = lock
protected

Definition at line 533 of file JetDefinition.py.

◆ basetype

python.JetDefinition.JetInputConstit.basetype = objtype

Definition at line 525 of file JetDefinition.py.

◆ byVertex

python.JetDefinition.JetInputConstit.byVertex = byVertex

Definition at line 532 of file JetDefinition.py.

◆ containername

python.JetDefinition.JetInputConstit.containername = containername

Definition at line 521 of file JetDefinition.py.

◆ filterfn

python.JetDefinition.JetInputConstit.filterfn = filterfn

Definition at line 526 of file JetDefinition.py.

◆ inputname

python.JetDefinition.JetInputConstit.inputname = make_alias("containername")
static

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 563 of file JetDefinition.py.

◆ jetinputtype

python.JetDefinition.JetInputConstit.jetinputtype = jetinputtype

Definition at line 531 of file JetDefinition.py.

◆ label

python.JetDefinition.JetInputConstit.label = label or name

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 523 of file JetDefinition.py.

◆ name

python.JetDefinition.JetInputConstit.name = name

Definition at line 520 of file JetDefinition.py.

◆ prereqs

python.JetDefinition.JetInputConstit.prereqs = prereqs

Definition at line 522 of file JetDefinition.py.


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