#include <TwoCutBase.h>
Public Member Functions | |
virtual void | describe () const |
Describe the currently active cuts in the log file. | |
Standard constructors and destructors. | |
TwoCutBase () | |
The default constructor. | |
virtual | ~TwoCutBase () |
The destructor. | |
Virtual functions to be overridden by sub-classes. | |
virtual Energy2 | minSij (tcPDPtr pi, tcPDPtr pj) const =0 |
Return the minimum allowed squared invariant mass of two outgoing partons of type pi and pj. | |
virtual Energy2 | minTij (tcPDPtr pi, tcPDPtr po) const =0 |
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. | |
virtual double | minDeltaR (tcPDPtr pi, tcPDPtr pj) const =0 |
Return the minimum allowed value of of two outgoing partons of type pi and pj. | |
virtual Energy | minKTClus (tcPDPtr pi, tcPDPtr pj) const =0 |
Return the minimum allowed value of the longitudinally invariant -algorithms distance measure. | |
virtual double | minDurham (tcPDPtr pi, tcPDPtr pj) const =0 |
Return the minimum allowed value of the Durham -algorithms distance measure. | |
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. | |
bool | passCuts (tcCutsPtr parent, tcPPtr pi, tcPPtr pj, bool inci=false, bool incj=false) const |
Return true if the given pair of particles passes the cuts. | |
Static Public Member Functions | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Private Member Functions | |
TwoCutBase & | operator= (const TwoCutBase &) |
The assignment operator is private and must never be called. | |
Static Private Attributes | |
static AbstractNoPIOClassDescription < TwoCutBase > | initTwoCutBase |
The static object used to initialize the description of this class. |
There are six main virtual functions to be overridden by concrete sub-classes. minsSij(), minTij(), minDeltaR(), minKTClus() and minDurham() returns the minimum allowed values of pre defined kinematical variable. In addition the passCut() function should return true if a pair of particle with a given types and given momenta will pass the cuts.
Definition at line 35 of file TwoCutBase.h.
Return the minimum allowed value of the longitudinally invariant -algorithms distance measure.
This is defined as for two outgoing partons, or simply or 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.
Implemented in ThePEG::KTClus, ThePEG::SimpleDISCut, and ThePEG::MadGraphTwoCut.
Return the minimum allowed value of the Durham -algorithms distance measure.
This is defined as for two outgoing partons.
Implemented in ThePEG::KTClus, ThePEG::SimpleDISCut, and ThePEG::MadGraphTwoCut.
virtual bool ThePEG::TwoCutBase::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 in ThePEG::KTClus, ThePEG::SimpleDISCut, and ThePEG::MadGraphTwoCut.
bool ThePEG::TwoCutBase::passCuts | ( | tcCutsPtr | parent, | |
tcPPtr | pi, | |||
tcPPtr | pj, | |||
bool | inci = false , |
|||
bool | incj = false | |||
) | const |
Return true if the given pair of particles passes the cuts.
inci and inj indicates if the corresponding particles are incoming.
static void ThePEG::TwoCutBase::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.
Reimplemented from ThePEG::Interfaced.
Reimplemented in ThePEG::KTClus, ThePEG::SimpleDISCut, and ThePEG::MadGraphTwoCut.
TwoCutBase& ThePEG::TwoCutBase::operator= | ( | const TwoCutBase & | ) | [private] |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
AbstractNoPIOClassDescription<TwoCutBase> ThePEG::TwoCutBase::initTwoCutBase [static, private] |
The static object used to initialize the description of this class.
Indicates that this is an abstract class with persistent data.
Definition at line 136 of file TwoCutBase.h.