herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::SubtractionDipole Class Referenceabstract

SubtractionDipole represents a dipole subtraction term in the formalism of Catani and Seymour. More...

#include <SubtractionDipole.h>

Inheritance diagram for Herwig::SubtractionDipole:

Classes

struct  MergeInfo
 A helpre struct to communicate diagram merging and remapping information. More...
 

Public Member Functions

Standard constructors and destructors.
 SubtractionDipole ()
 The default constructor.
 
virtual ~SubtractionDipole ()
 The destructor.
 
Ptr< MatchboxFactory >::tptr factory () const
 Return the factory which produced this matrix element.
 
Phasespace generation
virtual void setXComb (tStdXCombPtr xc)
 Set the XComb object to be used in the next call to generateKinematics() and dSigHatDR().
 
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.
 
virtual bool generateKinematics (const double *r)
 Generate internal degrees of freedom given nDim() uniform random numbers in the interval ]0,1[.
 
virtual int nDim () const
 The number of internal degreed of freedom used in the matrix element.
 
virtual bool wantCMS () const
 Return true, if this matrix element expects the incoming partons in their center-of-mass system.
 
virtual void clearKinematics ()
 Clear the information previously provided by a call to setKinematics(...).
 
virtual bool ignoreCuts () const
 If this is a dependent matrix element in a ME group, return true, if cuts should be ignored.
 
void doIgnoreCuts (bool is=true)
 Indicate that cuts should be ignored.
 
Tilde kinematics
Ptr< TildeKinematics >::tcptr tildeKinematics () const
 Return the TildeKinematics object used.
 
void tildeKinematics (Ptr< TildeKinematics >::tptr)
 Set the TildeKinematics object used.
 
virtual bool generateTildeKinematics ()
 Generate the tilde kinematics from real emission kinematics accessible through the XComb's head object and store it in meMomenta().
 
Ptr< InvertedTildeKinematics >::tcptr invertedTildeKinematics () const
 Return the InvertedTildeKinematics object used.
 
void invertedTildeKinematics (Ptr< InvertedTildeKinematics >::tptr)
 Set the InvertedTildeKinematics object used.
 
virtual int nDimRadiation () const
 Return the number of additional random numbers needed to generate real emission kinematics off the tilde kinematics previously supplied through the XComb object.
 
virtual bool generateRadiationKinematics (const double *)
 Generate the real emission kinematics off the Born kinematics accessible through the XComb's head object and store it in meMomenta(); store the single particle phasespace in units of lastHeadXComb()->lastSHat() in jacobian().
 
void ptCut (Energy cut)
 Set a pt cut when splitting.
 
Energy lastDipoleScale () const
 Return the relevant dipole scale.
 
Energy lastPt () const
 Return the relevant pt.
 
double lastZ () const
 Return the relevant momentum fractions.
 
bool splitting () const
 Return true, if this dipole acts in splitting mode.
 
void doSplitting ()
 Switch on splitting mode for this dipole.
 
void doSubtraction ()
 Switch off splitting mode for this dipole.
 
const vector< double > & subtractionParameters () const
 Return the subtraction parameters.
 
vector< double > & subtractionParameters ()
 Access the subtraction parameters.
 
Energy showerHardScale () const
 Return the shower hard scale encountered.
 
void showerHardScale (Energy s)
 Set the shower hard scale encountered.
 
Energy showerScale () const
 Return the shower evolution scale encountered.
 
void showerScale (Energy s)
 Set the shower evolution scale encountered.
 
const vector< double > & showerParameters () const
 Return the shower splitting variables encountered.
 
vector< double > & showerParameters ()
 Access the shower splitting variables encountered.
 
bool isInShowerPhasespace () const
 Return true, if this configuration is in the shower phase space.
 
void isInShowerPhasespace (bool yes)
 Indicate whether this configuration is in the shower phase space.
 
bool isAboveCutoff () const
 Return true, if this configuration is above the shower infrared cutoff.
 
void isAboveCutoff (bool yes)
 Indicate whether this configuration is above the shower infrared cutoff.
 
Scale choices, couplings and PDFs
bool realEmissionScales () const
 Return true, if scales should be calculated from real emission kinematics.
 
void doRealEmissionScales (bool on=true)
 Switch on or off that scales should be calculated from real emission kinematics.
 
virtual Energy2 scale () const
 Return the scale associated with the phase space point provided by the last call to setKinematics().
 
virtual double alphaS () const
 Return the value of \(\alpha_S\) associated with the phase space point provided by the last call to setKinematics().
 
virtual double alphaEM () const
 Return the value of \(\alpha_EM\) associated with the phase space point provided by the last call to setKinematics().
 
virtual bool havePDFWeight1 () const
 Return true, if this matrix element provides the PDF weight for the first incoming parton itself.
 
virtual bool havePDFWeight2 () const
 Return true, if this matrix element provides the PDF weight for the second incoming parton itself.
 
virtual int samplingZ () const
 How to sample the z-distribution.
 
Matrix elements and evaluation
Ptr< MatchboxMEBase >::tcptr realEmissionME () const
 Return the real emission matrix element.
 
Ptr< MatchboxMEBase >::tptr realEmissionME ()
 Return the real emission matrix element.
 
void realEmissionME (Ptr< MatchboxMEBase >::tptr me)
 Set the real emission matrix element.
 
Ptr< MatchboxMEBase >::tcptr underlyingBornME () const
 Return the underlying Born matrix element.
 
Ptr< MatchboxMEBase >::tptr underlyingBornME ()
 Return the underlying Born matrix element.
 
void underlyingBornME (Ptr< MatchboxMEBase >::tptr me)
 Set the underlying Born matrix element.
 
void partnerDipoles (const vector< Ptr< SubtractionDipole >::tptr > &p)
 Set the dipoles which have been found along with this dipole.
 
const vector< Ptr< SubtractionDipole >::tptr > & partnerDipoles () const
 Return the dipoles which have been found along with this dipole.
 
virtual double me2Avg (double ccme2) const =0
 Return the matrix element averaged over spin correlations.
 
virtual CrossSection dSigHatDR (Energy2 factorizationScale) const
 Return the matrix element squared differential in the variables given by the last call to generateKinematics().
 
virtual CrossSection dSigHatDR () const
 Return the matrix element squared differential in the variables given by the last call to generateKinematics().
 
CrossSection prefactor (Energy2 factorizationScale) const
 calculate the general prefactor for merging.
 
CrossSection ps (Energy2 factorizationScale, Ptr< ColourBasis >::tptr largeNBasis) const
 Calculate the parton shower approximation for this dipole.
 
CrossSection dip (Energy2 factorizationScale) const
 Calculate the dipole with clusterfsafe flag.
 
pair< CrossSection, CrossSection > dipandPs (Energy2 factorizationScale, Ptr< ColourBasis >::tptr largeNBasis) const
 Calculate the dipole dSigDR and the parton shower approximation for this dipole.
 
Methods relevant to matching
void showerApproximation (Ptr< ShowerApproximation >::tptr app)
 Set the shower approximation.
 
Ptr< ShowerApproximation >::tptr showerApproximation () const
 Return the shower approximation.
 
void doRealShowerSubtraction ()
 Indicate that the shower real emission contribution should be subtracted.
 
bool realShowerSubtraction () const
 Return true, if the shower real emission contribution should be subtracted.
 
void doVirtualShowerSubtraction ()
 Indicate that the shower virtual contribution should be subtracted.
 
bool virtualShowerSubtraction () const
 Return true, if the shower virtual contribution should be subtracted.
 
void doLoopSimSubtraction ()
 Indicate that the loopsim matched virtual contribution should be subtracted.
 
bool loopSimSubtraction () const
 Return true, if the loopsim matched virtual contribution should be subtracted.
 
Caching and diagnostic information
virtual void flushCaches ()
 Inform this matrix element that a new phase space point is about to be generated, so all caches should be flushed.
 
void doTestSubtraction ()
 Indicate that the subtraction is being tested.
 
bool testSubtraction () const
 Return true, if the subtraction is being tested.
 
bool verbose () const
 Return true, if verbose.
 
void print (ostream &) const
 Dump the setup to an ostream.
 
virtual void printLastEvent (ostream &) const
 Print debug information on the last event.
 
void logGenerateTildeKinematics () const
 Write out diagnostic information for generateTildeKinematics.
 
void logGenerateRadiationKinematics (const double *r) const
 Write out diagnostic information for generateRadiationKinematics.
 
void logME2 () const
 Write out diagnostic information for me2 evaluation.
 
void logDSigHatDR (double effectiveJac) const
 Write out diagnostic information for dsigdr evaluation.
 
Reweight objects
void addReweight (Ptr< MatchboxReweightBase >::ptr rw)
 Insert a reweight object.
 
const vector< Ptr< MatchboxReweightBase >::ptr > & reweights () const
 Return the reweight objects.
 
vector< Ptr< MatchboxReweightBase >::ptr > & reweights ()
 Access the reweight objects.
 
Methods used to setup SubtractionDipole objects
Ptr< SubtractionDipole >::ptr cloneMe () const
 Clone this dipole.
 
void cloneDependencies (const std::string &prefix="", bool slim=false)
 Clone the dependencies, using a given prefix.
 
Methods required to setup the event record
virtual void constructVertex (tSubProPtr sub)
 construct the spin information for the interaction
 
virtual void constructVertex (tSubProPtr sub, const ColourLines *cl)
 construct the spin information for the interaction
 
virtual void generateSubCollision (SubProcess &sub)
 Comlete a SubProcess object using the internal degrees of freedom generated in the last generateKinematics() (and possible other degrees of freedom which was intergated over in dSigHatDR().
 
double alpha () const
 Alpha parameter as in Nagy (http://arxiv.org/pdf/hep-ph/0307268v2.pdf) to restrict dipole phase space.
 
bool aboveAlpha () const
 
- 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
 
- Public Member Functions inherited from Herwig::LastMatchboxXCombInfo
 LastMatchboxXCombInfo ()
 Default constructor.
 
MatchboxXCombDatalastMatchboxXComb () const
 Return a pointer to the last selected XComb.
 
MatchboxXCombDatalastHeadMatchboxXComb () const
 If the last selected XComb object belongs to a group of XComb's return a pointer to the head XComb object for this group.
 
const vector< int > & crossingMap () const
 The crossing information as filled by the last call to fillCrossingMap()
 
const map< size_t, size_t > & amplitudeToColourMap () const
 The colour crossing information as filled by the last call to fillCrossingMap()
 
const map< size_t, size_t > & colourToAmplitudeMap () const
 The colour crossing information as filled by the last call to fillCrossingMap()
 
double crossingSign () const
 The crossing sign as filled by the last call to fillCrossingMap()
 
Energy2 lastRenormalizationScale () const
 The last renormalization scale.
 
const cPDVectoramplitudePartonData () const
 The amplitude parton data.
 
const vector< Lorentz5Momentum > & amplitudeMomenta () const
 The crossed momenta.
 
bool calculateTreeAmplitudes () const
 True, if the the tree level amplitudes need to be calculated.
 
const map< vector< int >, CVector > & lastAmplitudes () const
 The amplitude values which have been contributing to the last call of prepareAmplitudes.
 
const map< vector< int >, CVector > & lastLargeNAmplitudes () const
 The leading N amplitude values which have been contributing to the last call of prepareAmplitudes.
 
bool calculateOneLoopAmplitudes () const
 True, if the the one-loop amplitudes need to be calculated.
 
const map< vector< int >, CVector > & lastOneLoopAmplitudes () const
 The one-loop amplitude values which have been contributing to the last call of prepareAmplitudes.
 
bool calculateTreeME2 () const
 True, if the tree-level matrix element squared needs to be calculated.
 
double lastTreeME2 () const
 The last tree-level matrix element squared.
 
bool calculateLargeNME2 () const
 True, if the tree-level matrix element squared needs to be calculated.
 
double lastLargeNME2 () const
 The last tree-level matrix element squared.
 
bool calculateOneLoopInterference () const
 True, if the one-loop/tree-level interference.
 
double lastOneLoopInterference () const
 The last one-loop/tree-level interference.
 
bool calculateOneLoopPoles () const
 True, if the one-loop/tree-level interference.
 
pair< double, double > lastOneLoopPoles () const
 The last one-loop/tree-level interference.
 
bool calculateColourCorrelator (const pair< int, int > &ij) const
 True, if the indexed colour correlated matrix element needs to be calculated.
 
double lastColourCorrelator (const pair< int, int > &ij) const
 The colour correlated matrix element.
 
bool calculateLargeNColourCorrelator (const pair< int, int > &ij) const
 True, if the indexed large-N colour correlated matrix element needs to be calculated.
 
double lastLargeNColourCorrelator (const pair< int, int > &ij) const
 The large-N colour correlated matrix element.
 
bool calculateColourSpinCorrelator (const pair< int, int > &ij) const
 True, if the indexed colour/spin correlated matrix element needs to be calculated.
 
Complex lastColourSpinCorrelator (const pair< int, int > &ij) const
 The colour/spin correlated matrix element.
 
bool calculateSpinCorrelator (const pair< int, int > &ij) const
 True, if the indexed spin correlated matrix element needs to be calculated.
 
Complex lastSpinCorrelator (const pair< int, int > &ij) const
 The spin correlated matrix element.
 
unsigned int nLight () const
 Return the number of light flavours to be considered for this process.
 
vector< long > nLightJetVec () const
 Return the vector that contains the PDG ids of the light flavours, which are contained in the jet particle group.
 
vector< long > nHeavyJetVec () const
 Return the vector that contains the PDG ids of the heavy flavours, which are contained in the jet particle group.
 
vector< long > nLightProtonVec () const
 Return the vector that contains the PDG ids of the light flavours, which are contained in the proton particle group.
 
size_t colourBasisDim () const
 Get the dimensionality of the colour basis for this process.
 
int nDimPhasespace () const
 Return the number of degrees of freedom required by the phase space generator.
 
int nDimAmplitude () const
 Return the number of degrees of freedom required by the amplitude.
 
int nDimInsertions () const
 Return the number of degrees of freedom required by the insertion operators.
 
const vector< double > & amplitudeRandomNumbers () const
 Get the additional random numbers required by the amplitude.
 
const vector< double > & insertionRandomNumbers () const
 Get the additional random numbers required by the insertion operator.
 
const map< int, double > & diagramWeights () const
 Return the diagram weights indexed by diagram id.
 
const set< pair< size_t, size_t > > & singularLimits () const
 Return the singular limits.
 
const set< pair< size_t, size_t > >::const_iterator & lastSingularLimit () const
 Return the last matched singular limit.
 
Ptr< StandardModel >::tcptr hwStandardModel () const
 Get the Herwig StandardModel object.
 
double symmetryFactor () const
 Return the symmetry factor.
 
const vector< int > & olpId () const
 Return the OLP process id.
 
double * olpMomenta () const
 Return the olp momentum vector.
 
void fillOLPMomenta (const vector< Lorentz5Momentum > &mm, const cPDVector &mePartonData, const map< long, Energy > &reshuffleMap) const
 Fill the olp momentum vector.
 

Subprocess and diagram information.

typedef pair< pair< cPDVector, int >, pair< int, int > > RealEmissionKey
 Define the real emission key type.
 
typedef pair< cPDVector, pair< int, int > > UnderlyingBornKey
 Define the underlying Born key type.
 
typedef pair< RealEmissionKey, map< int, int > > RealEmissionInfo
 Define real emission key and index dictionary for partons not involved in the given dipole.
 
typedef pair< UnderlyingBornKey, map< int, int > > UnderlyingBornInfo
 Define underlying Born key and index dictionary for partons not involved in the given dipole.
 
virtual bool canHandleEmitter (const cPDVector &partons, int emitter) const =0
 Return true, if this dipole can possibly handle the indicated emitter.
 
virtual bool canHandleSplitting (const cPDVector &partons, int emitter, int emission) const =0
 Return true, if this dipole can possibly handle the indicated splitting.
 
virtual bool canHandleSpectator (const cPDVector &partons, int spectator) const =0
 Return true, if this dipole can possibly handle the indicated spectator.
 
virtual bool canHandle (const cPDVector &partons, int emitter, int emission, int spectator) const =0
 Return true, if this dipole applies to the selected configuration.
 
virtual bool isSymmetric () const
 Return true, if this dipole is symmetric with respect to emitter and emission.
 
virtual bool apply () const
 If this is a dependent matrix element in a ME group, return true, if it applies to the process set in lastXComb()
 
void clearBookkeeping ()
 Clear the bookkeeping.
 
void setupBookkeeping (const map< Ptr< DiagramBase >::ptr, MergeInfo > &mergeInfo, bool slim)
 Setup bookkeeping maps.
 
void subtractionBookkeeping ()
 Get bookkeeping information for the given real emission diagram.
 
void splittingBookkeeping ()
 Determine bookkeeping information for the underlying Born process supplied through the lastHeadXComb() object.
 
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())
 For the given event generation setup return a xcomb object appropriate to this matrix element.
 
virtual StdXCombPtr makeXComb (tStdXCombPtr newHead, const PBPair &newPartonBins, const DiagramVector &newDiagrams, tMEPtr newME=tMEPtr())
 For the given event generation setup return a dependent xcomb object appropriate to this matrix element.
 
StdXCombPtr makeBornXComb (tStdXCombPtr realXC)
 Create a dependent xcomb object for the underlying Born process, given a XComb driving the real emission.
 
vector< StdXCombPtr > makeRealXCombs (tStdXCombPtr bornXC)
 Create dependent xcomb objects for the real emission process, given a XComb driving the underlying Born.
 
bool empty () const
 Return true, if bookkeeping did not find a non-trivial setup.
 
int realEmitter () const
 Return the emitter as referred to by the real emission matrix element.
 
void realEmitter (int id)
 Set the emitter as referred to by the real emission matrix element.
 
int realEmission () const
 Return the emission as referred to by the real emission matrix element.
 
void realEmission (int id)
 Set the emission as referred to by the real emission matrix element.
 
int realSpectator () const
 Return the spectator as referred to by the real emission matrix element.
 
void realSpectator (int id)
 Set the spectator as referred to by the real emission matrix element.
 
int bornEmitter () const
 Return the emitter as referred to by the underlying Born process.
 
void bornEmitter (int id)
 Set the emitter as referred to by the underlying Born process.
 
int bornSpectator () const
 Return the spectator as referred to by the underlying Born process.
 
void bornSpectator (int id)
 Set the spectator as referred to by the underlying Born process.
 
const map< RealEmissionKey, UnderlyingBornInfo > & mergingMap () const
 Return the merging map.
 
const multimap< UnderlyingBornKey, RealEmissionInfo > & splittingMap () const
 Return the splitting map.
 
const DiagramVectorunderlyingBornDiagrams (const cPDVector &real) const
 Return the underlying Born diagrams to be considered for the given real emission process.
 
tcDiagPtr underlyingBornDiagram (tcDiagPtr realDiag) const
 Find the underlying Born diagram for the given real emission diagram.
 
const DiagramVectorrealEmissionDiagrams (const cPDVector &born) const
 Return the real emission diagrams to be considered for the given Born process.
 
tcDiagPtr realEmissionDiagram (tcDiagPtr bornDiag) const
 Find the real emission diagram for the given underlying Born diagram.
 
virtual void getDiagrams () const
 Add all possible diagrams with the add() function.
 
virtual bool noMirror () const
 Return true, if this matrix element does not want to make use of mirroring processes; in this case all possible partonic subprocesses with a fixed assignment of incoming particles need to be provided through the diagrams added with the add(...) method.
 
virtual Selector< DiagramIndexdiagrams (const DiagramVector &dv) const
 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.
 
virtual Selector< const ColourLines * > colourGeometries (tcDiagPtr diag) const
 Return a Selector with possible colour geometries for the selected diagram weighted by their relative probabilities.
 
virtual const ColourLinesselectColourGeometry (tcDiagPtr diag) const
 Select a ColpurLines geometry.
 
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_{EM}\) in which this matrix element is given.
 
static RealEmissionKey realEmissionKey (const cPDVector &proc, int em, int emm, int sp)
 Create a real emission key.
 
static const cPDVectorprocess (const RealEmissionKey &key)
 Return the diagram of a real emission key.
 
static int emission (const RealEmissionKey &key)
 Return the emission id of a real emission key.
 
static int emitter (const RealEmissionKey &key)
 Return the emitter id of a real emission key.
 
static int spectator (const RealEmissionKey &key)
 Return the spectator id of a real emission key.
 
static UnderlyingBornKey underlyingBornKey (const cPDVector &proc, int em, int sp)
 Create a underlying Born key.
 
static const cPDVectorprocess (const UnderlyingBornKey &key)
 Return the diagram of a underlying Born key.
 
static int emitter (const UnderlyingBornKey &key)
 Return the emitter id of a underlying Born key.
 
static int spectator (const UnderlyingBornKey &key)
 Return the spectator id of a underlying Born key.
 

Standard Interfaced functions.

bool theSplitting
 Wether or not this dipole acts in splitting mode.
 
bool theApply
 True, if should apply to process in the xcomb.
 
bool theSubtractionTest
 True, if the subtraction is being tested.
 
bool theIgnoreCuts
 True if cuts should be ignored.
 
Ptr< MatchboxMEBase >::ptr theRealEmissionME
 The real emission matrix element to be considered.
 
Ptr< MatchboxMEBase >::ptr theUnderlyingBornME
 The underlying Born matrix element.
 
vector< Ptr< SubtractionDipole >::tptr > thePartners
 The dipoles which have been found along with this dipole.
 
Ptr< TildeKinematics >::ptr theTildeKinematics
 The TildeKinematics to be used.
 
Ptr< InvertedTildeKinematics >::ptr theInvertedTildeKinematics
 The InvertedTildeKinematics to be used.
 
vector< Ptr< MatchboxReweightBase >::ptr > theReweights
 A vector of reweight objects the sum of which should be applied to reweight this dipole.
 
int theRealEmitter
 The emitter as referred to by the real emission matrix element.
 
int theRealEmission
 The emission as referred to by the real emission matrix element.
 
int theRealSpectator
 The spectator as referred to by the real emission matrix element.
 
vector< double > theSubtractionParameters
 The subtraction parameters.
 
map< RealEmissionKey, UnderlyingBornInfotheMergingMap
 Map real emission diagrams to underlying Born diagrams and tilde emitter/spectator.
 
multimap< UnderlyingBornKey, RealEmissionInfotheSplittingMap
 Map underlying Born diagrams and tilde emitter/spectator to real emission diagram containing the splitting.
 
map< cPDVector, pair< int, int > > theIndexMap
 Map underlying Born diagrams to emitter/spectator pairs.
 
map< cPDVector, DiagramVectortheUnderlyingBornDiagrams
 Map real emission processes to Born diagrams.
 
map< cPDVector, DiagramVectortheRealEmissionDiagrams
 Map Born processes to real emission diagrams.
 
map< tcDiagPtr, tcDiagPtr > theBornToRealDiagrams
 Map underlying Born diagrams to real emission diagrams.
 
map< tcDiagPtr, tcDiagPtr > theRealToBornDiagrams
 Map real emission diagrams to underlying Born diagrams.
 
RealEmissionKey lastRealEmissionKey
 The last real emission key encountered.
 
UnderlyingBornKey lastUnderlyingBornKey
 The last underlying Born key encountered.
 
multimap< UnderlyingBornKey, RealEmissionInfo >::const_iterator lastRealEmissionInfo
 The last real emission info encountered.
 
int theBornEmitter
 The emitter as referred to by the underlying Born matrix element.
 
int theBornSpectator
 The spectator as referred to by the underlying Born matrix element.
 
Energy theLastSubtractionScale
 The last scale as generated from the tilde mapping.
 
Energy theLastSplittingScale
 The last scale as generated from the splitting mapping.
 
Energy theLastSubtractionPt
 The last pt as generated from the tilde mapping.
 
Energy theLastSplittingPt
 The last pt as generated from the splitting mapping.
 
double theLastSubtractionZ
 The last z as generated from the tilde mapping.
 
double theLastSplittingZ
 The last z as generated from the splitting mapping.
 
Ptr< ShowerApproximation >::ptr theShowerApproximation
 The shower approximation.
 
bool theRealShowerSubtraction
 True, if the shower real emission contribution should be subtracted.
 
bool theVirtualShowerSubtraction
 True, if the shower virtual contribution should be subtracted.
 
bool theLoopSimSubtraction
 True, if the loopsim matched virtual contribution should be subtracted.
 
bool theRealEmissionScales
 True, if scales should be calculated from real emission kinematics.
 
Energy theShowerHardScale
 Return the shower hard scale encountered.
 
Energy theShowerScale
 The shower evolution scale encountered.
 
vector< double > theShowerParameters
 The shower splitting variables encountered.
 
bool theIsInShowerPhasespace
 True, if this configuration is in the shower phase space.
 
bool theIsAboveCutoff
 True, if this configuration is above the shower infrared cutoff.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.
 
virtual void doinitrun ()
 Initialize this object.
 
SubtractionDipoleoperator= (const SubtractionDipole &)=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.
 

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 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 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)
 
