Page MenuHomeHEPForge

SVVLoopVertex.h
No OneTemporary

SVVLoopVertex.h

// -*- C++ -*-
#ifndef HERWIG_SVVLoopVertex_H
#define HERWIG_SVVLoopVertex_H
//
// This is the declaration of the SVVLoopVertex class.
//
#include "ThePEG/Helicity/Vertex/Scalar/GeneralSVVVertex.h"
#include "Herwig++/Looptools/clooptools.h"
#include "ThePEG/PDT/PDT.h"
#include "SVVLoopVertex.fh"
namespace Herwig {
using namespace ThePEG;
using namespace Looptools;
/**
* The <code>SVVLoopVertex</code> is designed to
* calculate the coefficents for the terms in the
* Passarino-Veltman tensor reduction scheme. A vertex
* class should inherit from this and implement it's own
* setCoupling member from which the SVVLoopVertex
* setCoupling member is called.
*/
class SVVLoopVertex: public Helicity::GeneralSVVVertex {
public:
/** @name Standard constructors and destructors. */
//@{
/**
* The default constructor.
*/
inline SVVLoopVertex();
//@}
/**
* The standard Init function used to initialize the interfaces.
* Called exactly once for each class by the class description system
* before the main function starts or
* when this class is dynamically loaded.
*/
static void Init();
/**
* Calculate couplings
*@param q2 Scale at which to evaluate coupling
*@param part1 ParticleData pointer to first particle
*@param part2 ParticleData pointer to first particle
*@param part3 ParticleData pointer to first particle
*/
virtual void setCoupling(Energy2 q2,tcPDPtr part1, tcPDPtr part2,
tcPDPtr part3);
protected:
/** @name Clone Methods. */
//@{
/**
* Make a simple clone of this object.
* @return a pointer to the new object.
*/
inline virtual IBPtr clone() const;
/** Make a clone of this object, possibly modifying the cloned object
* to make it sane.
* @return a pointer to the new object.
*/
inline virtual IBPtr fullclone() const;
//@}
protected:
/** @name Standard Interfaced functions. */
//@{
/**
* Initialize this object after the setup phase before saving an
* EventGenerator to disk.
* @throws InitException if object could not be initialized properly.
*/
inline virtual void doinit() throw(InitException);
/**
* Initialize this object. Called in the run phase just before
* a run begins.
*/
inline virtual void doinitrun();
/**
* Finalize this object. Called in the run phase just after a
* run has ended. Used eg. to write out statistics.
*/
inline virtual void dofinish();
//@}
protected:
/**
* Vector of loop masses
*/
vector<Energy> masses;
/**
* Vector of loop types
*/
vector<PDT::Spin> type;
/**
* Vector of left couplings
*/
vector<double> left;
/**
* Vector of right couplings
*/
vector<double> right;
private:
/**
* The static object used to initialize the description of this class.
* Indicates that this is a concrete class with persistent data.
*/
static NoPIOClassDescription<SVVLoopVertex> initSVVLoopVertex;
/**
* The assignment operator is private and must never be called.
* In fact, it should not even be implemented.
*/
SVVLoopVertex & operator=(const SVVLoopVertex &);
};
}
#include "SVVLoopVertex.icc"
#include "ThePEG/Utilities/ClassTraits.h"
namespace ThePEG {
/** @cond TRAITSPECIALIZATIONS */
/** This template specialization informs ThePEG about the
* base classes of SVVLoopVertex. */
template <>
struct BaseClassTrait<Herwig::SVVLoopVertex,1> {
/** Typedef of the first base class of SVVLoopVertex. */
typedef Helicity::GeneralSVVVertex NthBase;
};
/** This template specialization informs ThePEG about the name of
* the SVVLoopVertex class and the shared object where it is defined. */
template <>
struct ClassTraits<Herwig::SVVLoopVertex>
: public ClassTraitsBase<Herwig::SVVLoopVertex> {
/** Return a platform-independent class name */
static string className() { return "Herwig++::SVVLoopVertex"; }
};
/** @endcond */
}
#endif /* HERWIG_SVVLoopVertex_H */

File Metadata

Mime Type
text/x-c++
Expires
Wed, May 14, 10:31 AM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5111172
Default Alt Text
SVVLoopVertex.h (3 KB)

Event Timeline