Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F10881984
MEvv2vv.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
6 KB
Subscribers
None
MEvv2vv.h
View Options
// -*- C++ -*-
//
// MEvv2vv.h is a part of Herwig++ - A multi-purpose Monte Carlo event generator
// Copyright (C) 2002-2007 The Herwig Collaboration
//
// Herwig++ is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef HERWIG_MEvv2vv_H
#define HERWIG_MEvv2vv_H
//
// This is the declaration of the MEvv2vv class.
//
#include
"GeneralHardME.h"
#include
"ThePEG/Helicity/WaveFunction/VectorWaveFunction.h"
#include
"ThePEG/Helicity/Vertex/AbstractVVVVertex.h"
#include
"ThePEG/Helicity/Vertex/AbstractVVTVertex.h"
#include
"ThePEG/Helicity/Vertex/AbstractVVSVertex.h"
#include
"ThePEG/Helicity/Vertex/AbstractVVVVVertex.h"
#include
"ProductionMatrixElement.h"
#include
"MEvv2vv.fh"
namespace
Herwig
{
using
namespace
ThePEG
;
using
Helicity
::
VectorWaveFunction
;
/**
* This is the implementation of the matrix element for
* \f$2\to 2\f$ massless vector-boson pair to vector-boson pair. It inherits from
* GeneralHardME and implements the appropriate virtual member functions.
*
* @see \ref MEvv2vvInterfaces "The interfaces"
* defined for MEvv2vv.
*/
class
MEvv2vv
:
public
GeneralHardME
{
public
:
/**
* Typedef for VectorWaveFunction
*/
typedef
vector
<
VectorWaveFunction
>
VBVector
;
public
:
/**
* The default constructor.
*/
inline
MEvv2vv
();
public
:
/** @name Virtual functions required by the GeneralHardME class. */
//@{
/**
* The matrix element for the kinematical configuration
* previously provided by the last call to setKinematics(), suitably
* scaled by sHat() to give a dimension-less number.
* @return the matrix element scaled with sHat() to give a
* dimensionless number.
*/
virtual
double
me2
()
const
;
/**
* Return a Selector with possible colour geometries for the selected
* diagram weighted by their relative probabilities.
* @param diag the diagram chosen.
* @return the possible colour geometries weighted by their
* relative probabilities.
*/
virtual
Selector
<
const
ColourLines
*>
colourGeometries
(
tcDiagPtr
diag
)
const
;
//@}
/**
* Construct the vertex information for the spin correlations
* @param sub Pointer to the relevent SubProcess
*/
virtual
void
constructVertex
(
tSubProPtr
sub
);
private
:
/**
* Compute the matrix element for \f$V\, V\to V\, V\f$
* @param vin1 VectorWaveFunctions for first incoming particle
* @param vin2 VectorWaveFunctions for second incoming particle
* @param vout1 VectorWaveFunctions for first outgoing particle
* @param mc Whether vout1 is massless or not
* @param vout2 VectorWaveFunctions for outgoing particle
* @param md Whether vout2 is massless or not
* @param me2 colour averaged, spin summed ME
* @return ProductionMatrixElement containing results of
* helicity calculations
*/
ProductionMatrixElement
vv2vvHeME
(
VBVector
&
vin1
,
VBVector
&
vin2
,
VBVector
&
vout1
,
bool
mc
,
VBVector
&
vout2
,
bool
md
,
double
&
me2
)
const
;
protected
:
/**
* A debugging function to test the value of me2 against an
* analytic function.
* @param me2 The value of the \f$ |\bar{\mathcal{M}}|^2 \f$
*/
virtual
void
debug
(
double
me2
)
const
;
public
:
/** @name Functions used by the persistent I/O system. */
//@{
/**
* Function used to write out object persistently.
* @param os the persistent output stream written to.
*/
void
persistentOutput
(
PersistentOStream
&
os
)
const
;
/**
* Function used to read in object persistently.
* @param is the persistent input stream read from.
* @param version the version number of the object when written.
*/
void
persistentInput
(
PersistentIStream
&
is
,
int
version
);
//@}
/**
* 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
();
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.
*/
virtual
void
doinit
()
throw
(
InitException
);
//@}
private
:
/**
* The static object used to initialize the description of this class.
* Indicates that this is a concrete class with persistent data.
*/
static
ClassDescription
<
MEvv2vv
>
initMEvv2vv
;
/**
* The assignment operator is private and must never be called.
* In fact, it should not even be implemented.
*/
MEvv2vv
&
operator
=
(
const
MEvv2vv
&
);
private
:
/**
* Store the dynamically casted VVSVertex pointers
*/
vector
<
pair
<
AbstractVVSVertexPtr
,
AbstractVVSVertexPtr
>
>
theScaV
;
/**
* Store the dynamically casted VVVVertex pointers
*/
vector
<
pair
<
AbstractVVVVertexPtr
,
AbstractVVVVertexPtr
>
>
theVecV
;
/**
* Store the dynamically casted VVTVertex pointers
*/
vector
<
pair
<
AbstractVVTVertexPtr
,
AbstractVVTVertexPtr
>
>
theTenV
;
/**
* Store the dynamically casted VVVVVertex pointer
*/
AbstractVVVVVertexPtr
theFPVertex
;
};
}
#include
"ThePEG/Utilities/ClassTraits.h"
namespace
ThePEG
{
/** @cond TRAITSPECIALIZATIONS */
/** This template specialization informs ThePEG about the
* base classes of MEvv2vv. */
template
<>
struct
BaseClassTrait
<
Herwig
::
MEvv2vv
,
1
>
{
/** Typedef of the first base class of MEvv2vv. */
typedef
Herwig
::
GeneralHardME
NthBase
;
};
/** This template specialization informs ThePEG about the name of
* the MEvv2vv class and the shared object where it is defined. */
template
<>
struct
ClassTraits
<
Herwig
::
MEvv2vv
>
:
public
ClassTraitsBase
<
Herwig
::
MEvv2vv
>
{
/** Return a platform-independent class name */
static
string
className
()
{
return
"Herwig::MEvv2vv"
;
}
};
/** @endcond */
}
#include
"MEvv2vv.icc"
#endif
/* HERWIG_MEvv2vv_H */
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, May 3, 7:00 AM (6 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4983233
Default Alt Text
MEvv2vv.h (6 KB)
Attached To
rHERWIGHG herwighg
Event Timeline
Log In to Comment