Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtGammaMatrix.hh
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | public: | ||||
static const EvtGammaMatrix& sigmaUpper( unsigned int mu, unsigned int nu ); | static const EvtGammaMatrix& sigmaUpper( unsigned int mu, unsigned int nu ); | ||||
static const EvtGammaMatrix& sigmaLower( unsigned int mu, unsigned int nu ); | static const EvtGammaMatrix& sigmaLower( unsigned int mu, unsigned int nu ); | ||||
EvtGammaMatrix& operator+=( const EvtGammaMatrix& g ); | EvtGammaMatrix& operator+=( const EvtGammaMatrix& g ); | ||||
EvtGammaMatrix& operator-=( const EvtGammaMatrix& g ); | EvtGammaMatrix& operator-=( const EvtGammaMatrix& g ); | ||||
EvtGammaMatrix& operator*=( const EvtGammaMatrix& g ); | EvtGammaMatrix& operator*=( const EvtGammaMatrix& g ); | ||||
private: | private: | ||||
EvtComplex _gamma[4][4]; | EvtComplex m_gamma[4][4]; | ||||
}; | }; | ||||
inline EvtGammaMatrix operator+( const EvtGammaMatrix& g1, | inline EvtGammaMatrix operator+( const EvtGammaMatrix& g1, | ||||
const EvtGammaMatrix& g2 ) | const EvtGammaMatrix& g2 ) | ||||
{ | { | ||||
return EvtGammaMatrix( g1 ) += g2; | return EvtGammaMatrix( g1 ) += g2; | ||||
} | } | ||||
Show All 18 Lines |