thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::Cuts Class Reference

Cuts is a class for implementing kinematical cuts in ThePEG. More...

#include <Cuts.h>

Inheritance diagram for ThePEG::Cuts:

Public Types

typedef vector< OneCutPtr > OneCutVector
 A vector of OneCutBase pointers.
 
typedef vector< TwoCutPtr > TwoCutVector
 A vector of TwoCutBase pointers.
 
typedef vector< MultiCutPtr > MultiCutVector
 A vector of MultiCutBase pointers.
 
- Public Types inherited from ThePEG::InterfacedBase
enum  InitState { initializing = -1, uninitialized = 0, initialized = 1, runready = 2 }
 Enumeration reflecting the state of an InterfacedBase object. More...
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 The integer type used for counting.
 

Public Member Functions

virtual void describe () const
 Describe the currently active cuts in the log file.
 
Standard constructors and destructors.
 Cuts (Energy MhatMin=2 *GeV)
 The default constructor.
 
virtual ~Cuts ()
 The destructor.
 
Initialization functions.
virtual void initialize (Energy2 smax, double Y)
 Initialize this object specifying the maximum total invariant mass squared, smax, and the total rapidity, Y, of the colliding particles (for the maximum invariant mass). More...
 
virtual void initEvent ()
 Initialize this object for a new event. More...
 
virtual bool initSubProcess (Energy2 shat, double yhat, bool mirror=false) const
 Set information about the invariant mass squared, shat, and rapidity, yhat, of the hard sub-process. More...
 
Check functions to see if a state has passed the cuts or not.
virtual bool passCuts (const tcPDVector &ptype, const vector< LorentzMomentum > &p, tcPDPtr t1=tcPDPtr(), tcPDPtr t2=tcPDPtr()) const
 Check if the outgoing particles, with the given types and momenta, from a sub-process passes the cuts. More...
 
bool passCuts (const tcPVector &p, tcPDPtr t1=tcPDPtr(), tcPDPtr t2=tcPDPtr()) const
 Check if the outgoing particles from a sub-process passes the cuts. More...
 
bool passCuts (const SubProcess &sub) const
 Check if the incoming and outgoing particles in the given sub-process passes the cuts. More...
 
bool passCuts (const Collision &coll) const
 Check if the given collision passes the cuts. More...
 
Access to cuts of the underlying cut objects.
Energy2 minSij (tcPDPtr pi, tcPDPtr pj) const
 Return the minimum allowed squared invariant mass of two outgoing partons of type pi and pj. More...
 
Energy2 minTij (tcPDPtr pi, tcPDPtr po) const
 Return the minimum allowed value of the negative of the squared invariant mass of an incoming parton of type pi and an outgoing parton of type po. More...
 
double minDeltaR (tcPDPtr pi, tcPDPtr pj) const
 Return the minimum allowed value of $\Delta R_{ij}=\sqrt{\Delta\eta_{ij}^2+\Delta\phi_{ij}^2}$ of two outgoing partons of type pi and pj. More...
 
Energy minKTClus (tcPDPtr pi, tcPDPtr pj) const
 Return the minimum allowed value of the longitudinally invariant $k_\perp$-algorithms distance measure. More...
 
double minDurham (tcPDPtr pi, tcPDPtr pj) const
 Return the minimum allowed value of the Durham $k_\perp$-algorithms distance measure. More...
 
Energy minKT (tcPDPtr p) const
 Return the minimum allowed value of the transverse momentum of an outgoing parton. More...
 
double minEta (tcPDPtr p) const
 Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type. More...
 
double maxEta (tcPDPtr p) const
 Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type. More...
 
double minRapidityMax (tcPDPtr p) const
 Return the minimum allowed rapidity of an outgoing parton of the given type. More...
 
double maxRapidityMin (tcPDPtr p) const
 Return the maximum allowed rapidity of an outgoing parton of the given type. More...
 
double minYStar (tcPDPtr p) const
 Return the minimum allowed rapidity of an outgoing parton of the given type in the center-of-mass system of the hard sub-process. More...
 
