EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtTensor4C Class Referencefinal

#include <EvtGenBase/EvtTensor4C.hh>

Public Member Functions

 EvtTensor4C ()
 EvtTensor4C (double t00, double t11, double t22, double t33)
 EvtTensor4C (const EvtTensor4C &t1)
EvtTensor4Coperator= (const EvtTensor4C &t1)
EvtTensor4Coperator*= (const EvtComplex &c)
EvtTensor4Coperator*= (double d)
EvtTensor4CaddDirProd (const EvtVector4R &p1, const EvtVector4R &p2)
void set (int i, int j, const EvtComplex &c)
void setdiag (double t00, double t11, double t22, double t33)
const EvtComplexget (int i, int j) const
EvtComplex trace () const
void zero ()
void applyRotateEuler (double alpha, double beta, double gamma)
void applyBoostTo (const EvtVector4R &p4)
void applyBoostTo (const EvtVector3R &boost)
EvtTensor4Coperator+= (const EvtTensor4C &t2)
EvtTensor4Coperator-= (const EvtTensor4C &t2)
EvtTensor4C conj () const
EvtVector4C cont1 (const EvtVector4C &v4) const
EvtVector4C cont2 (const EvtVector4C &v4) const
EvtVector4C cont1 (const EvtVector4R &v4) const
EvtVector4C cont2 (const EvtVector4R &v4) const

Static Public Member Functions

static const EvtTensor4Cg ()

Private Attributes

EvtComplex m_t [4][4]

Friends

EvtTensor4C EvtGenFunctions::directProd (const EvtVector4R &c1, const EvtVector4R &c2)
EvtTensor4C EvtGenFunctions::directProd (const EvtVector4C &c1, const EvtVector4C &c2)
EvtTensor4C EvtGenFunctions::directProd (const EvtVector4C &c1, const EvtVector4R &c2)
EvtTensor4C rotateEuler (const EvtTensor4C &e, double alpha, double beta, double gamma)
EvtTensor4C boostTo (const EvtTensor4C &e, const EvtVector4R p4)
EvtTensor4C boostTo (const EvtTensor4C &e, const EvtVector3R boost)
EvtTensor4C dual (const EvtTensor4C &t2)
EvtTensor4C conj (const EvtTensor4C &t2)
EvtTensor4C cont22 (const EvtTensor4C &t1, const EvtTensor4C &t2)
EvtTensor4C cont11 (const EvtTensor4C &t1, const EvtTensor4C &t2)
EvtTensor4C operator* (const EvtTensor4C &t1, const EvtComplex &c)
EvtTensor4C operator* (const EvtComplex &c, const EvtTensor4C &t1)
EvtTensor4C operator* (const EvtTensor4C &t1, double d)
EvtTensor4C operator* (double d, const EvtTensor4C &t1)
EvtComplex cont (const EvtTensor4C &t1, const EvtTensor4C &t2)
EvtTensor4C operator+ (const EvtTensor4C &t1, const EvtTensor4C &t2)
EvtTensor4C operator- (const EvtTensor4C &t1, const EvtTensor4C &t2)
std::ostream & operator<< (std::ostream &s, const EvtTensor4C &t)

Detailed Description

Definition at line 38 of file EvtTensor4C.hh.

Constructor & Destructor Documentation

◆ EvtTensor4C() [1/3]

EvtTensor4C::EvtTensor4C ( )
inline

Definition at line 63 of file EvtTensor4C.hh.

◆ EvtTensor4C() [2/3]

EvtTensor4C::EvtTensor4C ( double t00,
double t11,
double t22,
double t33 )
inline

Definition at line 65 of file EvtTensor4C.hh.

◆ EvtTensor4C() [3/3]

EvtTensor4C::EvtTensor4C ( const EvtTensor4C & t1)

Definition at line 32 of file EvtTensor4C.cpp.

Member Function Documentation

◆ addDirProd()

EvtTensor4C & EvtTensor4C::addDirProd ( const EvtVector4R & p1,
const EvtVector4R & p2 )

Definition at line 350 of file EvtTensor4C.cpp.

◆ applyBoostTo() [1/2]

void EvtTensor4C::applyBoostTo ( const EvtVector3R & boost)

Definition at line 109 of file EvtTensor4C.cpp.

◆ applyBoostTo() [2/2]

void EvtTensor4C::applyBoostTo ( const EvtVector4R & p4)

Definition at line 98 of file EvtTensor4C.cpp.

◆ applyRotateEuler()

void EvtTensor4C::applyRotateEuler ( double alpha,
double beta,
double gamma )

Definition at line 502 of file EvtTensor4C.cpp.

◆ conj()

EvtTensor4C EvtTensor4C::conj ( ) const

Definition at line 62 of file EvtTensor4C.cpp.

◆ cont1() [1/2]

EvtVector4C EvtTensor4C::cont1 ( const EvtVector4C & v4) const

Definition at line 446 of file EvtTensor4C.cpp.

◆ cont1() [2/2]

EvtVector4C EvtTensor4C::cont1 ( const EvtVector4R & v4) const

Definition at line 474 of file EvtTensor4C.cpp.

◆ cont2() [1/2]

EvtVector4C EvtTensor4C::cont2 ( const EvtVector4C & v4) const

Definition at line 460 of file EvtTensor4C.cpp.

◆ cont2() [2/2]