- Protected Member Functions inherited from Herwig::LastMatchboxXCombInfo
vector< int > & crossingMap ()
 The crossing information as filled by the last call to fillCrossingMap()
 
map< size_t, size_t > & amplitudeToColourMap ()
 The colour crossing information as filled by the last call to fillCrossingMap()
 
map< size_t, size_t > & colourToAmplitudeMap ()
 The colour crossing information as filled by the last call to fillCrossingMap()
 
void crossingSign (double c)
 The crossing sign as filled by the last call to fillCrossingMap()
 
void lastRenormalizationScale (Energy2 lrs)
 The last renormalization scale.
 
cPDVectoramplitudePartonData ()
 The amplitude parton data.
 
vector< Lorentz5Momentum > & amplitudeMomenta ()
 The crossed momenta.
 
void haveTreeAmplitudes (bool f=true)
 True, if the the tree level amplitudes need to be calculated.
 
map< vector< int >, CVector > & lastAmplitudes ()
 The amplitude values which have been contributing to the last call of prepareAmplitudes.
 
map< vector< int >, CVector > & lastLargeNAmplitudes ()
 The leading N amplitude values which have been contributing to the last call of prepareAmplitudes.
 
void haveOneLoopAmplitudes (bool f=true)
 True, if the the one-loop amplitudes need to be calculated.
 
