9 #ifndef THEPEG_SimpleKTCut_H
10 #define THEPEG_SimpleKTCut_H
15 #include "ThePEG/Cuts/OneCutBase.h"
78 virtual bool passCuts(tcCutsPtr parent,
202 #include "ThePEG/Utilities/ClassTraits.h"
211 struct BaseClassTrait<SimpleKTCut,1> {
219 struct ClassTraits<SimpleKTCut>
220 :
public ClassTraitsBase<SimpleKTCut> {
222 static string className() {
return "ThePEG::SimpleKTCut"; }
226 static string library() {
return "SimpleKTCut.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Energy theMinKT
The minimum allowed value of the transverse momentum of an outgoing parton.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
This is the main namespace within which all identifiers in ThePEG are declared.
virtual double minEta(tcPDPtr p) const
Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type.
static void Init()
The standard Init function used to initialize the interfaces.
SimpleKTCut & operator=(const SimpleKTCut &)
The assignment operator is private and must never be called.
double maxEtaMin() const
Helper function used by the interface.
QTY< 0, 1, 0 >::Type Energy
Energy.
double theMaxEta
The maximum allowed pseudo-rapidity of an outgoing parton.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Energy maxKTMin() const
Helper function used by the interface.
RCPtr is a reference counted (smart) pointer.
virtual void describe() const
Describe the currently active cuts in the log file.
Energy theMaxKT
The maximum allowed value of the transverse momentum of an outgoing parton.
virtual ~SimpleKTCut()
The destructor.
virtual bool passCuts(tcCutsPtr parent, tcPDPtr ptype, LorentzMomentum p) const
Return true if a particle with type ptype and momentum p passes the cuts.
virtual Energy minKT(tcPDPtr p) const
Return the minimum allowed value of the transverse momentum of an outgoing parton.
static string className()
Return the name of class T.
double minEtaMax() const
Helper function used by the interface.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
double theMinEta
The minimum allowed pseudo-rapidity of an outgoing parton.
Energy minKTMax() const
Helper function used by the interface.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
This is a very simple concrete sub-class of OneCutbase simply requiring a minimum transverse momentum...
PMPtr theMatcher
If non-null only particles matching this object will be affected by this cut.
virtual IBPtr clone() const
Make a simple clone of this object.
This class corresponds to a kinematical cut to be made on a single outgoing parton from a hard sub-pr...
SimpleKTCut(Energy minKT=10 *GeV)
The default constructor.
static ClassDescription< SimpleKTCut > initSimpleKTCut
The static object used to initialize the description of this class.
virtual double maxEta(tcPDPtr p) const
Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type.