|
EvtGen
2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
|
Go to the documentation of this file. 49 for ( i = 0; i < _ndaug; i++ ) { 62 for ( i = 0; i < namp; i++ ) { 72 int daug_states[100], parstates; 73 for ( ichild = 0; ichild < ndaugs; ichild++ ) { 100 for ( i = 0; i < _ndaug; i++ ) { 103 if ( daug_states[i] > 1 ) { 112 << "Too many nontrivial states in EvtAmp!" << endl; 119 int position = ind[0]; 123 position += nstatepad * ind[i]; 125 assert( position < 125 ); 132 int position = ind[0]; 136 position += nstatepad * ind[i]; 139 return _amp[position]; 165 for ( i = 0; i < n; i++ ) { 169 rho. set( 0, 0, temp ); 184 for ( kk = 0; kk < _ndaug; kk++ ) { 188 for ( kk = 0; kk < allloop; kk++ ) { 197 rho. set( i, j, temp ); 219 ampprime = ( *this ); 221 for ( k = 0; k < _ndaug; k++ ) { 227 return ampprime. contract( 0, ( * this ) ); 246 ampprime = ( *this ); 249 ampprime = ampprime. contract( 0, rho_list[0] ); 252 for ( k = 0; k < i; k++ ) { 270 for ( i = 0; i < _ndaug; i++ ) { 277 << "Should not be here EvtAmp!" << endl; 287 for ( i = 0; i < 10; i++ ) { 297 for ( i = 0; i < allloop; i++ ) { 299 int tempint = index[k]; 300 for ( j = 0; j < _nstate[k]; j++ ) { 302 c += rho. get( j, tempint ) * getAmp( index ); 310 if ( indflag == 0 ) { 311 if ( index[ii] == ( _nstate[ii] - 1 ) ) { 341 for ( i = 0; i < _nstate[k]; i++ ) { 342 for ( j = 0; j < _nstate[k]; j++ ) { 345 << "Should not be here1 EvtAmp!" << endl; 350 for ( ii = 0; ii < 10; ii++ ) { 359 for ( l = 0; l < int( allloop / _nstate[k] ); l++ ) { 364 if ( indflag == 0 ) { 365 if ( index[ii] == ( _nstate[ii] - 1 ) ) { 377 rho. set( i, j, temp ); 389 << "EvtAmp::contract not written yet" << endl; 396 for ( i = 0; i < 10; i++ ) { 401 << "Number of daugthers:" << _ndaug << endl; 403 << "Number of states of the parent:" << _pstates << endl; 405 for ( i = 0; i < _ndaug; i++ ) { 410 for ( i = 0; i < _ndaug; i++ ) { 415 << "number of nontrivial states:" << _nontrivial << endl; 417 << "Nontrivial particles number of states:"; 429 for ( i = 0; i < 10; i++ ) { 438 allloop[i] = allloop[i - 1] * _nstate[i]; 444 if ( i == allloop[index] - 1 ) { 451 << "-----------------------------------" << endl; 496 for ( i = 0; i < _ndaug; i++ ) { 509 for ( i = 0; i < namp; i++ ) {
EvtSpinDensity getBackwardSpinDensity(EvtSpinDensity *rho_list)
static EvtSpinType::spintype getSpinType(EvtId i)
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
Evt3Rank3C conj(const Evt3Rank3C &t2)
const EvtComplex & get(int i, int j) const
static int getSpinStates(spintype stype)
EvtSpinDensity getSpinDensity()
void setNState(int parent_states, int *daug_states)
const EvtComplex & getAmp(int *ind) const
void vertex(const EvtComplex &)
EvtAmp & operator=(const EvtAmp &)
EvtSpinDensity contract(int i, const EvtAmp &a)
void set(int i, int j, const EvtComplex &rhoij)
EvtSpinDensity getForwardSpinDensity(EvtSpinDensity *rho_list, int k)
void setAmp(int *ind, const EvtComplex &)
void init(EvtId p, int ndaug, EvtId *daug)
|