evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#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 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 33 of file EvtTensor4C.cpp.

Member Function Documentation

◆ addDirProd()

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

Definition at line 351 of file EvtTensor4C.cpp.

◆ applyBoostTo() [1/2]

void EvtTensor4C::applyBoostTo ( const EvtVector4R p4)

Definition at line 99 of file EvtTensor4C.cpp.

◆ applyBoostTo() [2/2]

void EvtTensor4C::applyBoostTo ( const EvtVector3R boost)

Definition at line 110 of file EvtTensor4C.cpp.

◆ applyRotateEuler()

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

Definition at line 503 of file EvtTensor4C.cpp.

◆ conj()

EvtTensor4C EvtTensor4C::conj ( ) const

Definition at line 63 of file EvtTensor4C.cpp.

◆ cont1() [1/2]

EvtVector4C EvtTensor4C::cont1 ( const EvtVector4C v4) const

Definition at line 447 of file EvtTensor4C.cpp.

◆ cont1() [2/2]

EvtVector4C EvtTensor4C::cont1 ( const EvtVector4R v4) const

Definition at line 475 of file EvtTensor4C.cpp.

◆ cont2() [1/2]

EvtVector4C EvtTensor4C::cont2 ( const EvtVector4C v4) const

Definition at line 461 of file EvtTensor4C.cpp.

◆ cont2() [2/2]

EvtVector4C EvtTensor4C::cont2 ( const EvtVector4R v4) const

Definition at line 489 of file EvtTensor4C.cpp.

◆ g()

const EvtTensor4C & EvtTensor4C::g ( )
static

Definition at line 44 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 247 of file EvtTensor4C.cpp.

◆ operator *=() [2/2]

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

Definition at line 269 of file EvtTensor4C.cpp.

◆ operator+=()

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

Definition at line 223 of file EvtTensor4C.cpp.

◆ operator-=()

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

Definition at line 235 of file EvtTensor4C.cpp.

◆ operator=()

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

Definition at line 51 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 203 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 180 of file EvtTensor4C.cpp.

Friends And Related Function Documentation

◆ boostTo [1/2]

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

Definition at line 85 of file EvtTensor4C.cpp.

◆ boostTo [2/2]

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

Definition at line 92 of file EvtTensor4C.cpp.

◆ conj

EvtTensor4C conj ( const EvtTensor4C t2)
friend

Definition at line 394 of file EvtTensor4C.cpp.

◆ cont

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

Definition at line 291 of file EvtTensor4C.cpp.

◆ cont11

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

Definition at line 428 of file EvtTensor4C.cpp.

◆ cont22

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

Definition at line 409 of file EvtTensor4C.cpp.

◆ dual

EvtTensor4C dual ( const EvtTensor4C t2)
friend

Definition at line 364 of file EvtTensor4C.cpp.

◆ EvtGenFunctions::directProd [1/3]

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

◆ EvtGenFunctions::directProd [2/3]

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

◆ EvtGenFunctions::directProd [3/3]

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

◆ operator * [1/4]

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

Definition at line 259 of file EvtTensor4C.cpp.

◆ operator * [2/4]

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

Definition at line 264 of file EvtTensor4C.cpp.

◆ operator * [3/4]

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

Definition at line 281 of file EvtTensor4C.cpp.

◆ operator * [4/4]

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

Definition at line 286 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 77 of file EvtTensor4C.cpp.

Member Data Documentation

◆ t

EvtComplex EvtTensor4C::t[4][4]
private

Definition at line 94 of file EvtTensor4C.hh.


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