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
EvtVector4C Class Referencefinal

#include <EvtGenBase/EvtVector4C.hh>

Public Member Functions

 EvtVector4C ()
 EvtVector4C (const EvtComplex &, const EvtComplex &, const EvtComplex &, const EvtComplex &)
void set (int, const EvtComplex &)
void set (const EvtComplex &, const EvtComplex &, const EvtComplex &, const EvtComplex &)
void set (double, double, double, double)
 EvtVector4C (const EvtVector4R &v1)
const EvtComplexget (int) const
EvtComplex cont (const EvtVector4C &v4) const
EvtVector4C conj () const
EvtVector3C vec () const
EvtVector4Coperator-= (const EvtVector4C &v2)
EvtVector4Coperator+= (const EvtVector4C &v2)
EvtVector4Coperator*= (const EvtComplex &c)
void applyRotateEuler (double alpha, double beta, double gamma)
void applyBoostTo (const EvtVector4R &p4)
void applyBoostTo (const EvtVector3R &boost)
double dot (const EvtVector4C &p2)

Private Attributes

EvtComplex m_v [4]

Friends

EvtVector4C operator* (double d, const EvtVector4C &v2)
EvtVector4C operator* (const EvtComplex &c, const EvtVector4C &v2)
EvtVector4C operator* (const EvtVector4C &v2, const EvtComplex &c)
EvtVector4C operator* (const EvtComplex &c, const EvtVector4R &v2)
EvtComplex operator* (const EvtVector4R &v1, const EvtVector4C &v2)
EvtComplex operator* (const EvtVector4C &v1, const EvtVector4R &v2)
EvtComplex operator* (const EvtVector4C &v1, const EvtVector4C &v2)
EvtVector4C operator+ (const EvtVector4C &v1, const EvtVector4C &v2)
EvtVector4C operator- (const EvtVector4C &v1, const EvtVector4C &v2)
std::ostream & operator<< (std::ostream &s, const EvtVector4C &v)

Detailed Description

Definition at line 30 of file EvtVector4C.hh.

Constructor & Destructor Documentation

◆ EvtVector4C() [1/3]

EvtVector4C::EvtVector4C ( )

Definition at line 30 of file EvtVector4C.cpp.

◆ EvtVector4C() [2/3]

EvtVector4C::EvtVector4C ( const EvtComplex & e0,
const EvtComplex & e1,
const EvtComplex & e2,
const EvtComplex & e3 )

Definition at line 38 of file EvtVector4C.cpp.

◆ EvtVector4C() [3/3]

EvtVector4C::EvtVector4C ( const EvtVector4R & v1)
inline

Definition at line 178 of file EvtVector4C.hh.

Member Function Documentation

◆ applyBoostTo() [1/2]

void EvtVector4C::applyBoostTo ( const EvtVector3R & boost)

Definition at line 80 of file EvtVector4C.cpp.

◆ applyBoostTo() [2/2]

void EvtVector4C::applyBoostTo ( const EvtVector4R & p4)

Definition at line 69 of file EvtVector4C.cpp.

◆ applyRotateEuler()

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

Definition at line 128 of file EvtVector4C.cpp.

◆ conj()

EvtVector4C EvtVector4C::conj ( ) const
inline

Definition at line 204 of file EvtVector4C.hh.

◆ cont()

EvtComplex EvtVector4C::cont ( const EvtVector4C & v4) const
inline

Definition at line 140 of file EvtVector4C.hh.

◆ dot()

double EvtVector4C::dot ( const EvtVector4C & p2)

◆ get()

const EvtComplex & EvtVector4C::get ( int i) const
inline

Definition at line 125 of file EvtVector4C.hh.

◆ operator*=()

EvtVector4C & EvtVector4C::operator*= ( const EvtComplex & c)
inline

Definition at line 146 of file EvtVector4C.hh.

◆ operator+=()

EvtVector4C & EvtVector4C::operator+= ( const EvtVector4C & v2)
inline

Definition at line 78 of file EvtVector4C.hh.

◆ operator-=()

EvtVector4C & EvtVector4C::operator-= ( const EvtVector4C & v2)
inline

Definition at line 88 of file EvtVector4C.hh.

◆ set() [1/3]

void EvtVector4C::set ( const EvtComplex & e,
const EvtComplex & p1,
const EvtComplex & p2,
const EvtComplex & p3 )
inline

Definition at line 108 of file EvtVector4C.hh.

◆ set() [2/3]

void EvtVector4C::set ( double e,
double p1,
double p2,
double p3 )
inline

Definition at line 117 of file EvtVector4C.hh.

◆ set() [3/3]

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

Definition at line 98 of file EvtVector4C.hh.

◆ vec()

EvtVector3C EvtVector4C::vec ( ) const
inline

Definition at line 103 of file EvtVector4C.hh.

◆ operator* [1/7]

EvtVector4C operator* ( const EvtComplex & c,
const EvtVector4C & v2 )
friend

Definition at line 162 of file EvtVector4C.hh.

◆ operator* [2/7]

EvtVector4C operator* ( const EvtComplex & c,
const EvtVector4R & v2 )
friend

Definition at line 172 of file EvtVector4C.hh.

◆ operator* [3/7]

EvtComplex operator* ( const EvtVector4C & v1,
const EvtVector4C & v2 )
friend

Definition at line 198 of file EvtVector4C.hh.

◆ operator* [4/7]

EvtComplex operator* ( const EvtVector4C & v1,
const EvtVector4R & v2 )
friend

Definition at line 192 of file EvtVector4C.hh.

◆ operator* [5/7]

EvtVector4C operator* ( const EvtVector4C & v2,
const EvtComplex & c )
friend

Definition at line 167 of file EvtVector4C.hh.

◆ operator* [6/7]

EvtComplex operator* ( const EvtVector4R & v1,
const EvtVector4C & v2 )
friend

Definition at line 186 of file EvtVector4C.hh.

◆ operator* [7/7]

EvtVector4C operator* ( double d,
const EvtVector4C & v2 )
friend

Definition at line 156 of file EvtVector4C.hh.

◆ operator+

EvtVector4C operator+ ( const EvtVector4C & v1,
const EvtVector4C & v2 )
friend

Definition at line 130 of file EvtVector4C.hh.

◆ operator-

EvtVector4C operator- ( const EvtVector4C & v1,
const EvtVector4C & v2 )
friend

Definition at line 135 of file EvtVector4C.hh.

◆ operator<<

std::ostream & operator<< ( std::ostream & s,
const EvtVector4C & v )
friend

Member Data Documentation

◆ m_v

EvtComplex EvtVector4C::m_v[4]
private

Definition at line 70 of file EvtVector4C.hh.


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