herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::MEDM2Mesons Class Reference

The MEDM2Mesons class implements dark matter annhilation via a vector current to mesons at low energies. More...

#include <MEDM2Mesons.h>

Inheritance diagram for Herwig::MEDM2Mesons:

Public Member Functions

 MEDM2Mesons ()
 The default constructor.
 
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 Energy2 scale () const
 Return the scale associated with the last set phase space point.
 
virtual void constructVertex (tSubProPtr)
 Construct the vertex of spin correlations.
 
- Public Member Functions inherited from Herwig::MEMultiChannel
 MEMultiChannel ()
 The default constructor.
 
virtual ~MEMultiChannel ()
 The destructor.
 
double me2 () const
 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.
 
virtual int nDim () const
 The number of internal degrees 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[ \).
 
virtual CrossSection dSigHatDR () const
 Return the matrix element squared differential in the variables given by the last call to generateKinematics().
 
virtual void getDiagrams () const
 Add all possible diagrams with the add() function.
 
virtual Selector< DiagramIndexdiagrams (const DiagramVector &dv) const
 Get diagram selector.
 
virtual Selector< const ColourLines * > colourGeometries (tcDiagPtr diag) const
 Return a Selector with possible colour geometries for the selected diagram weighted by their relative probabilities.
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
- Public Member Functions inherited from ThePEG::MEBase
virtual unsigned int orderInAlphaS () const=0
 
virtual unsigned int orderInAlphaEW () const=0
 
virtual double me2 () const=0
 
virtual Energy2 scale () const=0
 
virtual double alphaS () const
 
virtual double alphaEM () const
 
void setKinematics (tPPair in, const PVector &out)
 
virtual void setKinematics ()
 
virtual void constructVertex (tSubProPtr sub)
 
virtual void constructVertex (tSubProPtr sub, const ColourLines *cl)
 
virtual int nDim () const
 
virtual bool generateKinematics (const double *r)=0
 
virtual bool wantCMS () const
 
virtual bool headCuts () const
 
virtual bool ignoreCuts () const
 
virtual bool apply () const
 
virtual CrossSection dSigHatDR () const=0
 
virtual map< string, double > generateOptionalWeights ()
 
virtual bool haveX1X2 () const
 
virtual bool havePDFWeight1 () const
 
virtual bool havePDFWeight2 () const
 
virtual bool keepRandomNumbers () const
 
virtual void generateSubCollision (SubProcess &)
 
virtual void clearKinematics ()
 
virtual void getDiagrams () const=0
 
virtual bool noMirror () const
 
const DiagramVectordiagrams () const
 
virtual Selector< const ColourLines * > colourGeometries (tcDiagPtr diag) const=0
 
virtual const ColourLinesselectColourGeometry (tcDiagPtr diag) const
 
virtual Selector< DiagramIndexdiagrams (const DiagramVector &) 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
 
virtual unsigned int orderInAlphaS () const=0
 
virtual unsigned int orderInAlphaEW () const=0
 
virtual double me2 () const=0
 
virtual Energy2 scale () const=0
 
virtual double alphaS () const
 
virtual double alphaEM () const
 
void setKinematics (tPPair in, const PVector &out)
 
virtual void setKinematics ()
 
virtual void constructVertex (tSubProPtr sub)
 
virtual void constructVertex (tSubProPtr sub, const ColourLines *cl)
 
virtual int nDim () const
 
virtual bool generateKinematics (const double *r)=0
 
virtual bool wantCMS () const
 
virtual bool headCuts () const
 
virtual bool ignoreCuts () const
 
virtual bool apply () const
 
virtual CrossSection dSigHatDR () const=0
 
virtual map< string, double > generateOptionalWeights ()
 
virtual bool haveX1X2 () const
 
virtual bool havePDFWeight1 () const
 
virtual bool havePDFWeight2 () const
 
virtual bool keepRandomNumbers () const
 
virtual void generateSubCollision (SubProcess &)
 
virtual void clearKinematics ()
 
virtual void getDiagrams () const=0
 
virtual bool noMirror () const
 
const DiagramVectordiagrams () const
 
virtual Selector< const ColourLines * > colourGeometries (tcDiagPtr diag) const=0
 
virtual const ColourLinesselectColourGeometry (tcDiagPtr diag) const
 
virtual Selector< DiagramIndexdiagrams (const DiagramVector &) 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 ThePEG::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 StandardModelBaseSM () 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
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
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
 
virtual IBPtr fullclone () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
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
 
virtual IBPtr fullclone () const
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
 Named (const Named &)=default
 
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 XC & lastXComb () const
 
const XC & lastXComb () const
 
tXCPtr lastXCombPtr () const
 
tXCPtr lastXCombPtr () const
 
const XC & lastHeadXComb () const
 
const XC & lastHeadXComb () 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
 
double lastAlphaS () const
 
double lastAlphaEM () const
 
const vector< Lorentz5Momentum > & meMomenta () const
 
double lastME2 () const
 
double lastPreweight () const
 
double jacobian () const
 
CrossSection lastMECrossSection () const
 
double lastMEPDFWeight () const
 
double lastMECouplings () const
 
tSubProPtr subProcess () const
 
const cPDVectormePartonData () const
 

Clone Methods.

WeakCurrentPtr current_
 Hadronic current etc.
 
ProductionMatrixElement me_
 The matrix element.
 
