herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.4

This defines the GeneralHardME class that is designed to serve as a base class for matrix elements of specific spin structures when those structures are created by a a general model, i.e. More...

#include <GeneralHardME.h>

Inheritance diagram for Herwig::GeneralHardME:

Public Types

enum  ColourStructure {
  UNDEFINED, Colour11to11, Colour11to33bar, Colour11to88,
  Colour33to33, Colour33barto11, Colour33barto33bar, Colour33barto66bar,
  Colour33barto6bar6, Colour33to61, Colour3bar3barto6bar1, Colour33to16,
  Colour3bar3barto16bar, Colour38to3bar6, Colour38to63bar, Colour33barto18,
  Colour33barto81, Colour33barto88, Colour38to13, Colour38to31,
  Colour38to83, Colour38to38, Colour3bar3barto3bar3bar, Colour3bar8to13bar,
  Colour3bar8to3bar1, Colour3bar8to83bar, Colour3bar8to3bar8, Colour88to11,
  Colour88to33bar, Colour88to66bar, Colour88to88, Colour88to18,
  Colour88to81, Colour33to13bar, Colour33to3bar1, Colour33to83bar,
  Colour33to3bar8, Colour3bar3barto13, Colour3bar3barto31, Colour3bar3barto83,
  Colour3bar3barto38, Colour38to3bar3bar, Colour3bar8to33
}
 Enum for the possible colour structures.
 
typedef vector< HPDiagram >::size_type HPCount
 Convenient typedef for size_type of HPDiagram vector.
 
- Public Types inherited from Herwig::HwMEBase
enum  POWHEGType { No, ISR, FSR, Both }
 Virtual members to be overridden by inheriting classes which implement hard corrections. More...
 
- Public Types inherited from ThePEG::MEBase
typedef vector< DiagPtr > DiagramVector
 
typedef DiagramVector::size_type DiagramIndex
 
typedef vector< ReweightPtrReweightVector
 
- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Types inherited from ThePEG::LastXCombInfo< StandardXComb >
typedef ThePEG::Ptr< StandardXComb >::pointer XCPtr
 
typedef ThePEG::Ptr< StandardXComb >::const_pointer cXCPtr
 
typedef ThePEG::Ptr< StandardXComb >::transient_pointer tXCPtr
 
typedef ThePEG::Ptr< StandardXComb >::transient_const_pointer tcXCPtr
 

Public Member Functions

 GeneralHardME ()
 The default constructor.
 
void setProcessInfo (const vector< HPDiagram > &process, ColourStructure colour, bool debug, unsigned int scaleOption, double scaleFactor)
 Set the diagrams and matrix of colour factors. More...
 
Virtual functions required by the MEBase class.
virtual unsigned int orderInAlphaS () const
 Return the order in $\alpha_S$ in which this matrix element is given.
 
virtual unsigned int orderInAlphaEW () const
 Return the order in $\alpha_{EW}$ in which this matrix element is given.
 
virtual double me2 () const =0
 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. More...
 
virtual Energy2 scale () const
 Return the scale associated with the last set phase space point.
 
virtual void getDiagrams () const
 Add all possible diagrams with the add() function.
 
virtual Selector< DiagramIndexdiagrams (const DiagramVector &dv) const
 Get diagram selector. More...
 
virtual Selector< const ColourLines * > colourGeometries (tcDiagPtr diag) const
 Return a Selector with possible colour geometries for the selected diagram weighted by their relative probabilities. More...
 
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from Herwig::HwMEBase
 HwMEBase ()
 Default constructor.
 
virtual int nDim () const
 The number of internal degreed of freedom used in the matrix element.
 
