|
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. 41 double prob, prob_max; 56 << "Negative prob:" << p-> getId(). getId() << " " 67 << "Forward density matrix:" << endl; 71 << "Decay density matrix:" << endl; 81 << "Momentum:" << p-> getP4() << " " << p-> mass() << endl; 101 for ( size_t i = 0; i < p-> getNDaug(); i++ ) { 109 << "daughter momenta :" << endl; 111 for ( size_t i = 0; i < p-> getNDaug(); i++ ) { 129 } while ( ntimes && more ); 133 << "Tried accept/reject: 10000" 134 << " times, and rejected all the times!" << endl; 139 << "Is therefore accepting the last event!" << endl; 145 for ( size_t ii = 0; ii < p-> getNDaug(); ii++ ) { 147 << "Daughter " << ii << ":" 149 << " with mass " << p-> getDaug( ii )-> mass() << endl; 171 for ( size_t i = 0; i < p-> getNDaug(); i++ ) { 180 if ( !rho. check() ) { 182 << "-------start error-------" << endl; 184 << "forward rho failed Check:" 190 for ( size_t idaug = 0; idaug < p-> getNDaug(); idaug++ ) { 192 if ( daughter != 0 ) { 198 if ( pParent != 0 ) { 205 if ( grandParent != 0 ) { 214 << " EvtSpinDensity rho: " << rho; 218 for ( size_t ii = 0; ii < i + 1; ii++ ) { 220 << "rho_list[" << ii << "] = " << rho_list[ii]; 224 << "-------Done with error-------" << endl; 242 << "rho_backward failed Check" << p-> getId(). getId() << " " 255 for ( int i = n_daug_orig; i < n_daug_new; i++ ) { const char * c_str(Index i)
EvtSpinDensity getSpinDensityForward()
static std::string name(EvtId i)
double getProbMax(double prob)
void setSpinDensityForward(const EvtSpinDensity &rho)
EvtSpinDensity getBackwardSpinDensity(EvtSpinDensity *rho_list)
void setDecayProb(double p)
EvtParticle * getParent() const
void setSpinDensityBackward(const EvtSpinDensity &rho)
static void doRadCorr(EvtParticle *p)
std::ostream & EvtGenReport(EvtGenSeverity severity, const char *facility=0)
EvtSpinDensity getSpinDensityBackward()
EvtSpinDensity getSpinDensity()
bool _daugsDecayedByParentModel
void makeDecay(EvtParticle *p, bool recursive=true) override
const EvtVector4R & getP4() const
EvtSpinDensity contract(int i, const EvtAmp &a)
virtual void decay(EvtParticle *p)=0
EvtParticle * getDaug(int i)
void set(int i, int j, const EvtComplex &rhoij)
void init(EvtId p, int ndaug, EvtId *daug)
bool daugsDecayedByParentModel()
double normalizedProb(const EvtSpinDensity &d)
static bool alwaysRadCorr()
|