Belle II Software  release-06-01-15
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 = ['pdg_code', 'name', 'antiname', 'spin', 'color', 'mass', 'width', 'texname', 'antitexname', 'charge']
 
list require_args_all = ['pdg_code', 'name', 'antiname', 'spin', 'color', 'mass', 'width', 'texname', 'antitexname','counterterm','charge', 'line', 'propagating', 'goldstoneboson', 'propagator']
 

Detailed Description

A standard Particle

Definition at line 67 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 101 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 37 of file object_library.py.

◆ nice_string()

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

Definition at line 44 of file object_library.py.


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