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/EvtAmp.hh>

Public Member Functions

 EvtAmp ()
 
 EvtAmp (const EvtAmp &amp)
 
void init (EvtId p, int ndaug, EvtId *daug)
 
void setAmp (int *ind, const EvtComplex &amp)
 
const EvtComplexgetAmp (int *ind) const
 
EvtSpinDensity getSpinDensity ()
 
EvtSpinDensity contract (int i, const EvtAmp &a)
 
EvtAmp contract (int i, const EvtSpinDensity &rho)
 
EvtAmp contract (int i, const EvtAmp &a1, const EvtAmp &a2)
 
EvtSpinDensity getForwardSpinDensity (EvtSpinDensity *rho_list, int k)
 
EvtSpinDensity getBackwardSpinDensity (EvtSpinDensity *rho_list)
 
EvtAmpoperator= (const EvtAmp &amp)
 
void vertex (const EvtComplex &amp)
 
void vertex (int i1, const EvtComplex &amp)
 
void vertex (int i1, int i2, const EvtComplex &amp)
 
void vertex (int i1, int i2, int i3, const EvtComplex &amp)
 
void vertex (int *i1, const EvtComplex &amp)
 
void dump ()
 

Private Member Functions

void setNDaug (int n)
 
void setNState (int parent_states, int *daug_states)
 

Private Attributes

EvtComplex _amp [125]
 
int _ndaug
 
int _pstates
 
int dstates [10]
 
int _dnontrivial [10]
 
int _nontrivial
 
int _nstate [5]
 

Friends

class EvtDecayAmp
 
class EvtKstarstargamma
 

Detailed Description

Definition at line 30 of file EvtAmp.hh.

Constructor & Destructor Documentation

◆ EvtAmp() [1/2]

EvtAmp::EvtAmp ( )

Definition at line 36 of file EvtAmp.cpp.

◆ EvtAmp() [2/2]

EvtAmp::EvtAmp ( const EvtAmp amp)

Definition at line 43 of file EvtAmp.cpp.

Member Function Documentation

◆ contract() [1/3]

EvtSpinDensity EvtAmp::contract ( int  i,
const EvtAmp a 
)

Definition at line 323 of file EvtAmp.cpp.

◆ contract() [2/3]

EvtAmp EvtAmp::contract ( int  i,
const EvtSpinDensity rho 
)

Definition at line 261 of file EvtAmp.cpp.

◆ contract() [3/3]

EvtAmp EvtAmp::contract ( int  i,
const EvtAmp a1,
const EvtAmp a2 
)

Definition at line 384 of file EvtAmp.cpp.

◆ dump()

void EvtAmp::dump ( )

Definition at line 393 of file EvtAmp.cpp.

◆ getAmp()

const EvtComplex & EvtAmp::getAmp ( int *  ind) const

Definition at line 129 of file EvtAmp.cpp.

◆ getBackwardSpinDensity()

EvtSpinDensity EvtAmp::getBackwardSpinDensity ( EvtSpinDensity rho_list)

Definition at line 204 of file EvtAmp.cpp.

◆ getForwardSpinDensity()

EvtSpinDensity EvtAmp::getForwardSpinDensity ( EvtSpinDensity rho_list,
int  k 
)

Definition at line 230 of file EvtAmp.cpp.

◆ getSpinDensity()

EvtSpinDensity EvtAmp::getSpinDensity ( )

Definition at line 142 of file EvtAmp.cpp.

◆ init()

void EvtAmp::init ( EvtId  p,
int  ndaug,
EvtId daug 
)

Definition at line 68 of file EvtAmp.cpp.

◆ operator=()

EvtAmp & EvtAmp::operator= ( const EvtAmp amp)

Definition at line 490 of file EvtAmp.cpp.

◆ setAmp()

void EvtAmp::setAmp ( int *  ind,
const EvtComplex amp 
)

Definition at line 116 of file EvtAmp.cpp.

◆ setNDaug()

void EvtAmp::setNDaug ( int  n)
private

Definition at line 83 of file EvtAmp.cpp.

◆ setNState()

void EvtAmp::setNState ( int  parent_states,
int *  daug_states 
)
private

Definition at line 88 of file EvtAmp.cpp.

◆ vertex() [1/5]

void EvtAmp::vertex ( const EvtComplex amp)

sets the amplitudes calculated in the decay objects

Definition at line 454 of file EvtAmp.cpp.

◆ vertex() [2/5]

void EvtAmp::vertex ( int  i1,
const EvtComplex amp 
)

sets the amplitudes calculated in the decay objects

Definition at line 461 of file EvtAmp.cpp.

◆ vertex() [3/5]

void EvtAmp::vertex ( int  i1,
int  i2,
const EvtComplex amp 
)

sets the amplitudes calculated in the decay objects

Definition at line 468 of file EvtAmp.cpp.

◆ vertex() [4/5]

void EvtAmp::vertex ( int  i1,
int  i2,
int  i3,
const EvtComplex amp 
)

sets the amplitudes calculated in the decay objects

Definition at line 476 of file EvtAmp.cpp.

◆ vertex() [5/5]

void EvtAmp::vertex ( int *  i1,
const EvtComplex amp 
)

sets the amplitudes calculated in the decay objects

Definition at line 485 of file EvtAmp.cpp.

Friends And Related Function Documentation

◆ EvtDecayAmp

friend class EvtDecayAmp
friend

Definition at line 82 of file EvtAmp.hh.

◆ EvtKstarstargamma

friend class EvtKstarstargamma
friend

Definition at line 83 of file EvtAmp.hh.

Member Data Documentation

◆ _amp

EvtComplex EvtAmp::_amp[125]
private

Definition at line 89 of file EvtAmp.hh.

◆ _dnontrivial

int EvtAmp::_dnontrivial[10]
private

Definition at line 101 of file EvtAmp.hh.

◆ _ndaug

int EvtAmp::_ndaug
private

Definition at line 92 of file EvtAmp.hh.

◆ _nontrivial

int EvtAmp::_nontrivial
private

Definition at line 104 of file EvtAmp.hh.

◆ _nstate

int EvtAmp::_nstate[5]
private

Definition at line 107 of file EvtAmp.hh.

◆ _pstates

int EvtAmp::_pstates
private

Definition at line 95 of file EvtAmp.hh.

◆ dstates

int EvtAmp::dstates[10]
private

Definition at line 98 of file EvtAmp.hh.


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