herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::MatchboxDeltaRCut Class Reference

MatchboxDeltaRCut implements cuts related to the separation in the legoplot plane. More...

#include <MatchboxDeltaRCut.h>

Inheritance diagram for Herwig::MatchboxDeltaRCut:

Public Member Functions

double deltaRMin () const
 Return the minimum and maximum allowed legoplot separation.
 
double deltaRMax () const
 
double deltaYMin () const
 Return the minimum and maximum allowed rapidity separation.
 
double deltaYMax () const
 
double deltaPhiMin () const
 Return the minimum and maximum allowed azimuthal separation.
 
double deltaPhiMax () const
 
Ptr< MatcherBase >::tptr firstMatcher () const
 Return the matchers for a pair of particles to cut on. More...
 
Ptr< MatcherBase >::tptr secondMatcher () const
 
Standard constructors and destructors.
 MatchboxDeltaRCut ()
 The default constructor.
 
virtual ~MatchboxDeltaRCut ()
 The destructor.
 
Virtual functions to be overridden by sub-classes.
virtual Energy minDeltaMeasureCuts (tcPDPtr, tcPDPtr) const
 Return the minimum allowed value of the longitudinally invariant $k_\perp$-algorithms distance measure. More...
 
virtual Energy minKTClus (tcPDPtr, tcPDPtr) const
 Return the minimum allowed value of the longitudinally invariant $k_\perp$-algorithms distance measure. More...
 
virtual Energy2 minSij (tcPDPtr, tcPDPtr) const
 Return the minimum allowed squared invariant mass of two outgoing partons of type pi and pj. More...
 
virtual Energy2 minTij (tcPDPtr, tcPDPtr) 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...
 
virtual double minDeltaR (tcPDPtr, tcPDPtr) 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...
 
virtual double minDurham (tcPDPtr, tcPDPtr) const
 Return the minimum allowed value of the Durham $k_\perp$-algorithms distance measure. More...
 
virtual bool passCuts (tcCutsPtr parent, tcPDPtr pitype, tcPDPtr pjtype, LorentzMomentum pi, LorentzMomentum pj, bool inci=false, bool incj=false) const
 Return true if a pair of particles with type pitype and pjtype and momenta pi and pj respectively passes the cuts. More...
 
virtual void describe () const
 Describe the currently active cuts in the log file.
 
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::TwoCutBase
bool passCuts (tcCutsPtr parent, tcPPtr pi, tcPPtr pj, bool inci=false, bool incj=false) const
 
bool passCuts (tcCutsPtr parent, tcPPtr pi, tcPPtr pj, bool inci=false, bool incj=false) const
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
 Named (const Named &)=default
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 

Static Public Member Functions

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

Protected Member Functions

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
 
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
 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 &)
 
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 &)
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Private Member Functions

MatchboxDeltaRCutoperator= (const MatchboxDeltaRCut &)=delete
 The assignment operator is private and must never be called. More...
 

Private Attributes

double theDeltaRMin
 The minimum and maximum allowed legoplot separation.
 
double theDeltaRMax
 
double theDeltaYMin
 The minimum and maximum allowed rapidity separation.
 
double theDeltaYMax
 
double theDeltaPhiMin
 The minimum and maximum allowed azimuthal separation.
 
double theDeltaPhiMax
 
Ptr< MatcherBase >::ptr theFirstMatcher
 Matchers for a pair of particles to cut on. More...
 
Ptr< MatcherBase >::ptr theSecondMatcher
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

MatchboxDeltaRCut implements cuts related to the separation in the legoplot plane.

Author
Christian Reuschle
See also
The interfaces defined for MatchboxDeltaRCut.

Definition at line 31 of file MatchboxDeltaRCut.h.

Member Function Documentation

◆ clone()

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

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

◆ firstMatcher()

Ptr<MatcherBase>::tptr Herwig::MatchboxDeltaRCut::firstMatcher ( ) const
inline

Return the matchers for a pair of particles to cut on.

Only a pair of particles, matching these objects, will be affected.

Definition at line 144 of file MatchboxDeltaRCut.h.

◆ fullclone()

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

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

Returns
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

◆ Init()

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

◆ minDeltaMeasureCuts()

virtual Energy Herwig::MatchboxDeltaRCut::minDeltaMeasureCuts ( tcPDPtr  ,
tcPDPtr   
) const
inlinevirtual

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.

Definition at line 62 of file MatchboxDeltaRCut.h.

References ZERO.

◆ minDeltaR()

virtual double Herwig::MatchboxDeltaRCut::minDeltaR ( tcPDPtr  ,
tcPDPtr   
) const
inlinevirtual

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.

Returns zero.

Implements ThePEG::TwoCutBase.

Definition at line 92 of file MatchboxDeltaRCut.h.

References ZERO.

◆ minDurham()

virtual double Herwig::MatchboxDeltaRCut::minDurham ( tcPDPtr  ,
tcPDPtr   
) const
inlinevirtual

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. Returns zero.

Implements ThePEG::TwoCutBase.

Definition at line 101 of file MatchboxDeltaRCut.h.

References ThePEG::Constants::pi.

◆ minKTClus()

virtual Energy Herwig::MatchboxDeltaRCut::minKTClus ( tcPDPtr  ,
tcPDPtr   
) const
inlinevirtual

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

Returns ZERO.

Implements ThePEG::TwoCutBase.

Definition at line 69 of file MatchboxDeltaRCut.h.

References ZERO.

◆ minSij()

virtual Energy2 Herwig::MatchboxDeltaRCut::minSij ( tcPDPtr  ,
tcPDPtr   
) const
inlinevirtual

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

Returns zero.

Implements ThePEG::TwoCutBase.

Definition at line 76 of file MatchboxDeltaRCut.h.

References ZERO.

◆ minTij()

virtual Energy2 Herwig::MatchboxDeltaRCut::minTij ( tcPDPtr  ,
tcPDPtr   
) const
inlinevirtual

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.

Returns zero.

Implements ThePEG::TwoCutBase.

Definition at line 84 of file MatchboxDeltaRCut.h.

References ZERO.

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ passCuts()

virtual bool Herwig::MatchboxDeltaRCut::passCuts ( tcCutsPtr  parent,
tcPDPtr  pitype,
tcPDPtr  pjtype,
LorentzMomentum  pi,
LorentzMomentum  pj,
bool  inci = false,
bool  incj = false 
) const
virtual

Return true if a pair of particles with type pitype and pjtype and momenta pi and pj respectively passes the cuts.

inci and inj indicates if the corresponding particles are incoming.

Reimplemented from ThePEG::TwoCutBase.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Member Data Documentation

◆ theFirstMatcher

Ptr<MatcherBase>::ptr Herwig::MatchboxDeltaRCut::theFirstMatcher
private

Matchers for a pair of particles to cut on.

Only a pair of particles, matching these objects, will be affected.

Definition at line 218 of file MatchboxDeltaRCut.h.


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