map< vector< int >, CVector > & lastOneLoopAmplitudes ()
 The one-loop amplitude values which have been contributing to the last call of prepareAmplitudes.
 
void lastTreeME2 (double v) const
 The last tree-level matrix element squared.
 
void lastLargeNME2 (double v) const
 The last tree-level matrix element squared.
 
void lastOneLoopInterference (double v) const
 The last one-loop/tree-level interference.
 
void lastOneLoopPoles (pair< double, double > v) const
 The last one-loop/tree-level interference.
 
void lastColourCorrelator (const pair< int, int > &ij, double v) const
 The colour correlated matrix element.
 
void lastLargeNColourCorrelator (const pair< int, int > &ij, double v) const
 The large-N colour correlated matrix element.
 
void lastColourSpinCorrelator (const pair< int, int > &ij, Complex v) const
 The colour/spin correlated matrix element.
 
void lastSpinCorrelator (const pair< int, int > &ij, Complex v) const
 The spin correlated matrix element.
 
void nLight (unsigned int n)
 Set the number of light flavours to be considered for this process.
 
void nLightJetVec (int n)
 Set the elements of the vector that contains the PDG ids of the light flavours, which are contained in the jet particle group.
 
void nHeavyJetVec (int n)
 Set the elements of the vector that contains the PDG ids of the heavy flavours, which are contained in the jet particle group.
 
