Page MenuHomeHEPForge

DecayVertex.h
No OneTemporary

DecayVertex.h

// -*- C++ -*-
//
// DecayVertex.h is a part of Herwig - A multi-purpose Monte Carlo event generator
// Copyright (C) 2002-2019 The Herwig Collaboration
//
// Herwig is licenced under version 3 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef HERWIG_DecayVertex_H
#define HERWIG_DecayVertex_H
//
// This is the declaration of the DecayVertex class.
//
#include <ThePEG/EventRecord/HelicityVertex.h>
#include "DecayMatrixElement.h"
#include "DecayVertex.fh"
namespace Herwig {
/** \ingroup Helicity
* \author Peter Richardson
*
* The DecayVertex class is designed to implement the vertex
* for a decay for use with the spin correlation algorithm.
* It inherits from HelicityVertex class of ThePEG and implements
* the methods to calculate the \f$\rho\f$ and \f$D\f$ matrices.
*
* It uses the DecayMatrixElement class to store the matrix element and
* it is this class which performs the calculations of the matrices.
*
* @see HelicityVertex
* @see DecayMatrixElement
*/
class DecayVertex: public HelicityVertex {
public:
/**
* Access to the matrix element
*/
//@{
/**
* Get the matrix element
*/
const DecayMEPtr ME() const {
return matrixElement_;
}
/**
* Set the matrix element
*/
void ME(DecayMEPtr in) const {
matrixElement_ = in;
}
//@}
public:
/**
* Standard Init function used to initialize the interfaces.
*/
static void Init();
public:
/**
* Method to calculate the \f$\rho\f$ matrix for one of the decay products
* @param iprod The product we are calculating the \f$\rho\f$ matrix for.
* @param recursive Whether or not to recursive calculate the matrix
*/
virtual RhoDMatrix getRhoMatrix(int iprod,bool recursive) const;
/**
* Method to calculate the \f$D\f$ matrix for the decaying particle. It this
* case the argument is a dummy.
*/
virtual RhoDMatrix getDMatrix(int) const;
/**
* Private and non-existent assignment operator.
*/
DecayVertex & operator=(const DecayVertex &) = delete;
private:
/**
* Storage of the decay matrix element.
*/
mutable DecayMEPtr matrixElement_;
};
}
#endif /* HERWIG_DecayVertex_H */

File Metadata

Mime Type
text/x-c++
Expires
Sat, May 3, 6:51 AM (17 h, 59 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4846862
Default Alt Text
DecayVertex.h (2 KB)

Event Timeline