9 #ifndef ThePEG_LuminosityFunction_H 10 #define ThePEG_LuminosityFunction_H 13 #include "ThePEG/Handlers/HandlerBase.h" 14 #include "ThePEG/Handlers/LastXCombInfo.h" 15 #include "ThePEG/Vectors/LorentzRotation.fh" 16 #include "ThePEG/Utilities/Interval.h" 80 virtual double Y()
const;
94 virtual double value(
const cPDPair &,
double l1,
double l2)
const;
103 virtual pair<double,double>
225 static string className() {
return "ThePEG::LuminosityFunction"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
Energy beamEMaxA() const
The maximum energy of the beam entering along the positive z-axis.
virtual LorentzRotation getBoost() const
Return the rotation needed to transform from the collision cm system to the labotatory system...
virtual pair< double, double > generateLL(const double *r, double &jacobian) const
Generate energy fractions l1 and l2 ( ) given 'nDim()' random numbers in the range ]0...
virtual bool canHandle(const cPDPair &) const
Return true if this luminosity function can actually handle a given pair of incoming particles...
The EventHandler is the base class used to implement event handlers in ThePEG.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ClassTraitsType is an empty, non-polymorphic, base class.
The LuminosityFunction describes the momentum distribution of the incoming beams in an experiment...
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...
LastXCombInfo is a templated class giving easy access to the information in an XComb object...
void select(tXCombPtr)
Set information about the selected XComb.
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
This is the main namespace within which all identifiers in ThePEG are declared.
virtual Energy maximumCMEnergy() const
Return the maximum possible center of mass energy for an event.
static ClassDescription< LuminosityFunction > initLuminosityFunction
Describe an abstract class with persistent data.
QTY< 0, 1, 0 >::Type Energy
Energy.
virtual double value(const cPDPair &, double l1, double l2) const
The value of the luminosity function for the given particle types for the given energy fractions l1 a...
double jacobian() const
Get the last jacobian obtained when generating the kinematics for the call to dSigHatDR.
static void Init()
Standard Init function used to initialize the interface.
RCPtr is a reference counted (smart) pointer.
Energy theBeamEMaxB
The maximum energy of the beam entering along the negative z-axis.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
HandlerBase is an abstract base class derived from the Interfaced class via the HandlerBaseT class ad...
virtual double Y() const
Return the rapidity of the colliding particles (at the maximum energy) in the laboratory system...
void beamEMaxB(Energy x)
The maximum energy of the beam entering along the negative z-axis.
The default concrete implementation of ClassTraitsBase.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
void beamEMaxA(Energy x)
The maximum energy of the beam entering along the positive z-axis.
pair< cPDPtr, cPDPtr > cPDPair
A pair of pointers to const ParticleData objects.
LuminosityFunction(Energy a=45.6 *GeV, Energy b=45.6 *GeV)
Default constructor.
Energy theBeamEMaxA
The maximum energy of the beam entering along the positive z-axis.
Energy beamEMaxB() const
The maximum energy of the beam entering along the negative z-axis.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual int nDim(const cPDPair &) const
How many random numbers are needed to generate a phase space point? Default is zero in which means th...
BaseClassTraits describes the base classes of the templated class.
LuminosityFunction & operator=(const LuminosityFunction &)
Private and non-existent assignment operator.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...