herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
MultiPartonExtractor.h
1// -*- C++ -*-
2#ifndef Herwig_MultiPartonExtractor_H
3#define Herwig_MultiPartonExtractor_H
4//
5// This is the declaration of the MultiPartonExtractor class.
6//
7
8#include "ThePEG/PDF/PartonExtractor.h"
9#include <deque>
10
11namespace Herwig {
12
13using namespace ThePEG;
14
24
25public:
26
31
37 virtual PartonPairVec getPartons(Energy maxEnergy, const cPDPair &,
38 const Cuts &) const;
39
40public:
41
49
55 void persistentInput(PersistentIStream & is, int version);
57
64 static void Init();
65
66protected:
67
72 virtual void addPartons(tPBPtr incoming ,const PDFCuts & cuts,
73 std::deque<tcPDFPtr> pdf ,PartonVector & pbins) const;
74protected:
75
82 virtual IBPtr clone() const;
83
88 virtual IBPtr fullclone() const;
90
91private:
92
98
99
103 vector<PDFPtr> firstPDF_;
104
108 vector<PDFPtr> secondPDF_;
109
110};
111
112}
113
114#endif /* Herwig_MultiPartonExtractor_H */
The MultiPartonExtractor class inherits from the PartonExtractor of ThePEG but allows more control ov...
static void Init()
The standard Init function used to initialize the interfaces.
MultiPartonExtractor & operator=(const MultiPartonExtractor &)=delete
The assignment operator is private and must never be called.
vector< PDFPtr > secondPDF_
PDFBase object to override second PDF.
virtual void addPartons(tPBPtr incoming, const PDFCuts &cuts, std::deque< tcPDFPtr > pdf, PartonVector &pbins) const
Add parton bins to pbins for the given incoming particle and the specified cuts.
MultiPartonExtractor()
The default constructor.
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.
vector< PDFPtr > firstPDF_
PDFBase object to override first PDF.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual PartonPairVec getPartons(Energy maxEnergy, const cPDPair &, const Cuts &) const
Return a vector of possible pairs of parton bins which can be produced within a given maximum total p...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
PDFT pdf(tcPPtr parton) const
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
pair< cPDPtr, cPDPtr > cPDPair