void nLightProtonVec (int n)
 Set the elements of the vector that contains the PDG ids of the light flavours, which are contained in the proton particle group.
 
void colourBasisDim (size_t d)
 Set the dimensionality of the colour basis for this process.
 
void nDimPhasespace (int d)
 Set the number of degrees of freedom required by the phase space generator.
 
void nDimAmplitude (int d)
 Set the number of degrees of freedom required by the amplitude.
 
void nDimInsertions (int d)
 Set the number of degrees of freedom required by the insertion operators.
 
vector< double > & amplitudeRandomNumbers ()
 Access the additional random numbers required by the amplitude.
 
vector< double > & insertionRandomNumbers ()
 Access the additional random numbers required by the insertion operator.
 
map< int, double > & diagramWeights ()
 Access the diagram weights indexed by diagram id.
 
set< pair< size_t, size_t > > & singularLimits ()
 Access the singular limits.
 
set< pair< size_t, size_t > >::const_iterator & lastSingularLimit ()
 Access the last matched singular limit.
 
void hwStandardModel (Ptr< StandardModel >::tcptr sm)
 Set the Herwig StandardModel object.
 
void symmetryFactor (double f) const
 Set the symmetry factor.
 
void olpId (int pType, int id)
 Set the OLP process id.
 
void lastMatchboxXComb (tStdXCombPtr xc)
 Set the XComb pointer cast to MatchboxXComb.
 
- 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
 
- Protected Attributes inherited from Herwig::LastMatchboxXCombInfo
MatchboxXCombDatatheLastMatchboxXComb
 The XComb pointer cast to MatchboxXComb.
 
MatchboxXCombDatatheLastHeadMatchboxXComb
 The head XComb pointer cast to MatchboxXComb.
 

Detailed Description

SubtractionDipole represents a dipole subtraction term in the formalism of Catani and Seymour.

Author
Simon Platzer

Definition at line 37 of file SubtractionDipole.h.

Member Typedef Documentation

◆ RealEmissionInfo

Define real emission key and index dictionary for partons not involved in the given dipole.

Definition at line 326 of file SubtractionDipole.h.

◆ RealEmissionKey

typedef pair<pair<cPDVector,int>,pair<int,int> > Herwig::SubtractionDipole::RealEmissionKey

Define the real emission key type.

Definition at line 250 of file SubtractionDipole.h.

◆ UnderlyingBornInfo

Define underlying Born key and index dictionary for partons not involved in the given dipole.

Definition at line 332 of file SubtractionDipole.h.

◆ UnderlyingBornKey

Define the underlying Born key type.

Definition at line 291 of file SubtractionDipole.h.

Member Function Documentation

◆ addReweight()

void Herwig::SubtractionDipole::addReweight ( Ptr< MatchboxReweightBase >::ptr  rw)
inline

Insert a reweight object.

Definition at line 909 of file SubtractionDipole.h.

References theReweights.

◆ alphaEM()

virtual double Herwig::SubtractionDipole::alphaEM ( ) const
inlinevirtual

Return the value of \(\alpha_EM\) associated with the phase space point provided by the last call to setKinematics().

This versions returns SM().alphaEM(scale()).

Reimplemented from ThePEG::MEBase.

Definition at line 668 of file SubtractionDipole.h.

References realEmissionME(), realEmissionScales(), and underlyingBornME().

◆ alphaS()

virtual double Herwig::SubtractionDipole::alphaS ( ) const
inlinevirtual

Return the value of \(\alpha_S\) associated with the phase space point provided by the last call to setKinematics().

This versions returns SM().alphaS(scale()).

Reimplemented from ThePEG::MEBase.

Definition at line 657 of file SubtractionDipole.h.

References realEmissionME(), realEmissionScales(), and underlyingBornME().

◆ apply()

virtual bool Herwig::SubtractionDipole::apply ( ) const
inlinevirtual

If this is a dependent matrix element in a ME group, return true, if it applies to the process set in lastXComb()

Reimplemented from ThePEG::MEBase.

Definition at line 123 of file SubtractionDipole.h.

References theApply.

◆ bornEmitter() [1/2]

int Herwig::SubtractionDipole::bornEmitter ( ) const
inline

Return the emitter as referred to by the underlying Born process.

Definition at line 227 of file SubtractionDipole.h.

References theBornEmitter.

◆ bornEmitter() [2/2]

void Herwig::SubtractionDipole::bornEmitter ( int  id)
inline

Set the emitter as referred to by the underlying Born process.

Definition at line 233 of file SubtractionDipole.h.

References theBornEmitter.

◆ bornSpectator() [1/2]

int Herwig::SubtractionDipole::bornSpectator ( ) const
inline

Return the spectator as referred to by the underlying Born process.

Definition at line 239 of file SubtractionDipole.h.

References theBornSpectator.

◆ bornSpectator() [2/2]

void Herwig::SubtractionDipole::bornSpectator ( int  id)
inline

Set the spectator as referred to by the underlying Born process.

Definition at line 245 of file SubtractionDipole.h.

References theBornSpectator.

◆ canHandle()

◆ canHandleEmitter()

◆ canHandleSpectator()

◆ canHandleSplitting()

◆ clearKinematics()

virtual void Herwig::SubtractionDipole::clearKinematics ( )
virtual

Clear the information previously provided by a call to setKinematics(...).

Reimplemented from ThePEG::MEBase.

◆ cloneMe()

Ptr< SubtractionDipole >::ptr Herwig::SubtractionDipole::cloneMe ( ) const
inline

Clone this dipole.

Definition at line 929 of file SubtractionDipole.h.

References ThePEG::InterfacedBase::clone().

◆ colourGeometries()

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

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

Implements ThePEG::MEBase.

◆ constructVertex() [1/2]

virtual void Herwig::SubtractionDipole::constructVertex ( tSubProPtr  sub)
virtual

construct the spin information for the interaction

Reimplemented from ThePEG::MEBase.

◆ constructVertex() [2/2]

virtual void Herwig::SubtractionDipole::constructVertex ( tSubProPtr  sub,
const ColourLines cl 
)
virtual

construct the spin information for the interaction

Reimplemented from ThePEG::MEBase.

◆ diagrams()

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

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.

Reimplemented from ThePEG::MEBase.

◆ doIgnoreCuts()

void Herwig::SubtractionDipole::doIgnoreCuts ( bool  is = true)
inline

Indicate that cuts should be ignored.

Definition at line 472 of file SubtractionDipole.h.

References theIgnoreCuts.

◆ doinit()

virtual void Herwig::SubtractionDipole::doinit ( )
protectedvirtual

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

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from ThePEG::MEBase.

◆ doinitrun()

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

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from ThePEG::MEBase.

◆ doLoopSimSubtraction()

void Herwig::SubtractionDipole::doLoopSimSubtraction ( )
inline

Indicate that the loopsim matched virtual contribution should be subtracted.

Definition at line 833 of file SubtractionDipole.h.

References theLoopSimSubtraction.

◆ doRealEmissionScales()

void Herwig::SubtractionDipole::doRealEmissionScales ( bool  on = true)
inline

Switch on or off that scales should be calculated from real emission kinematics.

Definition at line 640 of file SubtractionDipole.h.

References theRealEmissionScales.

◆ doRealShowerSubtraction()

void Herwig::SubtractionDipole::doRealShowerSubtraction ( )
inline

Indicate that the shower real emission contribution should be subtracted.

Definition at line 813 of file SubtractionDipole.h.

References theRealShowerSubtraction.

◆ doSplitting()

