Belle II Software  release-06-02-00
Particle Class Reference
Inheritance diagram for Particle:
Collaboration diagram for Particle:

Public Member Functions

def __init__ (self, pdg_code, name, antiname, spin, color, mass, width, texname, antitexname, charge, line=None, propagating=True, counterterm=None, goldstoneboson=False, propagator=None, **options)
 
def find_line_type (self)
 
def anti (self)
 
def get (self, name)
 
def set (self, name, value)
 
def get_all (self)
 
def __str__ (self)
 
def nice_string (self)
 
def __repr__ (self)
 

Public Attributes

 propagating
 
 goldstoneboson
 
 selfconjugate
 
 line
 
 propagator
 

Static Public Attributes

list require_args
 
list require_args_all
 

Detailed Description

A standard Particle

Definition at line 78 of file object_library.py.

Member Function Documentation

◆ find_line_type()

def find_line_type (   self)
 find how we draw a line if not defined
valid output: dashed/straight/wavy/curly/double/swavy/scurly

Definition at line 166 of file object_library.py.

◆ get_all()

def get_all (   self)
inherited
Return a dictionary containing all the information of the object

Definition at line 45 of file object_library.py.

◆ nice_string()

def nice_string (   self)
inherited
 return string with the full information 

Definition at line 53 of file object_library.py.

Member Data Documentation

◆ require_args

list require_args
static
Initial value:
= [
'pdg_code',
'name',
'antiname',
'spin',
'color',
'mass',
'width',
'texname',
'antitexname',
'charge',
]

Definition at line 82 of file object_library.py.

◆ require_args_all

list require_args_all
static
Initial value:
= [
'pdg_code',
'name',
'antiname',
'spin',
'color',
'mass',
'width',
'texname',
'antitexname',
'counterterm',
'charge',
'line',
'propagating',
'goldstoneboson',
'propagator',
]

Definition at line 95 of file object_library.py.


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