Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Public Member Functions | Private Attributes
mty::Insertion Class Reference

Public Member Functions

 Insertion (QuantumFieldParent *t_field)
 
 Insertion (Particle t_field)
 
 Insertion (csl::Expr const &t_field)
 
 Insertion (std::string_view name)
 
 Insertion (const char name[])
 
 Insertion (Insertion const &other)=default
 
 Insertion (Insertion &&other)=default
 
Insertionoperator= (Insertion const &other)=default
 
Insertionoperator= (Insertion &&other)=default
 
QuantumFieldParentgetField () const
 
void setField (QuantumFieldParent *t_field)
 
bool isIncoming () const
 
void setIncoming (bool t_incoming)
 
bool isParticle () const
 
void setParticle (bool t_particle)
 
bool isIncomingParticle () const
 
bool isIncomingAntiParticle () const
 
bool isOutgoingParticle () const
 
bool isOutgoingAntiParticle () const
 
void setPartnerShip (PartnerShip const &t_partnerShip)
 
bool isOnShell () const
 
void setOnShell (bool t_onShell)
 
bool isMediator () const
 
void setMediator (bool t_mediator)
 
csl::Expr getExpression () const
 
bool isEquivalent (Insertion const &other) const
 
bool operator== (Insertion const &other) const
 
bool operator!= (Insertion const &other) const
 

Private Attributes

QuantumFieldParentfield
 
bool validExpression { false }
 
csl::Expr expression { CSL_UNDEF }
 
bool incoming { true }
 
bool particle { true }
 
bool onShell { true }
 
bool mediator { false }
 
PartnerShip partnerShip
 

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