9 #ifndef THEPEG_OneCutBase_H
10 #define THEPEG_OneCutBase_H
15 #include "ThePEG/Interface/Interfaced.h"
16 #include "OneCutBase.fh"
122 virtual bool passCuts(tcCutsPtr parent,
166 #include "ThePEG/Utilities/ClassTraits.h"
175 struct BaseClassTrait<OneCutBase,1> {
183 struct ClassTraits<OneCutBase>
184 :
public ClassTraitsBase<OneCutBase> {
186 static string className() {
return "ThePEG::OneCutBase"; }
static AbstractNoPIOClassDescription< OneCutBase > initOneCutBase
The static object used to initialize the description of this class.
virtual double minRapidityMax(tcPDPtr p) const
Return the minimum allowed rapidity of an outgoing parton of the given type.
virtual double minMaxEta(tcPDPtr p) const
Return the minimum allowed pseudo-rapidity of the outgoing parton of the given type with the maximum ...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
virtual Energy minKT(tcPDPtr p) const =0
Return the minimum allowed value of the transverse momentum of an outgoing parton.
This is the main namespace within which all identifiers in ThePEG are declared.
QTY< 0, 1, 0 >::Type Energy
Energy.
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
virtual ~OneCutBase()
The destructor.
virtual Energy minMaxKT(tcPDPtr p) const
Return the minimum allowed value of the transverse momentum of the outgoing parton with the lagrest t...
virtual void describe() const
Describe the currently active cuts in the log file.
OneCutBase()
The default constructor.
virtual double minEta(tcPDPtr p) const =0
Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type.
virtual bool passCuts(tcCutsPtr parent, tcPDPtr ptype, LorentzMomentum p) const
Return true if a particle with type ptype and momentum p passes the cuts.
The Interfaced class is derived from the InterfacedBase class adding a couple of things particular to...
virtual double maxEta(tcPDPtr p) const =0
Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type.
OneCutBase & operator=(const OneCutBase &)
The assignment operator is private and must never be called.
virtual double maxMinEta(tcPDPtr p) const
Return the maximum allowed pseudo-rapidity of the outgoing parton of the given type with the minimum ...
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
virtual double maxRapidityMin(tcPDPtr p) const
Return the maximum allowed rapidity of an outgoing parton of the given type.
This class corresponds to a kinematical cut to be made on a single outgoing parton from a hard sub-pr...
static void Init()
The standard Init function used to initialize the interfaces.