Package madgraph :: Package core :: Module base_objects
[hide private]
[frames] | no frames]

Module base_objects

source code

Definitions of all basic objects used in the core code: particle, interaction, model, leg, vertex, process, ...

Classes [hide private]
  PhysicsObject
A parent class for all physics objects.
  PhysicsObjectList
A class to store lists of physics object.
  Particle
The particle object containing the whole set of information required to univocally characterize a given type of physical particle: name, spin, color, mass, width, charge,...
  ParticleList
A class to store lists of particles.
  Interaction
The interaction object containing the whole set of information required to univocally characterize a given type of physical interaction:
  InteractionList
A class to store lists of interactionss.
  Model
A class to store all the model information.
  ModelVariable
A Class for storing the information about coupling/ parameter
  ParamCardVariable
A class for storing the information linked to all the parameter which should be define in the param_card.dat
  Leg
Leg object: id (Particle), number, I/F state, flag from_group
  LegList
List of Leg objects
  MultiLeg
MultiLeg object: ids (Particle or particles), I/F state
  MultiLegList
List of MultiLeg objects
  Vertex
Vertex: list of legs (ordered), id (Interaction)
  VertexList
List of Vertex objects
  Diagram
Diagram: list of vertices (ordered)
  DiagramList
List of Diagram objects
  Process
Process: list of legs (ordered) dictionary of orders model process id
  ProcessList
List of Process objects
  ProcessDefinition
ProcessDefinition: list of multilegs (ordered) dictionary of orders model process id
  ProcessDefinitionList
List of ProcessDefinition objects
Functions [hide private]
 
make_unique(doubletlist)
Make sure there are no doublets in the list doubletlist.
source code
Variables [hide private]
  logger = logging.getLogger('madgraph.base_objects')
  __package__ = 'madgraph.core'
Function Details [hide private]

make_unique(doubletlist)

source code 

Make sure there are no doublets in the list doubletlist. Note that this is a slow implementation, so don't use if speed is needed