#include <OneCutBase.h>
Public Member Functions | |
virtual void | describe () const |
Describe the currently active cuts in the log file. | |
Standard constructors and destructors. | |
OneCutBase () | |
The default constructor. | |
virtual | ~OneCutBase () |
The destructor. | |
Virtual functions to be overridden by sub-classes. | |
virtual Energy | minKT (tcPDPtr p) const =0 |
Return the minimum allowed value of the transverse momentum of an outgoing parton. | |
virtual double | minEta (tcPDPtr p) const =0 |
Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type. | |
virtual double | maxEta (tcPDPtr p) const =0 |
Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type. | |
virtual Energy | minMaxKT (tcPDPtr p) const |
Return the minimum allowed value of the transverse momentum of the outgoing parton with the lagrest transverse momentum. | |
virtual double | minMaxEta (tcPDPtr p) const |
Return the minimum allowed pseudo-rapidity of the outgoing parton of the given type with the maximum pseudo-rapidity. | |
virtual double | maxMinEta (tcPDPtr p) const |
Return the maximum allowed pseudo-rapidity of the outgoing parton of the given type with the minimum pseudo-rapidity. | |
virtual bool | passCuts (tcCutsPtr parent, tcPDPtr ptype, LorentzMomentum p) const |
Return true if a particle with type ptype and momentum p passes the cuts. | |
bool | passCuts (tcCutsPtr parent, tcPPtr p) const |
Return true if the given particle passes the cuts. | |
Static Public Member Functions | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Private Member Functions | |
OneCutBase & | operator= (const OneCutBase &) |
The assignment operator is private and must never be called. | |
Static Private Attributes | |
static AbstractNoPIOClassDescription < OneCutBase > | initOneCutBase |
The static object used to initialize the description of this class. |
There are four main virtual functions which must be overridden by concrete sub-classes. minKT() should return the minimum allowed transverse momentum of a given type, while minEta() and maxEta() should return the minimum and maximum allowed pseudo-rapidity for a particle of a given type as measured in the lab-system. Note that when applied in the rest frame of a hard sub-process, the transformation from the lab frame is assumed to be a simple boost along the z-axis. In addition the passCut() function should return true if a particle with a given type and given momentum will pass the cuts.
Definition at line 39 of file OneCutBase.h.
virtual double ThePEG::OneCutBase::minEta | ( | tcPDPtr | p | ) | const [pure virtual] |
Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type.
The pseudo-rapidity is measured in the lab system.
Implemented in ThePEG::KTRapidityCut, ThePEG::SimpleKTCut, and ThePEG::MadGraphOneCut.
virtual double ThePEG::OneCutBase::maxEta | ( | tcPDPtr | p | ) | const [pure virtual] |
Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type.
The pseudo-rapidity is measured in the lab system.
Implemented in ThePEG::KTRapidityCut, ThePEG::SimpleKTCut, and ThePEG::MadGraphOneCut.
virtual Energy ThePEG::OneCutBase::minMaxKT | ( | tcPDPtr | p | ) | const [virtual] |
Return the minimum allowed value of the transverse momentum of the outgoing parton with the lagrest transverse momentum.
This version simply returns minKt().
Reimplemented in ThePEG::MadGraphOneCut.
virtual double ThePEG::OneCutBase::minMaxEta | ( | tcPDPtr | p | ) | const [virtual] |
Return the minimum allowed pseudo-rapidity of the outgoing parton of the given type with the maximum pseudo-rapidity.
The pseudo-rapidity is measured in the lab system. This version simply returns minEta().
virtual double ThePEG::OneCutBase::maxMinEta | ( | tcPDPtr | p | ) | const [virtual] |
Return the maximum allowed pseudo-rapidity of the outgoing parton of the given type with the minimum pseudo-rapidity.
. The pseudo-rapidity is measured in the lab system. This version simply returns maxEta().
virtual bool ThePEG::OneCutBase::passCuts | ( | tcCutsPtr | parent, | |
tcPDPtr | ptype, | |||
LorentzMomentum | p | |||
) | const [virtual] |
Return true if a particle with type ptype and momentum p passes the cuts.
The parent contains information about the kinematics of the hard sub-process.
Reimplemented in ThePEG::KTRapidityCut, ThePEG::SimpleKTCut, and ThePEG::MadGraphOneCut.
Return true if the given particle passes the cuts.
The parent contains information about the kinematics of the hard sub-process.
static void ThePEG::OneCutBase::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::KTRapidityCut, ThePEG::SimpleKTCut, and ThePEG::MadGraphOneCut.
OneCutBase& ThePEG::OneCutBase::operator= | ( | const OneCutBase & | ) | [private] |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
AbstractNoPIOClassDescription<OneCutBase> ThePEG::OneCutBase::initOneCutBase [static, private] |
The static object used to initialize the description of this class.
Indicates that this is a concrete class with persistent data.
Definition at line 140 of file OneCutBase.h.