ThePEG::MadGraphOneCut Class Reference

Objects of the MadGraphOneCut class can be created automatically by the MadGraphReader class when scanning event files for information about cuts. More...

#include <MadGraphOneCut.h>

Inheritance diagram for ThePEG::MadGraphOneCut:

ThePEG::OneCutBase ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted

List of all members.

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

MadGraphOneCutoperator= (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.


Detailed Description

Objects of the MadGraphOneCut class can be created automatically by the MadGraphReader class when scanning event files for information about cuts.

It is also possible to create objects by hand and use it as any other OneCutBase object.

See also:
The interfaces defined for MadGraphOneCut.

Definition at line 28 of file MadGraphOneCut.h.


Member Enumeration Documentation

Enumerate the different kinds of cuts made by MadGraph.

Enumerator:
PT  The minimum transverse momentum of a particle.

ETA  The maximum (absolute value of) pseudo-rapidity of a particle.

XPT  The minimum transverse momentum of the particle with largest transverse momentum.

Definition at line 35 of file MadGraphOneCut.h.

Enumerate the types of particles the cut is made on.

Enumerator:
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.


Constructor & Destructor Documentation

ThePEG::MadGraphOneCut::MadGraphOneCut ( CutType  t,
PType  p,
double  c 
) [inline]

The constructor used by the MadGraphReader.

Parameters:
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.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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.

Returns:
a pointer to the new 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.

Returns:
a pointer to the new object.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:43:10 2010 for ThePEG by  doxygen 1.5.5