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=None, 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 if prereqs is not None else []
 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 503 of file JetDefinition.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 510 of file JetDefinition.py.

522 ):
523
524 self.name = name
525 self.containername = containername
526 self.prereqs = prereqs if prereqs is not None else []
527 self.label = label or name
528
529 self.basetype = objtype
530 self.filterfn = filterfn
531
532 jetinputtype = jetinputtype or JetInputType.fromxAODType(objtype)
533 if isinstance(jetinputtype, str):
534 jetinputtype = JetInputType[jetinputtype]
535 self.jetinputtype = jetinputtype
536 self.byVertex = byVertex
537 self._locked = lock
538

Member Function Documentation

◆ __eq__()

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

Definition at line 542 of file JetDefinition.py.

542 def __eq__(self,rhs):
543 return self.__hash__() == rhs.__hash__()
544

◆ __hash__()

python.JetDefinition.JetInputConstit.__hash__ ( self)

Definition at line 539 of file JetDefinition.py.

539 def __hash__(self):
540 return hash((self.name,self.containername,self.label,str(self.basetype),str(self.filterfn),str(self.jetinputtype),str(self.byVertex)))
541

◆ __ne__()

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

Definition at line 545 of file JetDefinition.py.

545 def __ne__(self,rhs):
546 return (not self.__eq__(rhs))
547

◆ __str__()

python.JetDefinition.JetInputConstit.__str__ ( self)

Definition at line 570 of file JetDefinition.py.

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

◆ basetype()

python.JetDefinition.JetInputConstit.basetype ( self)

Definition at line 549 of file JetDefinition.py.

549 def basetype(self): pass
550

◆ containername()

python.JetDefinition.JetInputConstit.containername ( self)

Definition at line 555 of file JetDefinition.py.

555 def containername(self): pass
556

◆ filterfn()

python.JetDefinition.JetInputConstit.filterfn ( self)

Definition at line 561 of file JetDefinition.py.

561 def filterfn(self):pass
562

◆ jetinputtype()

python.JetDefinition.JetInputConstit.jetinputtype ( self)

Definition at line 564 of file JetDefinition.py.

564 def jetinputtype(self): pass
565

◆ name()

python.JetDefinition.JetInputConstit.name ( self)

Definition at line 552 of file JetDefinition.py.

552 def name(self): pass
553

◆ prereqs()

python.JetDefinition.JetInputConstit.prereqs ( self)

Definition at line 558 of file JetDefinition.py.

558 def prereqs(self): pass
559

Member Data Documentation

◆ __repr__

python.JetDefinition.JetInputConstit.__repr__ = __str__
staticprivate

Definition at line 573 of file JetDefinition.py.

◆ _locked

python.JetDefinition.JetInputConstit._locked = lock
protected

Definition at line 537 of file JetDefinition.py.

◆ basetype

python.JetDefinition.JetInputConstit.basetype = objtype

Definition at line 529 of file JetDefinition.py.

◆ byVertex

python.JetDefinition.JetInputConstit.byVertex = byVertex

Definition at line 536 of file JetDefinition.py.

◆ containername

python.JetDefinition.JetInputConstit.containername = containername

Definition at line 525 of file JetDefinition.py.

◆ filterfn

python.JetDefinition.JetInputConstit.filterfn = filterfn

Definition at line 530 of file JetDefinition.py.

◆ inputname

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

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 567 of file JetDefinition.py.

◆ jetinputtype

python.JetDefinition.JetInputConstit.jetinputtype = jetinputtype

Definition at line 535 of file JetDefinition.py.

◆ label

python.JetDefinition.JetInputConstit.label = label or name

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 527 of file JetDefinition.py.

◆ name

python.JetDefinition.JetInputConstit.name = name

Definition at line 524 of file JetDefinition.py.

◆ prereqs

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

Definition at line 526 of file JetDefinition.py.


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