9 #ifndef ThePEG_PartonExtractor_H
10 #define ThePEG_PartonExtractor_H
13 #include "ThePEG/Handlers/HandlerBase.h"
14 #include "ThePEG/Handlers/LastXCombInfo.h"
15 #include "ThePEG/PDF/PartonBin.h"
16 #include "ThePEG/PDF/PartonBinInstance.h"
17 #include "ThePEG/PDF/PDFBase.h"
18 #include "ThePEG/PDT/ParticleData.h"
19 #include "PartonExtractor.xh"
114 virtual pair<int,int>
nDims(
const PBPair & pbins);
126 const double * r1,
const double * r2);
140 const double * r1,
const double * r2,
141 bool mepartons =
false);
150 pair<bool,bool> noLastPDF = make_pair(
false,
false));
181 bool side1,
bool side2)
const;
235 bool haveMEPartons =
false);
241 bool noLastPDF =
false);
249 tStepPtr step,
bool boost =
true)
const;
334 template <
typename Iterator>
336 Iterator first, Iterator last)
const {
337 for ( ; first != last; ++first ) {
338 if ( *first != parton && (**first).hasColour(anti) &&
339 !(**first).colourLine(anti) ) {
340 line->addColoured(*first, anti);
344 throw RemColException(*
this);
442 struct ClassTraits<PartonExtractor>:
public ClassTraitsBase<PartonExtractor> {
443 static string className() {
return "ThePEG::PartonExtractor"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
The PDFCuts class is used to specify cuts on scale and momentum fractions for which a PDFBase object ...
ClassTraitsType is an empty, non-polymorphic, base class.
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...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
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.
pair< tPPtr, tPPtr > tPPair
A pair of transient pointers to const Particle objects.
The XComb class stores all information about the generation of a hard sub-proces for a given pair of ...
QTY< 0, 1, 0 >::Type Energy
Energy.
PDFT pdf(tcPPtr parton) const
Return the parton density used to extract the given parton.
pair< PBIPtr, PBIPtr > PBIPair
A pair of pointers to PartonBinInstance objects.
RCPtr is a reference counted (smart) pointer.
PartonBinInstance is used to store information about the generation of a given parton extraction for ...
HandlerBase is an abstract base class derived from the Interfaced class via the HandlerBaseT class ad...
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).
pair< cPDPtr, cPDPtr > cPDPair
A pair of pointers to const ParticleData objects.
vector< tPPtr > tPVector
A vector of transient pointers to Particle objects.
BaseClassTraits describes the base classes of the templated class.
Cuts is a class for implementing kinematical cuts in ThePEG.