ATLAS Offline Software
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
python.JetDefinition.JetInputConstit Class Reference
Inheritance diagram for python.JetDefinition.JetInputConstit:
Collaboration diagram for python.JetDefinition.JetInputConstit:

Public Member Functions

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

Public Attributes

 name
 
 containername
 
 prereqs
 
 label
 
 basetype
 
 filterfn
 
 jetinputtype
 
 byVertex
 

Static Public Attributes

 inputname = make_alias("containername")
 

Private Attributes

 _locked
 

Static Private Attributes

def __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__()

def 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.

501  def __init__(
502  self,
503  name, # identifies this constit source, must be unique.
504  objtype, # The type of xAOD object from which to build the jets
505  containername, # The key of the source container in the event store.
506  prereqs=[], # will contain references to JetInputExternal
507  label=None, # used to describe a category for these constits. if None, will default to name
508  jetinputtype=None, # The JetInputType category. Can be passed as a string.
509  # if None, set according to objtype.
510  filterfn=_condAlwaysPass,
511  byVertex=False,
512  lock=False, # lock all properties of this instance
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__()

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

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 533 of file JetDefinition.py.

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

◆ __hash__()

def python.JetDefinition.JetInputConstit.__hash__ (   self)

Reimplemented in python.JetDefinition.JetInputConstitSeq.

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__()

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

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 536 of file JetDefinition.py.

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

◆ __str__()

def python.JetDefinition.JetInputConstit.__str__ (   self)

Reimplemented in python.JetDefinition.JetInputConstitSeq.

Definition at line 561 of file JetDefinition.py.

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

◆ basetype()

def python.JetDefinition.JetInputConstit.basetype (   self)

Definition at line 540 of file JetDefinition.py.

540  def basetype(self): pass
541 

◆ containername()

def python.JetDefinition.JetInputConstit.containername (   self)

Definition at line 546 of file JetDefinition.py.

546  def containername(self): pass
547 

◆ filterfn()

def python.JetDefinition.JetInputConstit.filterfn (   self)

Definition at line 552 of file JetDefinition.py.

552  def filterfn(self):pass
553 

◆ jetinputtype()

def python.JetDefinition.JetInputConstit.jetinputtype (   self)

Definition at line 555 of file JetDefinition.py.

555  def jetinputtype(self): pass
556 

◆ name()

def python.JetDefinition.JetInputConstit.name (   self)

Definition at line 543 of file JetDefinition.py.

543  def name(self): pass
544 

◆ prereqs()

def python.JetDefinition.JetInputConstit.prereqs (   self)

Definition at line 549 of file JetDefinition.py.

549  def prereqs(self): pass
550 

Member Data Documentation

◆ __repr__

def python.JetDefinition.JetInputConstit.__repr__ = __str__
staticprivate

Definition at line 564 of file JetDefinition.py.

◆ _locked

python.JetDefinition.JetInputConstit._locked
private

Definition at line 516 of file JetDefinition.py.

◆ basetype

python.JetDefinition.JetInputConstit.basetype

Definition at line 508 of file JetDefinition.py.

◆ byVertex

python.JetDefinition.JetInputConstit.byVertex

Definition at line 515 of file JetDefinition.py.

◆ containername

python.JetDefinition.JetInputConstit.containername

Definition at line 504 of file JetDefinition.py.

◆ filterfn

python.JetDefinition.JetInputConstit.filterfn

Definition at line 509 of file JetDefinition.py.

◆ inputname

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

Definition at line 558 of file JetDefinition.py.

◆ jetinputtype

python.JetDefinition.JetInputConstit.jetinputtype

Definition at line 514 of file JetDefinition.py.

◆ label

python.JetDefinition.JetInputConstit.label

Definition at line 506 of file JetDefinition.py.

◆ name

python.JetDefinition.JetInputConstit.name

Definition at line 503 of file JetDefinition.py.

◆ prereqs

python.JetDefinition.JetInputConstit.prereqs

Definition at line 505 of file JetDefinition.py.


The documentation for this class was generated from the following file:
python.HLT.Jet.TriggerJetMods.prereqs
prereqs
Definition: TriggerJetMods.py:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
str
Definition: BTagTrackIpAccessor.cxx:11