map< int, int > modeMap_
 Map for the modes.
 
PDPtr incomingA_
 DM.
 
PDPtr incomingB_
 
Complex cDMmed_
 DM coupling to the dark mediator.
 
vector< ComplexcSMmed_
 SM couplings to the dark mediator.
 
PDPtr Mediator_
 DM vector mediator.
 
virtual IBPtr clone () const
 Make a simple clone of this object.
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.
 
MEDM2Mesonsoperator= (const MEDM2Mesons &)=delete
 The assignment operator is private and must never be called.
 

Functions used by the persistent I/O system.

void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
static void Init ()
 The standard Init function used to initialize the interfaces.
 
virtual double me2 (const int ichan) const
 Return the matrix element squared for a given mode and phase-space channel.
 

Additional Inherited Members

- 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< XC >::pointer XCPtr
 
typedef ThePEG::Ptr< XC >::const_pointer cXCPtr
 
typedef ThePEG::Ptr< XC >::transient_pointer tXCPtr
 
typedef ThePEG::Ptr< XC >::transient_const_pointer tcXCPtr
 
- Static Public Member Functions inherited from Herwig::MEMultiChannel
static void Init ()
 The standard Init function used to initialize the interfaces.
 
- 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 ()
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Protected Member Functions inherited from Herwig::MEMultiChannel
virtual void doinitrun ()
 Initialize this object.
 
unsigned int iMode ()
 Access the mode currently being used.
 
void iMode (unsigned int in) const
 Set the mode currently begining used.
 
void addMode (PhaseSpaceModePtr mode)
 Add a phase-space mode.
 
tPhaseSpaceModePtr mode (unsigned int imode) const
 Access to the modes.
 
- Protected Member Functions inherited from ThePEG::MEBase
virtual void doinit ()
 
virtual void doinitrun ()
 
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
 
- 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 void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
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 &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 
- 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

The MEDM2Mesons class implements dark matter annhilation via a vector current to mesons at low energies.

See also
The interfaces defined for MEDM2Mesons.

Definition at line 23 of file MEDM2Mesons.h.

Member Function Documentation

◆ clone()

virtual IBPtr Herwig::MEDM2Mesons::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

◆ constructVertex()

virtual void Herwig::MEDM2Mesons::constructVertex ( tSubProPtr  )
virtual

Construct the vertex of spin correlations.

Reimplemented from ThePEG::MEBase.

◆ doinit()

virtual void Herwig::MEDM2Mesons::doinit ( )
privatevirtual

Initialize this object after the setup phase before saving an EventGenerator to disk.

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from Herwig::MEMultiChannel.

◆ fullclone()

virtual IBPtr Herwig::MEDM2Mesons::fullclone ( ) const
protectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

◆ Init()

static void Herwig::MEDM2Mesons::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::MEDM2Mesons::me2 ( const int  ichan) const
protectedvirtual

Return the matrix element squared for a given mode and phase-space channel.

Parameters
ichanThe channel we are calculating the matrix element for.

Implements Herwig::MEMultiChannel.

◆ operator=()

MEDM2Mesons & Herwig::MEDM2Mesons::operator= ( const MEDM2Mesons )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ orderInAlphaEW()

virtual unsigned int Herwig::MEDM2Mesons::orderInAlphaEW ( ) const
virtual

Return the order in \(\alpha_{EW}\) in which this matrix element is given.

Implements ThePEG::MEBase.

◆ orderInAlphaS()

virtual unsigned int Herwig::MEDM2Mesons::orderInAlphaS ( ) const
virtual

Return the order in \(\alpha_S\) in which this matrix element is given.

Implements ThePEG::MEBase.

◆ persistentInput()

void Herwig::MEDM2Mesons::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::MEDM2Mesons::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ scale()

virtual Energy2 Herwig::MEDM2Mesons::scale ( ) const
virtual

Return the scale associated with the last set phase space point.

Reimplemented from Herwig::MEMultiChannel.

Member Data Documentation

◆ cDMmed_

Complex Herwig::MEDM2Mesons::cDMmed_
private

DM coupling to the dark mediator.

Definition at line 162 of file MEDM2Mesons.h.

◆ cSMmed_

vector<Complex> Herwig::MEDM2Mesons::cSMmed_
private

SM couplings to the dark mediator.

Definition at line 167 of file MEDM2Mesons.h.

◆ current_

WeakCurrentPtr Herwig::MEDM2Mesons::current_
private

Hadronic current etc.

the hadronic current

Definition at line 136 of file MEDM2Mesons.h.

◆ incomingA_

PDPtr Herwig::MEDM2Mesons::incomingA_
private

DM.

Incoming Particles

Definition at line 156 of file MEDM2Mesons.h.

◆ incomingB_

PDPtr Herwig::MEDM2Mesons::incomingB_
private

Definition at line 156 of file MEDM2Mesons.h.

◆ me_

ProductionMatrixElement Herwig::MEDM2Mesons::me_
mutableprivate

The matrix element.

Definition at line 141 of file MEDM2Mesons.h.

◆ Mediator_

PDPtr Herwig::MEDM2Mesons::Mediator_
private

DM vector mediator.

Definition at line 172 of file MEDM2Mesons.h.

◆ modeMap_

map<int,int> Herwig::MEDM2Mesons::modeMap_
private

Map for the modes.

Definition at line 146 of file MEDM2Mesons.h.


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