virtual bool generateKinematics (const double *r)
 Generate internal degrees of freedom given 'nDim()' uniform random numbers in the interval ]0,1[. More...
 
virtual CrossSection dSigHatDR () const
 Return the matrix element for the kinematical configuation previously provided by the last call to setKinematics(). More...
 
virtual void setKinematics ()
 Set the typed and momenta of the incoming and outgoing partons to be used in subsequent calls to me() and colourGeometries() according to the associated XComb object.
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
virtual POWHEGType hasPOWHEGCorrection ()
 Has a POWHEG style correction.
 
virtual bool hasMECorrection ()
 Has an old fashioned ME correction.
 
virtual void initializeMECorrection (RealEmissionProcessPtr, double &, double &)
 Initialize the ME correction.
 
virtual RealEmissionProcessPtr applyHardMatrixElementCorrection (RealEmissionProcessPtr)
 Apply the hard matrix element correction to a given hard process or decay.
 
virtual bool softMatrixElementVeto (ShowerProgenitorPtr initial, ShowerParticlePtr parent, Branching br)
 Apply the soft matrix element correction. More...
 
virtual RealEmissionProcessPtr generateHardest (RealEmissionProcessPtr, ShowerInteraction)
 Apply the POWHEG style correction.
 
- Public Member Functions inherited from ThePEG::MEBase
virtual double alphaS () const
 
virtual double alphaEM () const
 
void setKinematics (tPPair in, const PVector &out)
 
virtual void constructVertex (tSubProPtr sub)
 
virtual void constructVertex (tSubProPtr sub, const ColourLines *cl)
 
virtual bool wantCMS () const
 
virtual bool headCuts () const
 
virtual bool ignoreCuts () const
 
virtual bool apply () const
 
virtual bool haveX1X2 () const
 
virtual bool havePDFWeight1 () const
 
virtual bool havePDFWeight2 () const
 
virtual bool keepRandomNumbers () const
 
virtual void generateSubCollision (SubProcess &)
 
virtual void clearKinematics ()
 
virtual bool noMirror () const
 
const DiagramVectordiagrams () const
 
virtual const ColourLinesselectColourGeometry (tcDiagPtr diag) const
 
virtual DiagramIndex diagram (const DiagramVector &) const
 
bool reweighted () const
 
double reWeight () const
 
double preWeight () const
 
void addReweighter (tReweightPtr rw)
 
void addPreweighter (tReweightPtr rw)
 
Ptr< Amplitude >::pointer amplitude () const
 
void amplitude (Ptr< Amplitude >::pointer amp)
 
Energy2 sHat () const
 
double preweight () const
 
virtual void flushCaches ()
 
virtual StdXCombPtr makeXComb (Energy newMaxEnergy, const cPDPair &inc, tEHPtr newEventHandler, tSubHdlPtr newSubProcessHandler, tPExtrPtr newExtractor, tCascHdlPtr newCKKW, const PBPair &newPartonBins, tCutsPtr newCuts, const DiagramVector &newDiagrams, bool mir, const PartonPairVec &allPBins, tStdXCombPtr newHead=tStdXCombPtr(), tMEPtr newME=tMEPtr())
 
virtual StdXCombPtr makeXComb (tStdXCombPtr newHead, const PBPair &newPartonBins, const DiagramVector &newDiagrams, tMEPtr newME=tMEPtr())
 
virtual void fillProjectors ()
 
virtual void setXComb (tStdXCombPtr)
 
const DVectormeInfo () const
 
void meInfo (const DVector &info) const
 
virtual int maxMultCKKW () const
 
virtual int minMultCKKW () const
 
virtual void maxMultCKKW (int mult)
 
virtual void minMultCKKW (int mult)
 
virtual void setVetoScales (tSubProPtr) const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual double alphaS () const
 
virtual double alphaEM () const
 
void setKinematics (tPPair in, const PVector &out)
 
virtual void constructVertex (tSubProPtr sub)
 
virtual void constructVertex (tSubProPtr sub, const ColourLines *cl)
 
virtual bool wantCMS () const
 
virtual bool headCuts () const
 
virtual bool ignoreCuts () const
 
virtual bool apply () const
 
virtual bool haveX1X2 () const
 
virtual bool havePDFWeight1 () const
 
virtual bool havePDFWeight2 () const
 
virtual bool keepRandomNumbers () const
 
virtual void generateSubCollision (SubProcess &)
 
virtual void clearKinematics ()
 
virtual bool noMirror () const
 
const DiagramVectordiagrams () const
 
virtual const ColourLinesselectColourGeometry (tcDiagPtr diag) const
 
virtual DiagramIndex diagram (const DiagramVector &) const
 
bool reweighted () const
 
double reWeight () const
 
double preWeight () const
 
void addReweighter (tReweightPtr rw)
 
void addPreweighter (tReweightPtr rw)
 
Ptr< Amplitude >::pointer amplitude () const
 
void amplitude (Ptr< Amplitude >::pointer amp)
 
Energy2 sHat () const
 
double preweight () const
 
virtual void flushCaches ()
 
virtual StdXCombPtr makeXComb (Energy newMaxEnergy, const cPDPair &inc, tEHPtr newEventHandler, tSubHdlPtr newSubProcessHandler, tPExtrPtr newExtractor, tCascHdlPtr newCKKW, const PBPair &newPartonBins, tCutsPtr newCuts, const DiagramVector &newDiagrams, bool mir, const PartonPairVec &allPBins, tStdXCombPtr newHead=tStdXCombPtr(), tMEPtr newME=tMEPtr())
 
virtual StdXCombPtr makeXComb (tStdXCombPtr newHead, const PBPair &newPartonBins, const DiagramVector &newDiagrams, tMEPtr newME=tMEPtr())
 
virtual void fillProjectors ()
 
virtual void setXComb (tStdXCombPtr)
 
const DVectormeInfo () const
 
void meInfo (const DVector &info) const
 
virtual int maxMultCKKW () const
 
virtual int minMultCKKW () const
 
virtual void maxMultCKKW (int mult)
 
virtual void minMultCKKW (int mult)
 
virtual void setVetoScales (tSubProPtr) const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from HandlerBaseT< UseRandom >
double rnd () const
 
double rnd (double xu) const
 
double rnd (double xl, double xu) const
 
bool rndbool () const
 
bool rndbool (double p) const
 
bool rndbool (double p1, double p2) const
 
int rndsign (double p1, double p2, double p3) const
 
int rnd2 (double p0, double p1) const
 
int rnd3 (double p0, double p1, double p2) const
 
int rnd4 (double p0, double p1, double p2, double p3) const
 
long irnd (long xu=2) const
 
long irnd (long xl, long xu) const
 
const StandardModelBase & SM () const
 
tSMPtr standardModel () const
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
virtual IBPtr fullclone () const
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 
- Public Member Functions inherited from ThePEG::LastXCombInfo< StandardXComb >
const StandardXComblastXComb () const
 
const StandardXComblastXComb () const
 
tXCPtr lastXCombPtr () const
 
tXCPtr lastXCombPtr () const
 
const StandardXComblastHeadXComb () const
 
const StandardXComblastHeadXComb () const
 
tXCPtr lastHeadXCombPtr () const
 
tXCPtr lastHeadXCombPtr () const
 
const EventHandlerlastEventHandler () const
 
const EventHandlerlastEventHandler () const
 
tPExtrPtr lastExtractor () const
 
tPExtrPtr lastExtractor () const
 
PDFT pdf (tcPPtr parton) const
 
PDFT pdf (tcPPtr parton) const
 
const CutslastCuts () const
 
const CutslastCuts () const
 
tCutsPtr lastCutsPtr () const
 
tCutsPtr lastCutsPtr () const
 
const PPairlastParticles () const
 
const PPairlastParticles () const
 
Energy2 lastS () const
 
Energy2 lastS () const
 
const PPairlastPartons () const
 
const PPairlastPartons () const
 
Energy2 lastSHat () const
 
Energy2 lastSHat () const
 
double lastTau () const
 
double lastTau () const
 
double lastY () const
 
double lastY () const
 
double lastP1 () const
 
double lastP1 () const
 
double lastP2 () const
 
double lastP2 () const
 
double lastL1 () const
 
double lastL1 () const
 
double lastL2 () const
 
double lastL2 () const
 
double lastX1 () const
 
double lastX1 () const
 
double lastX2 () const
 
double lastX2 () const
 
double lastE1 () const
 
double lastE1 () const
 
double lastE2 () const
 
double lastE2 () const
 
double lastFL1L2 () const
 
double lastFL1L2 () const
 
Energy2 lastScale () const
 
Energy2 lastScale () const
 
double lastAlphaS () const
 
double lastAlphaS () const
 
double lastAlphaEM () const
 
double lastAlphaEM () const
 
const vector< Lorentz5Momentum > & meMomenta () const
 
const vector< Lorentz5Momentum > & meMomenta () const
 
double lastME2 () const
 
double lastME2 () const
 
double lastPreweight () const
 
double lastPreweight () const
 
double jacobian () const
 
double jacobian () const
 
CrossSection lastMECrossSection () const
 
CrossSection lastMECrossSection () const
 
double lastMEPDFWeight () const
 
double lastMEPDFWeight () const
 
double lastMECouplings () const
 
double lastMECouplings () const
 
tSubProPtr subProcess () const
 
tSubProPtr subProcess () const
 
const cPDVectormePartonData () const
 
const cPDVectormePartonData () const
 

Static Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from Herwig::HwMEBase
static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from ThePEG::MEBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::HandlerBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 

Protected Member Functions

virtual void debug (double) const
 A debugging function to test the value of me2 against an analytic function. More...
 
const vector< HPDiagram > & getProcessInfo () const
 Access the HPDiagrams that store the required information to create the diagrams.
 
pair< long, long > getIncoming () const
 Return the incoming pair. More...
 
pair< long, long > getOutgoing () const
 Return the outgoing pair. More...
 
const vector< DVector > & getColourFactors () const
 Return the matrix of colour factors.
 
HPCount numberOfDiags () const
 Get the number of diagrams in this process.
 
size_t numberOfFlows () const
 Access number of colour flows.
 
bool debugME () const
 Whether to print the debug information.
 
double selectColourFlow (vector< double > &flow, vector< double > &me, double average) const
 Calculate weight and select colour flow.
 
vector< ProductionMatrixElement > & flowME () const
 Access to the colour flow matrix element.
 
vector< ProductionMatrixElement > & diagramME () const
 Access to the diagram matrix element.
 
ColourStructure colour () const
 Access to the colour structure.
 
ParticleVector hardParticles (tSubProPtr subp)
 Extract the paricles from the subprocess.
 
void setRescaledMomenta (const ParticleVector &external)
 Set the rescaled momenta.
 
void createVertex (ProductionMatrixElement &me, ParticleVector &external)
 Create the vertes.
 
void initializeMatrixElements (PDT::Spin in1, PDT::Spin in2, PDT::Spin out1, PDT::Spin out2)
 Initialize the storage of the helicity matrix elements.
 
Standard Interfaced functions.
virtual void doinitrun ()
 Initialize this object. More...
 
unsigned int colourFlow () const
 Set/Get Info on the selected diagram and colour flow. More...
 
void colourFlow (unsigned int flow) const
 Colour flow.
 
unsigned int diagram () const
 Diagram.
 
void diagram (unsigned int diag) const
 Diagram.
 
- Protected Member Functions inherited from Herwig::HwMEBase
void massOption (vector< unsigned int > iopt)
 Set the treatment of the outgoing masses. More...
 
bool generateMasses (vector< Energy > &masses, double &mjac, const double *r)
 Generate the masses of the particles.
 
virtual double getCosTheta (double cthmin, double cthmax, const double r)
 Used internally by generateKinematics, after calculating the limits on cos(theta).
 
Energy2 tHat () const
 Return the $\hat{t}$ of the last set phase space point.
 
Energy2 uHat () const
 Return the $\hat{u}$ of the last set phase space point.
 
double phi () const
 Return the azimuth angle of the last set phase space point.
 
void tHat (Energy2 e2)
 Set the $\hat{t}$ of the last set phase space point.
 
void uHat (Energy2 e2)
 Set the $\hat{u}$ of the last set phase space point.
 
void phi (double phi)
 Set the azimuth angle of the last set phase space point.
 
void rescalingOption (unsigned int iopt)
 Rescaled momenta for the helicity ME. More...
 
bool rescaleMomenta (const vector< Lorentz5Momentum > &, const cPDVector &)
 rescale the momenta for the computation of the helicity matrix element
 
const vector< Lorentz5Momentum > & rescaledMomenta () const
 Access to the rescaled momenta.
 
- Protected Member Functions inherited from ThePEG::MEBase
void add (DiagPtr dp) const
 
vector< Lorentz5Momentum > & meMomenta ()
 
void lastME2 (double v) const
 
void lastPreweight (double w) const
 
void lastMECrossSection (CrossSection v) const
 
void lastMEPDFWeight (double v) const
 
void lastMECouplings (double v) const
 
void jacobian (double j)
 
void use (tcMEPtr other)
 
void useDiagrams (tcMEPtr other) const
 
virtual void doinit ()
 
virtual void doinit ()
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 
 Interfaced (const string &newName)
 
 Interfaced (const Interfaced &i)
 
void setGenerator (tEGPtr generator)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Private Member Functions

GeneralHardMEoperator= (const GeneralHardME &)
 The assignment operator is private and must never be called. More...
 

Private Attributes

bool debug_
 Whether to test the value of me2 against the analytical function.
 
unsigned int scaleChoice_
 The scale chocie.
 
double scaleFactor_
 The scale factor.
 
pair< long, long > incoming_
 External particles. More...
 
pair< long, long > outgoing_
 Store the outgoing particles.
 
vector< HPDiagramdiagrams_
 Diagrams. More...
 
HPCount numberOfDiagrams_
 Store the number of diagrams for fast retrieval.
 
ColourStructure colourStructure_
 Colour information. More...
 
vector< DVectorcolour_
 Store colour factors for ME calc.
 
unsigned int numberOfFlows_
 The number of colourflows.
 
unsigned int flow_
 Info on the selected diagram and colour flow. More...
 
unsigned int diagram_
 Diagram.
 
vector< ProductionMatrixElementflowME_
 Storage of the matrix elements. More...
 
vector< ProductionMatrixElementdiagramME_
 Matrix elements for the different Feynman diagrams.
 

Additional Inherited Members

- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 
- Protected Attributes inherited from ThePEG::LastXCombInfo< StandardXComb >
XCPtr theLastXComb
 

Detailed Description

This defines the GeneralHardME class that is designed to serve as a base class for matrix elements of specific spin structures when those structures are created by a a general model, i.e.

a SUSY production ME. It stores a vector of diagram structures that contain the required to calculate the matrix element.

See also
HwMEBase

Definition at line 40 of file GeneralHardME.h.

Member Function Documentation

◆ colourFlow()

unsigned int Herwig::GeneralHardME::colourFlow ( ) const
inlineprotected

Set/Get Info on the selected diagram and colour flow.

Colour flow

Definition at line 277 of file GeneralHardME.h.

◆ colourGeometries()

virtual Selector<const ColourLines *> Herwig::GeneralHardME::colourGeometries ( tcDiagPtr  diag) const
virtual

Return a Selector with possible colour geometries for the selected diagram weighted by their relative probabilities.

Parameters
diagthe diagram chosen.
Returns
the possible colour geometries weighted by their relative probabilities.

Implements ThePEG::MEBase.

◆ debug()

virtual void Herwig::GeneralHardME::debug ( double  ) const
inlineprotectedvirtual

A debugging function to test the value of me2 against an analytic function.

This is to be overidden in an inheriting class.

Reimplemented in Herwig::MEff2tv, Herwig::MEfv2tf, Herwig::MEvv2tv, Herwig::MEff2ff, Herwig::MEfv2fs, Herwig::MEfv2vf, Herwig::MEvv2ff, Herwig::MEvv2ss, Herwig::MEvv2vv, Herwig::MEff2vv, and Herwig::MEff2ss.

Definition at line 214 of file GeneralHardME.h.

◆ diagrams()

virtual Selector<DiagramIndex> Herwig::GeneralHardME::diagrams ( const DiagramVector dv) const
virtual

Get diagram selector.

With the information previously supplied with the setKinematics method, a derived class may optionally override this method to weight the given diagrams with their (although certainly not physical) relative probabilities.

Parameters
dvthe diagrams to be weighted.
Returns
a Selector relating the given diagrams to their weights.

Reimplemented from ThePEG::MEBase.

◆ doinitrun()

virtual void Herwig::GeneralHardME::doinitrun ( )
protectedvirtual

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from ThePEG::MEBase.

◆ getIncoming()

pair<long, long> Herwig::GeneralHardME::getIncoming ( ) const
inlineprotected

Return the incoming pair.

Returns
Pair of particle ids for the incoming particles

Definition at line 230 of file GeneralHardME.h.

◆ getOutgoing()

pair<long, long> Herwig::GeneralHardME::getOutgoing ( ) const
inlineprotected

Return the outgoing pair.

Returns
Pair of particle ids for the outgoing particles

Definition at line 238 of file GeneralHardME.h.

◆ Init()

static void Herwig::GeneralHardME::Init ( )
static

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.

◆ me2()

virtual double Herwig::GeneralHardME::me2 ( ) const
pure virtual

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.

Returns
the matrix element scaled with sHat() to give a dimensionless number.

Implements ThePEG::MEBase.

Implemented in Herwig::MEff2sv, Herwig::MEff2vs, Herwig::MEff2tv, Herwig::MEfv2fs, Herwig::MEff2vv, Herwig::MEvv2ff, Herwig::MEff2ff, Herwig::MEff2ss, Herwig::MEfv2tf, Herwig::MEvv2ss, Herwig::MEfv2vf, Herwig::MEvv2vv, Herwig::MEvv2vs, and Herwig::MEvv2tv.

◆ operator=()

GeneralHardME& Herwig::GeneralHardME::operator= ( const GeneralHardME )
private

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void Herwig::GeneralHardME::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void Herwig::GeneralHardME::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ setProcessInfo()

void Herwig::GeneralHardME::setProcessInfo ( const vector< HPDiagram > &  process,
ColourStructure  colour,
bool  debug,
unsigned int  scaleOption,
double  scaleFactor 
)

Set the diagrams and matrix of colour factors.

Parameters
processvector of MEDiagram with information that will allow the diagrams to be created in the specific matrix element
colourThe colour structure for the process
debugWhether to compare the numerical answer to an analytical formula (This is only stored for certain processes. It is intended for quick checks of the matrix elements).
scaleOptionThe option of what scale to use
scaleFactorThe prefactor for the scale

Member Data Documentation

◆ colourStructure_

ColourStructure Herwig::GeneralHardME::colourStructure_
private

Colour information.

The colour structure

Definition at line 428 of file GeneralHardME.h.

◆ diagrams_

vector<HPDiagram> Herwig::GeneralHardME::diagrams_
private

Diagrams.

Store all diagrams as a vector of structures

Definition at line 413 of file GeneralHardME.h.

◆ flow_

unsigned int Herwig::GeneralHardME::flow_
mutableprivate

Info on the selected diagram and colour flow.

Colour flow

Definition at line 463 of file GeneralHardME.h.

◆ flowME_

vector<ProductionMatrixElement> Herwig::GeneralHardME::flowME_
mutableprivate

Storage of the matrix elements.

Matrix elements for the different colour flows

Definition at line 478 of file GeneralHardME.h.

◆ incoming_

pair<long, long> Herwig::GeneralHardME::incoming_
private

External particles.

Store incoming particles

Definition at line 398 of file GeneralHardME.h.


The documentation for this class was generated from the following file: