Package madgraph :: Package various :: Module lhe_parser :: Class Particle
[hide private]
[frames] | no frames]

Class Particle

source code

object --+
         |
        Particle

Instance Methods [hide private]
 
__init__(self, line=None, event=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
parse(self, line)
parse the line
source code
 
__str__(self)
string representing the particles
source code
 
__eq__(self, other) source code
 
set_momentum(self, momentum) source code
 
add_decay(self, decay_event)
associate to this particle the decay in the associate event
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  pdg
convenient alias

Inherited from object: __class__

Method Details [hide private]

__init__(self, line=None, event=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

string representing the particles

Overrides: object.__str__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

pdg

convenient alias

Get Method:
unreachable.pdg(self) - convenient alias