void Herwig::SubtractionDipole::doSplitting ( )
inline

Switch on splitting mode for this dipole.

Definition at line 560 of file SubtractionDipole.h.

References theSplitting.

◆ doSubtraction()

void Herwig::SubtractionDipole::doSubtraction ( )
inline

Switch off splitting mode for this dipole.

Definition at line 565 of file SubtractionDipole.h.

References theSplitting.

◆ doTestSubtraction()

void Herwig::SubtractionDipole::doTestSubtraction ( )
inline

Indicate that the subtraction is being tested.

Definition at line 855 of file SubtractionDipole.h.

References theSubtractionTest.

◆ doVirtualShowerSubtraction()

void Herwig::SubtractionDipole::doVirtualShowerSubtraction ( )
inline

Indicate that the shower virtual contribution should be subtracted.

Definition at line 823 of file SubtractionDipole.h.

References theVirtualShowerSubtraction.

◆ dSigHatDR()

virtual CrossSection Herwig::SubtractionDipole::dSigHatDR ( ) const
inlinevirtual

Return the matrix element squared differential in the variables given by the last call to generateKinematics().

Implements ThePEG::MEBase.

Definition at line 767 of file SubtractionDipole.h.

References dSigHatDR(), and ThePEG::ZERO.

Referenced by dSigHatDR().

◆ emission()

◆ emitter() [1/2]

static int Herwig::SubtractionDipole::emitter ( const RealEmissionKey key)
inlinestatic

Return the emitter id of a real emission key.

Definition at line 277 of file SubtractionDipole.h.

Referenced by Herwig::FFggxDipole::canHandleEmitter(), Herwig::FFMggxDipole::canHandleEmitter(), Herwig::FFMqgxDipole::canHandleEmitter(), Herwig::FFMqqxDipole::canHandleEmitter(), Herwig::FFMsqgxDipole::canHandleEmitter(), Herwig::FFqgxDipole::canHandleEmitter(), Herwig::FFqqxDipole::canHandleEmitter(), Herwig::FIggxDipole::canHandleEmitter(), Herwig::FIMqgxDipole::canHandleEmitter(), Herwig::FIMqqxDipole::canHandleEmitter(), Herwig::FIMsqgxDipole::canHandleEmitter(), Herwig::FIqgxDipole::canHandleEmitter(), Herwig::FIqqxDipole::canHandleEmitter(), Herwig::IFggxDipole::canHandleEmitter(), Herwig::IFgqxDipole::canHandleEmitter(), Herwig::IFMggxDipole::canHandleEmitter(), Herwig::IFMgqxDipole::canHandleEmitter(), Herwig::IFMqgxDipole::canHandleEmitter(), Herwig::IFMqqxDipole::canHandleEmitter(), Herwig::IFqgxDipole::canHandleEmitter(), Herwig::IFqqxDipole::canHandleEmitter(), Herwig::IIggxDipole::canHandleEmitter(), Herwig::IIgqxDipole::canHandleEmitter(), Herwig::IIqgxDipole::canHandleEmitter(), Herwig::IIqqxDipole::canHandleEmitter(), Herwig::FFggxDipole::canHandleSplitting(), Herwig::FFMggxDipole::canHandleSplitting(), Herwig::FFMqgxDipole::canHandleSplitting(), Herwig::FFMqqxDipole::canHandleSplitting(), Herwig::FFMsqgxDipole::canHandleSplitting(), Herwig::FFqgxDipole::canHandleSplitting(), Herwig::FFqqxDipole::canHandleSplitting(), Herwig::FIggxDipole::canHandleSplitting(), Herwig::FIMqgxDipole::canHandleSplitting(), Herwig::FIMqqxDipole::canHandleSplitting(), Herwig::FIMsqgxDipole::canHandleSplitting(), Herwig::FIqgxDipole::canHandleSplitting(), Herwig::FIqqxDipole::canHandleSplitting(), Herwig::IFggxDipole::canHandleSplitting(), Herwig::IFgqxDipole::canHandleSplitting(), Herwig::IFMggxDipole::canHandleSplitting(), Herwig::IFMgqxDipole::canHandleSplitting(), Herwig::IFMqgxDipole::canHandleSplitting(), Herwig::IFMqqxDipole::canHandleSplitting(), Herwig::IFqgxDipole::canHandleSplitting(), Herwig::IFqqxDipole::canHandleSplitting(), Herwig::IIggxDipole::canHandleSplitting(), Herwig::IIgqxDipole::canHandleSplitting(), Herwig::IIqgxDipole::canHandleSplitting(), and Herwig::IIqqxDipole::canHandleSplitting().

◆ emitter() [2/2]

static int Herwig::SubtractionDipole::emitter ( const UnderlyingBornKey key)
inlinestatic

Return the emitter id of a underlying Born key.

Definition at line 311 of file SubtractionDipole.h.

◆ empty()

bool Herwig::SubtractionDipole::empty ( ) const
inline

Return true, if bookkeeping did not find a non-trivial setup.

Definition at line 185 of file SubtractionDipole.h.

References theMergingMap, and theSplittingMap.

◆ flushCaches()

virtual void Herwig::SubtractionDipole::flushCaches ( )
virtual

Inform this matrix element that a new phase space point is about to be generated, so all caches should be flushed.

Reimplemented from ThePEG::MEBase.

◆ generateKinematics()

virtual bool Herwig::SubtractionDipole::generateKinematics ( const double *  r)
virtual