double maxYStar (tcPDPtr p) const
 Return the minimum allowed rapidity of an outgoing parton of the given type in the center-of-mass system of the hard sub-process. More...
 
Energy2 minS (const tcPDVector &pv) const
 Return the minimum allowed value of the squared invariant mass of a set of outgoing partons of the given types. More...
 
Energy2 maxS (const tcPDVector &pv) const
 Return the maximum allowed value of the squared invariant mass of a set of outgoing partons of the given types. More...
 
Direct access to underlying cut objects.
template<typename T >
vector< typename Ptr< T >::transient_const_pointer > oneCutObjects () const
 Return a vector of pointers to objects of the given class (with base class OneCutBase).
 
template<typename T >
vector< typename Ptr< T >::transient_const_pointer > twoCutObjects () const
 Return a vector of pointers to objects of the given class (with base class TwoCutBase).
 
template<typename T >
vector< typename Ptr< T >::transient_const_pointer > multiCutObjects () const
 Return a vector of pointers to objects of the given class (with base class MultiCutBase).
 
const OneCutVectoroneCuts () const
 Return the objects defining cuts on single outgoing partons from the hard sub-process.
 
const TwoCutVectortwoCuts () const
 Return the objects defining cuts on pairs of particles in the hard sub-process.
 
const MultiCutVectormultiCuts () const
 Return the objects defining cuts on sets of outgoing particles from the hard sub-process.
 
Ptr< JetFinder >::tptr jetFinder () const
 Return the jet finder.
 
void add (tOneCutPtr c)
 Add a OneCutBase object.
 
void add (tTwoCutPtr c)
 Add a TwoCutBase object.
 
void add (tMultiCutPtr c)
 Add a MultiCutBase object.
 
Simple access functions.
Energy2 SMax () const
 The maximum allowed total invariant mass squared allowed for events to be considered.
 
double Y () const
 The total rapidity of the colliding particles corresponding to the maximum invariant mass squared, SMax().
 
Energy2 currentSHat () const
 The invariant mass squared of the hard sub-process of the event being considered.
 
