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 494 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 501 of file JetDefinition.py.

513 ):
514
515 self.name = name
516 self.containername = containername
517 self.prereqs = prereqs
518 self.label = label or name
519
520 self.basetype = objtype
521 self.filterfn = filterfn
522
523 jetinputtype = jetinputtype or JetInputType.fromxAODType(objtype)
524 if isinstance(jetinputtype, str):
525 jetinputtype = JetInputType[jetinputtype]
526 self.jetinputtype = jetinputtype
527 self.byVertex = byVertex
528 self._locked = lock
529

Member Function Documentation

◆ __eq__()

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

Definition at line 533 of file JetDefinition.py.

533 def __eq__(self,rhs):
534 return self.__hash__() == rhs.__hash__()
535

◆ __hash__()

python.JetDefinition.JetInputConstit.__hash__ ( self)

Definition at line 530 of file JetDefinition.py.

530 def __hash__(self):
531 return hash((self.name,self.containername,self.label,str(self.basetype),str(self.filterfn),str(self.jetinputtype),str(self.byVertex)))
532

◆ __ne__()

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

Definition at line 536 of file JetDefinition.py.

536 def __ne__(self,rhs):
537 return (not self.__eq__(rhs))
538

◆ __str__()

python.JetDefinition.JetInputConstit.__str__ ( self)

Definition at line 561 of file JetDefinition.py.

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

◆ basetype()

python.JetDefinition.JetInputConstit.basetype ( self)

Definition at line 540 of file JetDefinition.py.

540 def basetype(self): pass
541

◆ containername()

python.JetDefinition.JetInputConstit.containername ( self)

Definition at line 546 of file JetDefinition.py.

546 def containername(self): pass
547

◆ filterfn()

python.JetDefinition.JetInputConstit.filterfn ( self)

Definition at line 552 of file JetDefinition.py.

552 def filterfn(self):pass
553

◆ jetinputtype()

python.JetDefinition.JetInputConstit.jetinputtype ( self)

Definition at line 555 of file JetDefinition.py.

555 def jetinputtype(self): pass
556

◆ name()

python.JetDefinition.JetInputConstit.name ( self)

Definition at line 543 of file JetDefinition.py.

543 def name(self): pass
544

◆ prereqs()

python.JetDefinition.JetInputConstit.prereqs ( self)

Definition at line 549 of file JetDefinition.py.

549 def prereqs(self): pass
550

Member Data Documentation

◆ __repr__

python.JetDefinition.JetInputConstit.__repr__ = __str__
staticprivate

Definition at line 564 of file JetDefinition.py.

◆ _locked

python.JetDefinition.JetInputConstit._locked = lock
protected

Definition at line 528 of file JetDefinition.py.

◆ basetype

python.JetDefinition.JetInputConstit.basetype = objtype

Definition at line 520 of file JetDefinition.py.

◆ byVertex

python.JetDefinition.JetInputConstit.byVertex = byVertex

Definition at line 527 of file JetDefinition.py.

◆ containername

python.JetDefinition.JetInputConstit.containername = containername

Definition at line 516 of file JetDefinition.py.

◆ filterfn

python.JetDefinition.JetInputConstit.filterfn = filterfn

Definition at line 521 of file JetDefinition.py.

◆ inputname

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

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 558 of file JetDefinition.py.

◆ jetinputtype

python.JetDefinition.JetInputConstit.jetinputtype = jetinputtype

Definition at line 526 of file JetDefinition.py.

◆ label

python.JetDefinition.JetInputConstit.label = label or name

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 518 of file JetDefinition.py.

◆ name

python.JetDefinition.JetInputConstit.name = name

Definition at line 515 of file JetDefinition.py.

◆ prereqs

python.JetDefinition.JetInputConstit.prereqs = prereqs

Definition at line 517 of file JetDefinition.py.


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