EvtVector4C EvtTensor4C::cont2 ( const EvtVector4R & v4) const

Definition at line 488 of file EvtTensor4C.cpp.

◆ g()

const EvtTensor4C & EvtTensor4C::g ( )
static

Definition at line 43 of file EvtTensor4C.cpp.

◆ get()

const EvtComplex & EvtTensor4C::get ( int i,
int j ) const
inline

Definition at line 112 of file EvtTensor4C.hh.

◆ operator*=() [1/2]

EvtTensor4C & EvtTensor4C::operator*= ( const EvtComplex & c)

Definition at line 246 of file EvtTensor4C.cpp.

◆ operator*=() [2/2]

EvtTensor4C & EvtTensor4C::operator*= ( double d)

Definition at line 268 of file EvtTensor4C.cpp.

◆ operator+=()

EvtTensor4C & EvtTensor4C::operator+= ( const EvtTensor4C & t2)

Definition at line 222 of file EvtTensor4C.cpp.

◆ operator-=()

EvtTensor4C & EvtTensor4C::operator-= ( const EvtTensor4C & t2)

Definition at line 234 of file EvtTensor4C.cpp.

◆ operator=()

EvtTensor4C & EvtTensor4C::operator= ( const EvtTensor4C & t1)

Definition at line 50 of file EvtTensor4C.cpp.

◆ set()

void EvtTensor4C::set ( int i,
int j,
const EvtComplex & c )
inline

Definition at line 107 of file EvtTensor4C.hh.

◆ setdiag()

void EvtTensor4C::setdiag ( double t00,
double t11,
double t22,
double t33 )

Definition at line 202 of file EvtTensor4C.cpp.

◆ trace()

EvtComplex EvtTensor4C::trace ( ) const
inline

Definition at line 117 of file EvtTensor4C.hh.

◆ zero()

void EvtTensor4C::zero ( )

Definition at line 179 of file EvtTensor4C.cpp.

◆ boostTo [1/2]

EvtTensor4C boostTo ( const EvtTensor4C & e,
const EvtVector3R boost )
friend

Definition at line 91 of file EvtTensor4C.cpp.

◆ boostTo [2/2]

EvtTensor4C boostTo ( const EvtTensor4C & e,
const EvtVector4R p4 )
friend

Definition at line 84 of file EvtTensor4C.cpp.

◆ conj

EvtTensor4C conj ( const EvtTensor4C & t2)
friend

Definition at line 393 of file EvtTensor4C.cpp.

◆ cont

EvtComplex cont ( const EvtTensor4C & t1,
const EvtTensor4C & t2 )
friend

Definition at line 290 of file EvtTensor4C.cpp.

◆ cont11

EvtTensor4C cont11 ( const EvtTensor4C & t1,
const EvtTensor4C & t2 )
friend

Definition at line 427 of file EvtTensor4C.cpp.

◆ cont22

EvtTensor4C cont22 ( const EvtTensor4C & t1,
const EvtTensor4C & t2 )
friend

Definition at line 408 of file EvtTensor4C.cpp.

◆ dual

EvtTensor4C dual ( const EvtTensor4C & t2)
friend

Definition at line 363 of file EvtTensor4C.cpp.

◆ EvtGenFunctions::directProd [1/3]

EvtTensor4C EvtGenFunctions::directProd ( const EvtVector4C & c1,
const EvtVector4C & c2 )
friend

◆ EvtGenFunctions::directProd [2/3]

EvtTensor4C EvtGenFunctions::directProd ( const EvtVector4C & c1,
const EvtVector4R & c2 )
friend

◆ EvtGenFunctions::directProd [3/3]

EvtTensor4C EvtGenFunctions::directProd ( const EvtVector4R & c1,
const EvtVector4R & c2 )
friend

◆ operator* [1/4]

EvtTensor4C operator* ( const EvtComplex & c,
const EvtTensor4C & t1 )
friend

Definition at line 263 of file EvtTensor4C.cpp.

◆ operator* [2/4]

EvtTensor4C operator* ( const EvtTensor4C & t1,
const EvtComplex & c )
friend

Definition at line 258 of file EvtTensor4C.cpp.

◆ operator* [3/4]

EvtTensor4C operator* ( const EvtTensor4C & t1,
double d )
friend

Definition at line 280 of file EvtTensor4C.cpp.

◆ operator* [4/4]

EvtTensor4C operator* ( double d,
const EvtTensor4C & t1 )
friend

Definition at line 285 of file EvtTensor4C.cpp.

◆ operator+

EvtTensor4C operator+ ( const EvtTensor4C & t1,
const EvtTensor4C & t2 )
friend

Definition at line 97 of file EvtTensor4C.hh.

◆ operator-

EvtTensor4C operator- ( const EvtTensor4C & t1,
const EvtTensor4C & t2 )
friend

Definition at line 102 of file EvtTensor4C.hh.

◆ operator<<

std::ostream & operator<< ( std::ostream & s,
const EvtTensor4C & t )
friend

◆ rotateEuler

EvtTensor4C rotateEuler ( const EvtTensor4C & e,
double alpha,
double beta,
double gamma )
friend

Definition at line 76 of file EvtTensor4C.cpp.

Member Data Documentation

◆ m_t

EvtComplex EvtTensor4C::m_t[4][4]
private

Definition at line 94 of file EvtTensor4C.hh.


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