Generate internal degrees of freedom given nDim() uniform random numbers in the interval ]0,1[.

To help the phase space generator, the 'dSigHatDR' should be a smooth function of these numbers, although this is not strictly necessary. The return value should be true of the generation succeeded. If so the generated momenta should be stored in the meMomenta() vector.

Implements ThePEG::MEBase.

◆ generateRadiationKinematics()

virtual bool Herwig::SubtractionDipole::generateRadiationKinematics ( const double *  )
virtual

Generate the real emission kinematics off the Born kinematics accessible through the XComb's head object and store it in meMomenta(); store the single particle phasespace in units of lastHeadXComb()->lastSHat() in jacobian().

This default implemenation uses the invertedTildeKinematics() object

◆ generateSubCollision()

virtual void Herwig::SubtractionDipole::generateSubCollision ( SubProcess sub)
virtual

Comlete a SubProcess object using the internal degrees of freedom generated in the last generateKinematics() (and possible other degrees of freedom which was intergated over in dSigHatDR().

This default version does nothing. Will be made purely virtual in the future.

Reimplemented from ThePEG::MEBase.

◆ generateTildeKinematics()

virtual bool Herwig::SubtractionDipole::generateTildeKinematics ( )
virtual

Generate the tilde kinematics from real emission kinematics accessible through the XComb's head object and store it in meMomenta().

This default implemenation uses the tildeKinematics() object.

◆ getDiagrams()

virtual void Herwig::SubtractionDipole::getDiagrams ( ) const
virtual

Add all possible diagrams with the add() function.

Implements ThePEG::MEBase.

◆ havePDFWeight1()

virtual bool Herwig::SubtractionDipole::havePDFWeight1 ( ) const
inlinevirtual

Return true, if this matrix element provides the PDF weight for the first incoming parton itself.

Reimplemented from ThePEG::MEBase.

Definition at line 678 of file SubtractionDipole.h.

References realEmissionME().

◆ havePDFWeight2()

virtual bool Herwig::SubtractionDipole::havePDFWeight2 ( ) const
inlinevirtual

Return true, if this matrix element provides the PDF weight for the second incoming parton itself.

Reimplemented from ThePEG::MEBase.

Definition at line 684 of file SubtractionDipole.h.

References realEmissionME().

◆ ignoreCuts()

virtual bool Herwig::SubtractionDipole::ignoreCuts ( ) const
inlinevirtual

If this is a dependent matrix element in a ME group, return true, if cuts should be ignored.

Reimplemented from ThePEG::MEBase.

Definition at line 467 of file SubtractionDipole.h.

References theIgnoreCuts.

◆ Init()

static void Herwig::SubtractionDipole::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.

◆ invertedTildeKinematics()

Ptr< InvertedTildeKinematics >::tcptr Herwig::SubtractionDipole::invertedTildeKinematics ( ) const
inline

Return the InvertedTildeKinematics object used.

Definition at line 500 of file SubtractionDipole.h.

References theInvertedTildeKinematics.

◆ isAboveCutoff() [1/2]

bool Herwig::SubtractionDipole::isAboveCutoff ( ) const
inline

Return true, if this configuration is above the shower infrared cutoff.

Definition at line 620 of file SubtractionDipole.h.

References theIsAboveCutoff.

◆ isAboveCutoff() [2/2]

void Herwig::SubtractionDipole::isAboveCutoff ( bool  yes)
inline

Indicate whether this configuration is above the shower infrared cutoff.

Definition at line 625 of file SubtractionDipole.h.

References theIsAboveCutoff.

◆ isInShowerPhasespace() [1/2]

bool Herwig::SubtractionDipole::isInShowerPhasespace ( ) const
inline

Return true, if this configuration is in the shower phase space.

Definition at line 610 of file SubtractionDipole.h.

References theIsInShowerPhasespace.

◆ isInShowerPhasespace() [2/2]

void Herwig::SubtractionDipole::isInShowerPhasespace ( bool  yes)
inline

Indicate whether this configuration is in the shower phase space.

Definition at line 615 of file SubtractionDipole.h.

References theIsInShowerPhasespace.

◆ isSymmetric()

virtual bool Herwig::SubtractionDipole::isSymmetric ( ) const
inlinevirtual

Return true, if this dipole is symmetric with respect to emitter and emission.

Reimplemented in Herwig::FFggxDipole, Herwig::FFMggxDipole, Herwig::FFMqqxDipole, Herwig::FFqqxDipole, Herwig::FIggxDipole, Herwig::FIMqqxDipole, and Herwig::FIqqxDipole.

Definition at line 117 of file SubtractionDipole.h.

◆ lastDipoleScale()

Energy Herwig::SubtractionDipole::lastDipoleScale ( ) const
inline

Return the relevant dipole scale.

Definition at line 534 of file SubtractionDipole.h.

References splitting(), theLastSplittingScale, and theLastSubtractionScale.

◆ lastPt()

Energy Herwig::SubtractionDipole::lastPt ( ) const
inline

Return the relevant pt.

Definition at line 541 of file SubtractionDipole.h.

References splitting(), theLastSplittingPt, and theLastSubtractionPt.

◆ lastZ()

double Herwig::SubtractionDipole::lastZ ( ) const
inline

Return the relevant momentum fractions.

Definition at line 548 of file SubtractionDipole.h.

References splitting(), theLastSplittingZ, and theLastSubtractionZ.

◆ loopSimSubtraction()

bool Herwig::SubtractionDipole::loopSimSubtraction ( ) const
inline

Return true, if the loopsim matched virtual contribution should be subtracted.

Definition at line 838 of file SubtractionDipole.h.

References theLoopSimSubtraction.

◆ makeXComb() [1/2]

virtual StdXCombPtr Herwig::SubtractionDipole::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

For the given event generation setup return a xcomb object appropriate to this matrix element.

Reimplemented from ThePEG::MEBase.

◆ makeXComb() [2/2]

virtual StdXCombPtr Herwig::SubtractionDipole::makeXComb ( tStdXCombPtr  newHead,
const PBPair &  newPartonBins,
const DiagramVector newDiagrams,
tMEPtr  newME = tMEPtr() 
)
virtual

For the given event generation setup return a dependent xcomb object appropriate to this matrix element.

Reimplemented from ThePEG::MEBase.

◆ me2Avg()

◆ mergingMap()

const map< RealEmissionKey, UnderlyingBornInfo > & Herwig::SubtractionDipole::mergingMap ( ) const
inline

Return the merging map.

Definition at line 337 of file SubtractionDipole.h.

References theMergingMap.

◆ nDim()

virtual int Herwig::SubtractionDipole::nDim ( ) const
virtual

The number of internal degreed of freedom used in the matrix element.

This default version returns 0;

Reimplemented from ThePEG::MEBase.

◆ nDimRadiation()

virtual int Herwig::SubtractionDipole::nDimRadiation ( ) const
virtual

Return the number of additional random numbers needed to generate real emission kinematics off the tilde kinematics previously supplied through the XComb object.

This default implementation returns invertedTildeKinematics()->nDimRadiation()

◆ noMirror()

virtual bool Herwig::SubtractionDipole::noMirror ( ) const
inlinevirtual

Return true, if this matrix element does not want to make use of mirroring processes; in this case all possible partonic subprocesses with a fixed assignment of incoming particles need to be provided through the diagrams added with the add(...) method.

Reimplemented from ThePEG::MEBase.

Definition at line 378 of file SubtractionDipole.h.

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ orderInAlphaEW()

virtual unsigned int Herwig::SubtractionDipole::orderInAlphaEW ( ) const
inlinevirtual

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

Returns 0.

Implements ThePEG::MEBase.

Definition at line 413 of file SubtractionDipole.h.

References underlyingBornME().

◆ orderInAlphaS()

virtual unsigned int Herwig::SubtractionDipole::orderInAlphaS ( ) const
inlinevirtual

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

Implements ThePEG::MEBase.

Definition at line 407 of file SubtractionDipole.h.

References realEmissionME().

◆ partnerDipoles() [1/2]

const vector< Ptr< SubtractionDipole >::tptr > & Herwig::SubtractionDipole::partnerDipoles ( ) const
inline

Return the dipoles which have been found along with this dipole.

Definition at line 748 of file SubtractionDipole.h.

References thePartners.

◆ partnerDipoles() [2/2]

void Herwig::SubtractionDipole::partnerDipoles ( const vector< Ptr< SubtractionDipole >::tptr > &  p)
inline

Set the dipoles which have been found along with this dipole.

Definition at line 741 of file SubtractionDipole.h.

References thePartners.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ process() [1/2]

static const cPDVector & Herwig::SubtractionDipole::process ( const RealEmissionKey key)
inlinestatic

Return the diagram of a real emission key.

Definition at line 263 of file SubtractionDipole.h.

◆ process() [2/2]

static const cPDVector & Herwig::SubtractionDipole::process ( const UnderlyingBornKey key)
inlinestatic

Return the diagram of a underlying Born key.

Definition at line 304 of file SubtractionDipole.h.

◆ realEmission() [1/2]

int Herwig::SubtractionDipole::realEmission ( ) const
inline

Return the emission as referred to by the real emission matrix element.

Definition at line 203 of file SubtractionDipole.h.

References theRealEmission.

◆ realEmission() [2/2]

void Herwig::SubtractionDipole::realEmission ( int  id)
inline

Set the emission as referred to by the real emission matrix element.

Definition at line 209 of file SubtractionDipole.h.

References theRealEmission.

◆ realEmissionKey()

static RealEmissionKey Herwig::SubtractionDipole::realEmissionKey ( const cPDVector proc,
int  em,
int  emm,
int  sp 
)
inlinestatic

Create a real emission key.

Definition at line 255 of file SubtractionDipole.h.

◆ realEmissionME() [1/3]

Ptr< MatchboxMEBase >::tptr Herwig::SubtractionDipole::realEmissionME ( )
inline

Return the real emission matrix element.

Definition at line 710 of file SubtractionDipole.h.

References theRealEmissionME.

◆ realEmissionME() [2/3]

Ptr< MatchboxMEBase >::tcptr Herwig::SubtractionDipole::realEmissionME ( ) const
inline

Return the real emission matrix element.

Definition at line 703 of file SubtractionDipole.h.

References theRealEmissionME.

Referenced by alphaEM(), alphaS(), havePDFWeight1(), havePDFWeight2(), orderInAlphaS(), scale(), verbose(), and wantCMS().

◆ realEmissionME() [3/3]

void Herwig::SubtractionDipole::realEmissionME ( Ptr< MatchboxMEBase >::tptr  me)
inline

Set the real emission matrix element.

Definition at line 717 of file SubtractionDipole.h.

References theRealEmissionME.

◆ realEmissionScales()

bool Herwig::SubtractionDipole::realEmissionScales ( ) const
inline

Return true, if scales should be calculated from real emission kinematics.

Definition at line 635 of file SubtractionDipole.h.

References theRealEmissionScales.

Referenced by alphaEM(), alphaS(), and scale().

◆ realEmitter() [1/2]

int Herwig::SubtractionDipole::realEmitter ( ) const
inline

Return the emitter as referred to by the real emission matrix element.

Definition at line 191 of file SubtractionDipole.h.

References theRealEmitter.

◆ realEmitter() [2/2]

void Herwig::SubtractionDipole::realEmitter ( int  id)
inline

Set the emitter as referred to by the real emission matrix element.

Definition at line 197 of file SubtractionDipole.h.

References theRealEmitter.

◆ realShowerSubtraction()

bool Herwig::SubtractionDipole::realShowerSubtraction ( ) const
inline

Return true, if the shower real emission contribution should be subtracted.

Definition at line 818 of file SubtractionDipole.h.

References theRealShowerSubtraction.

◆ realSpectator() [1/2]

int Herwig::SubtractionDipole::realSpectator ( ) const
inline

Return the spectator as referred to by the real emission matrix element.

Definition at line 215 of file SubtractionDipole.h.

References theRealSpectator.

◆ realSpectator() [2/2]

void Herwig::SubtractionDipole::realSpectator ( int  id)
inline

Set the spectator as referred to by the real emission matrix element.

Definition at line 221 of file SubtractionDipole.h.

References theRealSpectator.

◆ reweights() [1/2]

vector< Ptr< MatchboxReweightBase >::ptr > & Herwig::SubtractionDipole::reweights ( )
inline

Access the reweight objects.

Definition at line 919 of file SubtractionDipole.h.

References theReweights.

◆ reweights() [2/2]

const vector< Ptr< MatchboxReweightBase >::ptr > & Herwig::SubtractionDipole::reweights ( ) const
inline

Return the reweight objects.

Definition at line 914 of file SubtractionDipole.h.

References theReweights.

◆ samplingZ()

◆ scale()

virtual Energy2 Herwig::SubtractionDipole::scale ( ) const
inlinevirtual

Return the scale associated with the phase space point provided by the last call to setKinematics().

Implements ThePEG::MEBase.

Definition at line 646 of file SubtractionDipole.h.

References realEmissionME(), realEmissionScales(), and underlyingBornME().

◆ selectColourGeometry()

virtual const ColourLines & Herwig::SubtractionDipole::selectColourGeometry ( tcDiagPtr  diag) const
virtual

Select a ColpurLines geometry.

The default version returns a colour geometry selected among the ones returned from colourGeometries(tcDiagPtr).

Reimplemented from ThePEG::MEBase.

◆ setKinematics()

virtual void Herwig::SubtractionDipole::setKinematics ( )
virtual

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.

If the function is overridden in a sub class the new function must call the base class one first.

Reimplemented from ThePEG::MEBase.

◆ setXComb()

virtual void Herwig::SubtractionDipole::setXComb ( tStdXCombPtr  xc)
virtual

Set the XComb object to be used in the next call to generateKinematics() and dSigHatDR().

Reimplemented from ThePEG::MEBase.

◆ showerApproximation() [1/2]

Ptr< ShowerApproximation >::tptr Herwig::SubtractionDipole::showerApproximation ( ) const
inline

Return the shower approximation.

Definition at line 808 of file SubtractionDipole.h.

References theShowerApproximation.

◆ showerApproximation() [2/2]

void Herwig::SubtractionDipole::showerApproximation ( Ptr< ShowerApproximation >::tptr  app)
inline

Set the shower approximation.

Definition at line 801 of file SubtractionDipole.h.

References theShowerApproximation.

◆ showerHardScale() [1/2]

Energy Herwig::SubtractionDipole::showerHardScale ( ) const
inline

Return the shower hard scale encountered.

Definition at line 580 of file SubtractionDipole.h.

References theShowerHardScale.

◆ showerHardScale() [2/2]

void Herwig::SubtractionDipole::showerHardScale ( Energy  s)
inline

Set the shower hard scale encountered.

Definition at line 585 of file SubtractionDipole.h.

References theShowerHardScale.

◆ showerParameters() [1/2]

vector< double > & Herwig::SubtractionDipole::showerParameters ( )
inline

Access the shower splitting variables encountered.

Definition at line 605 of file SubtractionDipole.h.

References theShowerParameters.

◆ showerParameters() [2/2]

const vector< double > & Herwig::SubtractionDipole::showerParameters ( ) const
inline

Return the shower splitting variables encountered.

Definition at line 600 of file SubtractionDipole.h.

References theShowerParameters.

◆ showerScale() [1/2]

Energy Herwig::SubtractionDipole::showerScale ( ) const
inline

Return the shower evolution scale encountered.

Definition at line 590 of file SubtractionDipole.h.

References theShowerScale.

◆ showerScale() [2/2]

void Herwig::SubtractionDipole::showerScale ( Energy  s)
inline

Set the shower evolution scale encountered.

Definition at line 595 of file SubtractionDipole.h.

References theShowerScale.

◆ spectator() [1/2]

◆ spectator() [2/2]

static int Herwig::SubtractionDipole::spectator ( const UnderlyingBornKey key)
inlinestatic

Return the spectator id of a underlying Born key.

Definition at line 318 of file SubtractionDipole.h.

◆ splitting()

bool Herwig::SubtractionDipole::splitting ( ) const
inline

Return true, if this dipole acts in splitting mode.

Definition at line 555 of file SubtractionDipole.h.

References theSplitting.

Referenced by lastDipoleScale(), lastPt(), and lastZ().

◆ splittingMap()

const multimap< UnderlyingBornKey, RealEmissionInfo > & Herwig::SubtractionDipole::splittingMap ( ) const
inline

Return the splitting map.

Definition at line 342 of file SubtractionDipole.h.

References theSplittingMap.

◆ subtractionParameters() [1/2]

vector< double > & Herwig::SubtractionDipole::subtractionParameters ( )
inline

Access the subtraction parameters.

Definition at line 575 of file SubtractionDipole.h.

References theSubtractionParameters.

◆ subtractionParameters() [2/2]

const vector< double > & Herwig::SubtractionDipole::subtractionParameters ( ) const
inline

Return the subtraction parameters.

Definition at line 570 of file SubtractionDipole.h.

References theSubtractionParameters.

◆ testSubtraction()

bool Herwig::SubtractionDipole::testSubtraction ( ) const
inline

Return true, if the subtraction is being tested.

Definition at line 860 of file SubtractionDipole.h.

References theSubtractionTest.

◆ tildeKinematics()

Ptr< TildeKinematics >::tcptr Herwig::SubtractionDipole::tildeKinematics ( ) const
inline

Return the TildeKinematics object used.

Definition at line 482 of file SubtractionDipole.h.

References theTildeKinematics.

◆ underlyingBornKey()

static UnderlyingBornKey Herwig::SubtractionDipole::underlyingBornKey ( const cPDVector proc,
int  em,
int  sp 
)
inlinestatic

Create a underlying Born key.

Definition at line 296 of file SubtractionDipole.h.

◆ underlyingBornME() [1/3]

Ptr< MatchboxMEBase >::tptr Herwig::SubtractionDipole::underlyingBornME ( )
inline

Return the underlying Born matrix element.

Definition at line 729 of file SubtractionDipole.h.

References theUnderlyingBornME.

◆ underlyingBornME() [2/3]

Ptr< MatchboxMEBase >::tcptr Herwig::SubtractionDipole::underlyingBornME ( ) const
inline

Return the underlying Born matrix element.

Definition at line 722 of file SubtractionDipole.h.

References theUnderlyingBornME.

Referenced by alphaEM(), alphaS(), orderInAlphaEW(), scale(), and verbose().

◆ underlyingBornME() [3/3]

void Herwig::SubtractionDipole::underlyingBornME ( Ptr< MatchboxMEBase >::tptr  me)
inline

Set the underlying Born matrix element.

Definition at line 736 of file SubtractionDipole.h.

References theUnderlyingBornME.

◆ verbose()

bool Herwig::SubtractionDipole::verbose ( ) const
inline

Return true, if verbose.

Definition at line 865 of file SubtractionDipole.h.

References realEmissionME(), and underlyingBornME().

◆ virtualShowerSubtraction()

bool Herwig::SubtractionDipole::virtualShowerSubtraction ( ) const
inline

Return true, if the shower virtual contribution should be subtracted.

Definition at line 828 of file SubtractionDipole.h.

References theVirtualShowerSubtraction.

◆ wantCMS()

virtual bool Herwig::SubtractionDipole::wantCMS ( ) const
inlinevirtual

Return true, if this matrix element expects the incoming partons in their center-of-mass system.

Reimplemented from ThePEG::MEBase.

Definition at line 455 of file SubtractionDipole.h.

References realEmissionME().

Member Data Documentation

◆ lastRealEmissionInfo

multimap<UnderlyingBornKey,RealEmissionInfo>::const_iterator Herwig::SubtractionDipole::lastRealEmissionInfo
private

The last real emission info encountered.

Definition at line 1149 of file SubtractionDipole.h.

◆ lastRealEmissionKey

RealEmissionKey Herwig::SubtractionDipole::lastRealEmissionKey
private

The last real emission key encountered.

Definition at line 1139 of file SubtractionDipole.h.

◆ lastUnderlyingBornKey

UnderlyingBornKey Herwig::SubtractionDipole::lastUnderlyingBornKey
private

The last underlying Born key encountered.

Definition at line 1144 of file SubtractionDipole.h.

◆ theApply

bool Herwig::SubtractionDipole::theApply
private

True, if should apply to process in the xcomb.

Definition at line 1033 of file SubtractionDipole.h.

Referenced by apply().

◆ theBornEmitter

int Herwig::SubtractionDipole::theBornEmitter
private

The emitter as referred to by the underlying Born matrix element.

Definition at line 1155 of file SubtractionDipole.h.

Referenced by bornEmitter().

◆ theBornSpectator

int Herwig::SubtractionDipole::theBornSpectator
private

The spectator as referred to by the underlying Born matrix element.

Definition at line 1161 of file SubtractionDipole.h.

Referenced by bornSpectator().

◆ theBornToRealDiagrams

map<tcDiagPtr,tcDiagPtr> Herwig::SubtractionDipole::theBornToRealDiagrams
private

Map underlying Born diagrams to real emission diagrams.

Definition at line 1129 of file SubtractionDipole.h.

◆ theIgnoreCuts

bool Herwig::SubtractionDipole::theIgnoreCuts
private

True if cuts should be ignored.

Definition at line 1043 of file SubtractionDipole.h.

Referenced by doIgnoreCuts(), and ignoreCuts().

◆ theIndexMap

map<cPDVector,pair<int,int> > Herwig::SubtractionDipole::theIndexMap
private

Map underlying Born diagrams to emitter/spectator pairs.

Definition at line 1114 of file SubtractionDipole.h.

◆ theInvertedTildeKinematics

Ptr<InvertedTildeKinematics>::ptr Herwig::SubtractionDipole::theInvertedTildeKinematics
private

The InvertedTildeKinematics to be used.

Definition at line 1068 of file SubtractionDipole.h.

Referenced by invertedTildeKinematics().

◆ theIsAboveCutoff

bool Herwig::SubtractionDipole::theIsAboveCutoff
private

True, if this configuration is above the shower infrared cutoff.

Definition at line 1241 of file SubtractionDipole.h.

Referenced by isAboveCutoff().

◆ theIsInShowerPhasespace

bool Herwig::SubtractionDipole::theIsInShowerPhasespace
private

True, if this configuration is in the shower phase space.

Definition at line 1236 of file SubtractionDipole.h.

Referenced by isInShowerPhasespace().

◆ theLastSplittingPt

Energy Herwig::SubtractionDipole::theLastSplittingPt
private

The last pt as generated from the splitting mapping.

Definition at line 1181 of file SubtractionDipole.h.

Referenced by lastPt().

◆ theLastSplittingScale

Energy Herwig::SubtractionDipole::theLastSplittingScale
private

The last scale as generated from the splitting mapping.

Definition at line 1171 of file SubtractionDipole.h.

Referenced by lastDipoleScale().

◆ theLastSplittingZ

double Herwig::SubtractionDipole::theLastSplittingZ
private

The last z as generated from the splitting mapping.

Definition at line 1191 of file SubtractionDipole.h.

Referenced by lastZ().

◆ theLastSubtractionPt

Energy Herwig::SubtractionDipole::theLastSubtractionPt
private

The last pt as generated from the tilde mapping.

Definition at line 1176 of file SubtractionDipole.h.

Referenced by lastPt().

◆ theLastSubtractionScale

Energy Herwig::SubtractionDipole::theLastSubtractionScale
private

The last scale as generated from the tilde mapping.

Definition at line 1166 of file SubtractionDipole.h.

Referenced by lastDipoleScale().

◆ theLastSubtractionZ

double Herwig::SubtractionDipole::theLastSubtractionZ
private

The last z as generated from the tilde mapping.

Definition at line 1186 of file SubtractionDipole.h.

Referenced by lastZ().

◆ theLoopSimSubtraction

bool Herwig::SubtractionDipole::theLoopSimSubtraction
private

True, if the loopsim matched virtual contribution should be subtracted.

Definition at line 1211 of file SubtractionDipole.h.

Referenced by doLoopSimSubtraction(), and loopSimSubtraction().

◆ theMergingMap

map<RealEmissionKey,UnderlyingBornInfo> Herwig::SubtractionDipole::theMergingMap
private

Map real emission diagrams to underlying Born diagrams and tilde emitter/spectator.

Definition at line 1103 of file SubtractionDipole.h.

Referenced by empty(), and mergingMap().

◆ thePartners

vector<Ptr<SubtractionDipole>::tptr> Herwig::SubtractionDipole::thePartners
private

The dipoles which have been found along with this dipole.

Definition at line 1058 of file SubtractionDipole.h.

Referenced by partnerDipoles().

◆ theRealEmission

int Herwig::SubtractionDipole::theRealEmission
private

The emission as referred to by the real emission matrix element.

Definition at line 1086 of file SubtractionDipole.h.

Referenced by realEmission().

◆ theRealEmissionDiagrams

map<cPDVector,DiagramVector> Herwig::SubtractionDipole::theRealEmissionDiagrams
private

Map Born processes to real emission diagrams.

Definition at line 1124 of file SubtractionDipole.h.

◆ theRealEmissionME

Ptr<MatchboxMEBase>::ptr Herwig::SubtractionDipole::theRealEmissionME
private

The real emission matrix element to be considered.

Definition at line 1048 of file SubtractionDipole.h.

Referenced by realEmissionME().

◆ theRealEmissionScales

bool Herwig::SubtractionDipole::theRealEmissionScales
private

True, if scales should be calculated from real emission kinematics.

Definition at line 1216 of file SubtractionDipole.h.

Referenced by doRealEmissionScales(), and realEmissionScales().

◆ theRealEmitter

int Herwig::SubtractionDipole::theRealEmitter
private

The emitter as referred to by the real emission matrix element.

Definition at line 1080 of file SubtractionDipole.h.

Referenced by realEmitter().

◆ theRealShowerSubtraction

bool Herwig::SubtractionDipole::theRealShowerSubtraction
private

True, if the shower real emission contribution should be subtracted.

Definition at line 1201 of file SubtractionDipole.h.

Referenced by doRealShowerSubtraction(), and realShowerSubtraction().

◆ theRealSpectator

int Herwig::SubtractionDipole::theRealSpectator
private

The spectator as referred to by the real emission matrix element.

Definition at line 1092 of file SubtractionDipole.h.

Referenced by realSpectator().

◆ theRealToBornDiagrams

map<tcDiagPtr,tcDiagPtr> Herwig::SubtractionDipole::theRealToBornDiagrams
private

Map real emission diagrams to underlying Born diagrams.

Definition at line 1134 of file SubtractionDipole.h.

◆ theReweights

vector<Ptr<MatchboxReweightBase>::ptr> Herwig::SubtractionDipole::theReweights
private

A vector of reweight objects the sum of which should be applied to reweight this dipole.

Definition at line 1074 of file SubtractionDipole.h.

Referenced by addReweight(), and reweights().

◆ theShowerApproximation

Ptr<ShowerApproximation>::ptr Herwig::SubtractionDipole::theShowerApproximation
private

The shower approximation.

Definition at line 1196 of file SubtractionDipole.h.

Referenced by showerApproximation().

◆ theShowerHardScale

Energy Herwig::SubtractionDipole::theShowerHardScale
private

Return the shower hard scale encountered.

Definition at line 1221 of file SubtractionDipole.h.

Referenced by showerHardScale().

◆ theShowerParameters

vector<double> Herwig::SubtractionDipole::theShowerParameters
private

The shower splitting variables encountered.

Definition at line 1231 of file SubtractionDipole.h.

Referenced by showerParameters().

◆ theShowerScale

Energy Herwig::SubtractionDipole::theShowerScale
private

The shower evolution scale encountered.

Definition at line 1226 of file SubtractionDipole.h.

Referenced by showerScale().

◆ theSplitting

bool Herwig::SubtractionDipole::theSplitting
private

Wether or not this dipole acts in splitting mode.

Definition at line 1028 of file SubtractionDipole.h.

Referenced by doSplitting(), doSubtraction(), and splitting().

◆ theSplittingMap

multimap<UnderlyingBornKey,RealEmissionInfo> Herwig::SubtractionDipole::theSplittingMap
private

Map underlying Born diagrams and tilde emitter/spectator to real emission diagram containing the splitting.

Definition at line 1109 of file SubtractionDipole.h.

Referenced by empty(), and splittingMap().

◆ theSubtractionParameters

vector<double> Herwig::SubtractionDipole::theSubtractionParameters
private

The subtraction parameters.

Definition at line 1097 of file SubtractionDipole.h.

Referenced by subtractionParameters().

◆ theSubtractionTest

bool Herwig::SubtractionDipole::theSubtractionTest
private

True, if the subtraction is being tested.

Definition at line 1038 of file SubtractionDipole.h.

Referenced by doTestSubtraction(), and testSubtraction().

◆ theTildeKinematics

Ptr<TildeKinematics>::ptr Herwig::SubtractionDipole::theTildeKinematics
private

The TildeKinematics to be used.

Definition at line 1063 of file SubtractionDipole.h.

Referenced by tildeKinematics().

◆ theUnderlyingBornDiagrams

map<cPDVector,DiagramVector> Herwig::SubtractionDipole::theUnderlyingBornDiagrams
private

Map real emission processes to Born diagrams.

Definition at line 1119 of file SubtractionDipole.h.

◆ theUnderlyingBornME

Ptr<MatchboxMEBase>::ptr Herwig::SubtractionDipole::theUnderlyingBornME
private

The underlying Born matrix element.

Definition at line 1053 of file SubtractionDipole.h.

Referenced by underlyingBornME().

◆ theVirtualShowerSubtraction

bool Herwig::SubtractionDipole::theVirtualShowerSubtraction
private

True, if the shower virtual contribution should be subtracted.

Definition at line 1206 of file SubtractionDipole.h.

Referenced by doVirtualShowerSubtraction(), and virtualShowerSubtraction().


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