#include <MadGraphOneCut.h>
Public Types | |
enum | CutType { PT, ETA, XPT } |
Enumerate the different kinds of cuts made by MadGraph. More... | |
enum | PType { JET, LEP, PHO, BOT } |
Enumerate the types of particles the cut is made on. More... | |
Public Member Functions | |
Standard constructors and destructors. | |
MadGraphOneCut () | |
The default constructor. | |
MadGraphOneCut (CutType t, PType p, double c) | |
The constructor used by the MadGraphReader. | |
Virtual functions mandated by the base class. | |
virtual Energy | minKT (tcPDPtr p) const |
Return the minimum allowed value of the transverse momentum of an outgoing parton. | |
virtual double | minEta (tcPDPtr p) const |
Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type. | |
virtual double | maxEta (tcPDPtr p) const |
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 bool | passCuts (tcCutsPtr parent, tcPDPtr ptype, LorentzMomentum p) const |
Return true if a particle with type ptype and momentum p passes the cuts. | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
Static Public Member Functions | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Protected Member Functions | |
bool | checkType (tcPDPtr p) const |
Returns true if cut should be applied to a particle of type p. | |
Clone Methods. | |
virtual IBPtr | clone () const |
Make a simple clone of this object. | |
virtual IBPtr | fullclone () const |
Make a clone of this object, possibly modifying the cloned object to make it sane. | |
Private Member Functions | |
MadGraphOneCut & | operator= (const MadGraphOneCut &) |
The assignment operator is private and must never be called. | |
Private Attributes | |
CutType | cutType |
The type of this cut. | |
PType | particleType |
The type of particles this cut applies to. | |
double | theCut |
The value of the cut to be applied. | |
Static Private Attributes | |
static ClassDescription < MadGraphOneCut > | initMadGraphOneCut |
The static object used to initialize the description of this class. |
It is also possible to create objects by hand and use it as any other OneCutBase object.
Definition at line 28 of file MadGraphOneCut.h.
Enumerate the different kinds of cuts made by MadGraph.
Definition at line 35 of file MadGraphOneCut.h.
Enumerate the types of particles the cut is made on.
JET |
The cut applies only to coloured particles.
|
LEP |
The cut applies only to leptons.
|
PHO |
The cut applies only to photons.
|
BOT |
The cut applies only to bottom quarks.
|
Definition at line 45 of file MadGraphOneCut.h.
The constructor used by the MadGraphReader.
t | is the type of the cut. | |
p | is the type of particles the cut is applied to. | |
c | is the value of the cut (in units of GeV where applicable). |
Definition at line 67 of file MadGraphOneCut.h.
virtual double ThePEG::MadGraphOneCut::minEta | ( | tcPDPtr | p | ) | const [virtual] |
Return the minimum allowed pseudo-rapidity of an outgoing parton of the given type.
The pseudo-rapidity is measured in the lab system.
Implements ThePEG::OneCutBase.
virtual double ThePEG::MadGraphOneCut::maxEta | ( | tcPDPtr | p | ) | const [virtual] |
Return the maximum allowed pseudo-rapidity of an outgoing parton of the given type.
The pseudo-rapidity is measured in the lab system.
Implements ThePEG::OneCutBase.
virtual Energy ThePEG::MadGraphOneCut::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 from ThePEG::OneCutBase.
virtual bool ThePEG::MadGraphOneCut::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 from ThePEG::OneCutBase.
void ThePEG::MadGraphOneCut::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::Interfaced.
void ThePEG::MadGraphOneCut::persistentInput | ( | PersistentIStream & | is, | |
int | version | |||
) |
Function used to read in object persistently.
is | the persistent input stream read from. | |
version | the version number of the object when written. |
Reimplemented from ThePEG::Interfaced.
static void ThePEG::MadGraphOneCut::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::OneCutBase.
virtual IBPtr ThePEG::MadGraphOneCut::clone | ( | ) | const [protected, virtual] |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
virtual IBPtr ThePEG::MadGraphOneCut::fullclone | ( | ) | const [protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
MadGraphOneCut& ThePEG::MadGraphOneCut::operator= | ( | const MadGraphOneCut & | ) | [private] |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
ClassDescription<MadGraphOneCut> ThePEG::MadGraphOneCut::initMadGraphOneCut [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 184 of file MadGraphOneCut.h.