double currentYHat () const
 The total rapidity of hard sub-process (wrt. More...
 
Functions to inquire about specific cuts.
Energy2 sHatMin () const
 The minimum allowed value of $\hat{s}$.
 
Energy2 sHatMax () const
 The maximum allowed value of $\hat{s}$.
 
bool sHat (Energy2 sh) const
 Check if the given $\hat{s}$ is within the cuts.
 
Energy mHatMin () const
 The minimum allowed value of $\sqrt{\hat{s}}$.
 
Energy mHatMax () const
 The maximum allowed value of $\sqrt{\hat{s}}$.
 
double yHatMin () const
 The minimum value of the rapidity of the hard sub-process (wrt. More...
 
double yHatMax () const
 The maximum value of the rapidity of the hard sub-process (wrt. More...
 
bool yHat (double y) const
 Check if the given $\hat{y}$ is within the cuts.
 
double x1Min () const
 The minimum value of the positive light-cone fraction of the hard sub-process.
 
double x1Max () const
 The maximum value of the positive light-cone fraction of the hard sub-process.
 
bool x1 (double x) const
 Check if the given $x_1$ is within the cuts.
 
double x2Min () const
 The minimum value of the negative light-cone fraction of the hard sub-process.
 
double x2Max () const
 The maximum value of the negative light-cone fraction of the hard sub-process.
 
bool x2 (double x) const
 Check if the given $x_2$ is within the cuts.
 
Energy2 scaleMin () const
 The minimum allowed value of the scale to be used in PDF's and coupling constants.
 
Energy2 scaleMax () const
 The maximum allowed value of the scale to be used in PDF's and coupling constants.
 
bool scale (Energy2 Q2) const
 Check if the given scale is within the cuts.
 
bool subMirror () const
 Set true if a matrix element is should be using this cut and is mirrored along the z-axis .
 
double cutWeight () const
 Return the overall cut weight.
 
void lastCutWeight (double w) const
 Set the cut weight as appropriate from the call to the last n-cut object.
 
Ptr< FuzzyTheta >::tcptr fuzzy () const
 Return the fuzziness object.
 
template<class CutType , class Value >
bool isInside (const Value &v, const Value &lower, const Value &upper, double &weight) const
 Check for value inside the given bounds and update the weight.
 
template<class CutType , class Value >
bool isLessThan (const Value &v, const Value &upper, double &weight) const
 Check for value inside the given bounds and update the weight.
 
template<class CutType , class Value >
bool isLargerThan (const Value &v, const Value &lower, double &weight) const
 Check for value inside the given bounds and update the weight.
 
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual ~Interfaced ()
 Empty virtual destructor.
 
virtual bool defaultInit ()
 Functions which are to be used during the actual event generation, after the setup is complete. More...
 
PPtr getParticle (PID) const
 Create a new Particle instance given a id number.
 
PDPtr getParticleData (PID) const
 Return a pointer to the ParticleData object corresponding to the given id number.
 
bool used () const
 Returns true if this object has actally been used.
 
void useMe () const
 Should be called to indicate that this object has actually been used.
 
tEGPtr generator () const
 Return a pointer to the EventGenerator controlling the run. More...
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from ThePEG::InterfacedBase
virtual ~InterfacedBase ()
 The virtual (empty) destructor;.
 
string fullName () const
 Returns the full name of this object including its path, e.g. More...
 
string name () const
 Returns the name of this object, without the path.
 
string path () const
 Returns the path to this object including the trailing '/'. More...
 
string comment () const
 Returns a comment assigned to this object.
 
void setup (istream &is)
 Read setup info from a standard istream is. More...
 
virtual void debugme () const
 Print out debugging information for this object on std::cerr. More...
 
void update ()
 Calls the doupdate() function with recursion prevention.
 
void init ()
 Calls the doinit() function with recursion prevention.
 
virtual bool preInitialize () const
 Return true if this object needs to be initialized before all other objects (except those for which this function also returns true). More...
 
void initrun ()
 Calls the doinitrun() function with recursion prevention.
 
void finish ()
 Calls the dofinish() function with recursion prevention.
 
void touch ()
 This function should be called every time something in this object has changed in a way that a sanity check with update() is needed.
 
void reset ()
 Set the state of this object to uninitialized.
 
void clear ()
 Calls reset() and unTouch().
 
InitState state () const
 Return the state of initialization of this object.
 
bool locked () const
 Return true if the BaseRepository is not allowed to change the state of this object.
 
bool touched () const
 Return true if the state of this object has been changed since the last call to update().
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from ThePEG::Base
virtual ~Base ()
 The virtual destructor.
 
void debug () const
 Print out debugging information for this object on std::cerr. More...
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 Return the reference count.
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 Constructor with name.
 
 Named (const Named &)=default
 Explicit default copy-constructor (too avoid compiler warnings)
 
const string & name () const
 Return name.
 
bool operator== (const Named &other) const
 Test for equality.
 
bool operator< (const Named &other) const
 Lexicographical comparison.
 

Static Public Member Functions

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

Protected Member Functions

Standard Interfaced functions.
virtual void doinitrun ()
 Initialize this object. More...
 
Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object. More...
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane. More...
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 Register the given object in the Repository with the given name in a subdirectory with the same name as this object. More...
 
template<typename PtrT >
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 If the pointer, ptr, to an object is not set, create an object of class classname and register it with the Repository with the given objectname in a sib-directory with the same name as this object.
 
 Interfaced ()
 Protected default constructor.
 
 Interfaced (const string &newName)
 Protected constructor taking a name as argument.
 
 Interfaced (const Interfaced &i)
 Protected copy-constructor.
 
void setGenerator (tEGPtr generator)
 Protected function to reset the generator pointer, required for automatic decayer generation in Herwig++ BSM models.
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
 InterfacedBase ()
 Protected default constructor.
 
 InterfacedBase (string newName)
 Protected constructor with the name given as argument.
 
 InterfacedBase (const InterfacedBase &i)
 Protected copy-constructor.
 
virtual void readSetup (istream &is)
 Read setup info from a standard istream is. More...
 
virtual void doupdate ()
 Check sanity of the object during the setup phase. More...
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk. More...
 
virtual void dofinish ()
 Finalize this object. More...
 
virtual IVector getReferences ()
 Return a vector of all pointers to Interfaced objects used in this object. More...
 
virtual void rebind (const TranslationMap &)
 Rebind pointer to other Interfaced objects. More...
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted ()
 Default constructor.
 
 ReferenceCounted (const ReferenceCounted &)
 Copy-constructor.
 
ReferenceCountedoperator= (const ReferenceCounted &)
 Assignment.
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 Assignment.
 
const string & name (const string &newName)
 Set new name.
 

Private Member Functions

Energy maxMHatMin () const
 Helper function used by the interface.
 
Energy minMHatMax () const
 Helper function used by the interface.
 
double maxYHatMin () const
 Helper function used by the interface.
 
double minYHatMax () const
 Helper function used by the interface.
 
double maxX1Min () const
 Helper function used by the interface.
 
double minX1Max () const
 Helper function used by the interface.
 
double maxX2Min () const
 Helper function used by the interface.
 
double minX2Max () const
 Helper function used by the interface.
 
Energy2 maxScaleMin () const
 Helper function used by the interface.
 
Energy2 minScaleMax () const
 Helper function used by the interface.
 
Cutsoperator= (const Cuts &)=delete
 The assignment operator is private and must never be called. More...
 

Private Attributes

Energy2 theSMax
 The maximum allowed total invariant mass squared allowed for events to be considered.
 
double theY
 The total rapidity of the colliding particles corresponding to the maximum invariant mass squared, SMax().
 
Energy2 theCurrentSHat
 The invariant mass squared of the hard sub-process of the event being considered.
 
double theCurrentYHat
 The total rapidity of hard sub-process (wrt. More...
 
Energy theMHatMin
 The minimum allowed value of $\sqrt{\hat{s}}$.
 
Energy theMHatMax
 The maximum allowed value of $\sqrt{\hat{s}}$.
 
double theYHatMin
 The minimum value of the rapidity of the hard sub-process (wrt. More...
 
double theYHatMax
 The maximum value of the rapidity of the hard sub-process (wrt. More...
 
double theX1Min
 The minimum value of the positive light-cone fraction of the hard sub-process.
 
double theX1Max
 The maximum value of the positive light-cone fraction of the hard sub-process.
 
double theX2Min
 The minimum value of the negative light-cone fraction of the hard sub-process.
 
double theX2Max
 The maximum value of the negative light-cone fraction of the hard sub-process.
 
Energy2 theScaleMin
 The minimum allowed value of the scale to be used in PDF's and coupling constants.
 
Energy2 theScaleMax
 The maximum allowed value of the scale to be used in PDF's and coupling constants.
 
OneCutVector theOneCuts
 The objects defining cuts on single outgoing partons from the hard sub-process.
 
TwoCutVector theTwoCuts
 The objects defining cuts on pairs of particles in the hard sub-process.
 
MultiCutVector theMultiCuts
 The objects defining cuts on sets of outgoing particles from the hard sub-process.
 
Ptr< JetFinder >::ptr theJetFinder
 An optional jet finder used to define cuts on the level of reconstructed jets.
 
bool theSubMirror
 Set to true if a matrix element is should be using this cut and is mirrored along the z-axis .
 
double theCutWeight
 The overall cut weight.
 
double theLastCutWeight
 The cut weight as appropriate from the call to the last n-cut object.
 
Ptr< FuzzyTheta >::ptr theFuzzyTheta
 The fuzziness object.
 

Static Private Attributes

static ClassDescription< CutsinitCuts
 The static object used to initialize the description of this class. More...
 

Additional Inherited Members

- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 The unique ID. More...
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 Register an Interfaced object with the Repository.
 
static void registerRepository (IBPtr, string newName)
 Register an Interfaced object with the Repository, giving it a name.
 

Detailed Description

Cuts is a class for implementing kinematical cuts in ThePEG.

The class itself only implements cuts on the total momentum of the hard sub-process, implemented as minimum and maximum values of $x_1$ and $x_2$ (or $\hat{s}=x_1x_2S_{tot}$ and $\hat{y}=\log(x_1/x_2)/2$. Further cuts can be implemented either by inheriting from this base class, in which the virtual cut() function should be overridden, or by assigning objects of class OneCutBase, TwoCutBase and MultiCutBase defining cuts on single particles, pairs of particles and groups of particles in the hard sub-process respectively.

The Cuts object must be initialized specifying the overall laboratory frame, giving the total squared invariant mass, $S$, and the rapidity, $Y$, of the colliding particles in this frame. The colliding particles are thus assumed to be directed along the $z$-axis.

For each event, the Cuts object must also be initialized giving the squared invarint mass, $\hat{s}$, and the total rapidity, $\hat{y}$, of the hard sub-process in the center-of-mass frame of the colliding particles. Note that this means that the transformation between the lab frame and the rest frame of the hard sub-process is assumed to be a simple boost along the z-axis.

See also
The interfaces defined for Cuts.

Definition at line 53 of file Cuts.h.

Member Function Documentation

◆ clone()

virtual IBPtr ThePEG::Cuts::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

Referenced by isLargerThan().

◆ currentYHat()

double ThePEG::Cuts::currentYHat ( ) const
inline

The total rapidity of hard sub-process (wrt.

the rest system of the colliding particles so that currentYHat() + Y() gives the true rapidity) of the event being considered.

Definition at line 383 of file Cuts.h.

References theCurrentYHat.

◆ doinitrun()

virtual void ThePEG::Cuts::doinitrun ( )
protectedvirtual

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from ThePEG::InterfacedBase.

Referenced by isLargerThan().

◆ fullclone()

virtual IBPtr ThePEG::Cuts::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.

Referenced by isLargerThan().

◆ Init()

static void ThePEG::Cuts::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.

Referenced by isLargerThan().

◆ initEvent()

virtual void ThePEG::Cuts::initEvent ( )
virtual

Initialize this object for a new event.

A sub-class overriding this function must make sure the base-class function is called. This function is called before the generation of a new sub-process, before the incoming partons have been generated.

◆ initialize()

virtual void ThePEG::Cuts::initialize ( Energy2  smax,
double  Y 
)
virtual

Initialize this object specifying the maximum total invariant mass squared, smax, and the total rapidity, Y, of the colliding particles (for the maximum invariant mass).

A sub-class overriding this function must make sure the base-class function is called. This function should be called once in the beginning of a run.

◆ initSubProcess()

virtual bool ThePEG::Cuts::initSubProcess ( Energy2  shat,
double  yhat,
bool  mirror = false 
) const
virtual

Set information about the invariant mass squared, shat, and rapidity, yhat, of the hard sub-process.

The rapidity should be given wrt. the center of mass of the colliding particles. A sub-class overriding this function must make sure the base-class function is called. This function is called before the generation of a new sub-process, after the incoming partons have been generated. If mirror is true any questions regarding cuts on the sub-process in the functions minYStar(tcPDPtr), maxYStar(tcPDPtr p), passCuts(const tcPDVector &, const vector<LorentzMomentum> &, tcPDPtr, tcPDPtr) and passCuts(const tcPVector &, tcPDPtr t1, tcPDPtr) will assume that the z-axis is reversed in the sub-process rest frame. Returns false if the given values were outside of the cuts.

◆ maxEta()

double ThePEG::Cuts::maxEta ( tcPDPtr  p) const

Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type.

The pseudo-rapidity is measured in the lab system. Simply returns the minimum of the results from calling the corresponding function in the OneCutBase objects.

◆ maxRapidityMin()

double ThePEG::Cuts::maxRapidityMin ( tcPDPtr  p) const

Return the maximum allowed rapidity of an outgoing parton of the given type.

The rapidity is measured in the lab system. Simply returns the minimum of the results from calling the corresponding function in the OneCutBase objects.

◆ maxS()

Energy2 ThePEG::Cuts::maxS ( const tcPDVector pv) const

Return the maximum allowed value of the squared invariant mass of a set of outgoing partons of the given types.

Typically used to cut off the tails of the mass of a resonance for efficiency. Simply returns the minimum of the results from calling the corresponding function in the MultiCutBase objects.

◆ maxYStar()

double ThePEG::Cuts::maxYStar ( tcPDPtr  p) const

Return the minimum allowed rapidity of an outgoing parton of the given type in the center-of-mass system of the hard sub-process.

Only available after initSubProcess() has been called.

◆ minDeltaR()

double ThePEG::Cuts::minDeltaR ( tcPDPtr  pi,
tcPDPtr  pj 
) const

Return the minimum allowed value of $\Delta R_{ij}=\sqrt{\Delta\eta_{ij}^2+\Delta\phi_{ij}^2}$ of two outgoing partons of type pi and pj.

Simply returns the maximum of the results from calling the corresponding function in the TwoCutBase objects.

◆ minDurham()

double ThePEG::Cuts::minDurham ( tcPDPtr  pi,
tcPDPtr  pj 
) const

Return the minimum allowed value of the Durham $k_\perp$-algorithms distance measure.

This is defined as $2\min(E_j^2, E_j^2)(1-\cos\theta_{ij})/\hat{s}$ for two outgoing partons. Simply returns the maximum of the results from calling the corresponding function in the TwoCutBase objects.

◆ minEta()

double ThePEG::Cuts::minEta ( tcPDPtr  p) const

Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type.

The pseudo-rapidity is measured in the lab system. Simply returns the maximum of the results from calling the corresponding function in the OneCutBase objects.

◆ minKT()

Energy ThePEG::Cuts::minKT ( tcPDPtr  p) const

Return the minimum allowed value of the transverse momentum of an outgoing parton.

This function first determines the minimum from the corresponding function from in OneCutBase objects. If no minimum was found, one is derived from minKTClus(), if possible.

◆ minKTClus()

Energy ThePEG::Cuts::minKTClus ( tcPDPtr  pi,
tcPDPtr  pj 
) const

Return the minimum allowed value of the longitudinally invariant $k_\perp$-algorithms distance measure.

This is defined as $\min(p_{\perp i}, p_{\perp j})\sqrt{\Delta\eta_{ij}^2+\Delta\phi_{ij}^2}$ for two outgoing partons, or simply $p_{\perp i}$ or $p_{\perp j}$ for a single outgoing parton. Returns 0 if both partons are incoming. A null pointer indicates an incoming parton, hence the type of the incoming parton is irrelevant. Simply returns the maximum of the results from calling the corresponding function in the TwoCutBase objects.

◆ minRapidityMax()

double ThePEG::Cuts::minRapidityMax ( tcPDPtr  p) const

Return the minimum allowed rapidity of an outgoing parton of the given type.

The rapidity is measured in the lab system. Simply returns the maximum of the results from calling the corresponding function in the OneCutBase objects.

◆ minS()

Energy2 ThePEG::Cuts::minS ( const tcPDVector pv) const

Return the minimum allowed value of the squared invariant mass of a set of outgoing partons of the given types.

Typically used to cut off the tails of the mass of a resonance for efficiency. Simply returns the maximum of the results from calling the corresponding function in the MultiCutBase objects.

◆ minSij()

Energy2 ThePEG::Cuts::minSij ( tcPDPtr  pi,
tcPDPtr  pj 
) const

Return the minimum allowed squared invariant mass of two outgoing partons of type pi and pj.

This function first determines the minimum from the corresponding function from in TwoCutBase objects. If no minimum was found, one is derived from minKTClus(), minDurham(), minKT() and minDeltaR(), if possible.

◆ minTij()

Energy2 ThePEG::Cuts::minTij ( tcPDPtr  pi,
tcPDPtr  po 
) const

Return the minimum allowed value of the negative of the squared invariant mass of an incoming parton of type pi and an outgoing parton of type po.

This function first determines the minimum from the corresponding function from in TwoCutBase objects. If no minimum was found, one is derived from minKT(), if possible.

◆ minYStar()

double ThePEG::Cuts::minYStar ( tcPDPtr  p) const

Return the minimum allowed rapidity of an outgoing parton of the given type in the center-of-mass system of the hard sub-process.

Only available after initSubProcess() has been called.

◆ operator=()

Cuts& ThePEG::Cuts::operator= ( const Cuts )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ passCuts() [1/4]

virtual bool ThePEG::Cuts::passCuts ( const tcPDVector ptype,
const vector< LorentzMomentum > &  p,
tcPDPtr  t1 = tcPDPtr(),
tcPDPtr  t2 = tcPDPtr() 
) const
virtual

Check if the outgoing particles, with the given types and momenta, from a sub-process passes the cuts.

The particles must be given in the rest frame of tha hard sub-process, and the initSubProcess must have been called before. Also the types of the incoming partons, t1 and t2, may be given if availible.

◆ passCuts() [2/4]

bool ThePEG::Cuts::passCuts ( const tcPVector p,
tcPDPtr  t1 = tcPDPtr(),
tcPDPtr  t2 = tcPDPtr() 
) const

Check if the outgoing particles from a sub-process passes the cuts.

The particles must be given in the rest frame of tha hard sub-process, and the initSubProcess must have been called before. Also the types of the incoming partons, t1 and t2, may be given if availible.

◆ passCuts() [3/4]

bool ThePEG::Cuts::passCuts ( const SubProcess sub) const

Check if the incoming and outgoing particles in the given sub-process passes the cuts.

The sub-process must be given in its rest frame, and the initSubProcess must have been called before.

◆ passCuts() [4/4]

bool ThePEG::Cuts::passCuts ( const Collision coll) const

Check if the given collision passes the cuts.

The collision must be given in its rest frame.

◆ persistentInput()

void ThePEG::Cuts::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.

Referenced by isLargerThan().

◆ persistentOutput()

void ThePEG::Cuts::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Referenced by isLargerThan().

◆ yHatMax()

double ThePEG::Cuts::yHatMax ( ) const

The maximum value of the rapidity of the hard sub-process (wrt.

the rest system of the colliding particles).

Referenced by mHatMax().

◆ yHatMin()

double ThePEG::Cuts::yHatMin ( ) const

The minimum value of the rapidity of the hard sub-process (wrt.

the rest system of the colliding particles).

Referenced by mHatMax().

Member Data Documentation

◆ initCuts

ClassDescription<Cuts> ThePEG::Cuts::initCuts
staticprivate

The static object used to initialize the description of this class.

Indicates that this is a concrete class with persistent data.

Definition at line 799 of file Cuts.h.

◆ theCurrentYHat

double ThePEG::Cuts::theCurrentYHat
mutableprivate

The total rapidity of hard sub-process (wrt.

the rest system of the colliding particles so that currentYHat() + Y() gives the true rapidity) of the event being considered.

Definition at line 687 of file Cuts.h.

Referenced by currentYHat().

◆ theYHatMax

double ThePEG::Cuts::theYHatMax
private

The maximum value of the rapidity of the hard sub-process (wrt.

the rest system of the colliding particles).

Definition at line 709 of file Cuts.h.

◆ theYHatMin

double ThePEG::Cuts::theYHatMin
private

The minimum value of the rapidity of the hard sub-process (wrt.

the rest system of the colliding particles).

Definition at line 703 of file Cuts.h.


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