herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
11 namespace Herwig {
12 
13 using namespace ThePEG;
14 
24 
25 public:
26 
31 
37  virtual PartonPairVec getPartons(Energy maxEnergy, const cPDPair &,
38  const Cuts &) const;
39 
40 public:
41 
48  void persistentOutput(PersistentOStream & os) const;
49 
55  void persistentInput(PersistentIStream & is, int version);
57 
64  static void Init();
65 
66 protected:
67 
72  virtual void addPartons(tPBPtr incoming ,const PDFCuts & cuts,
73  std::deque<tcPDFPtr> pdf ,PartonVector & pbins) const;
74 protected:
75 
82  virtual IBPtr clone() const;
83 
88  virtual IBPtr fullclone() const;
90 
91 private:
92 
97  MultiPartonExtractor & operator=(const MultiPartonExtractor &);
98 
99 
103  vector<PDFPtr> firstPDF_;
104 
108  vector<PDFPtr> secondPDF_;
109 
110 };
111 
112 }
113 
114 #endif /* Herwig_MultiPartonExtractor_H */
vector< PDFPtr > secondPDF_
PDFBase object to override second PDF.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< PDFPtr > firstPDF_
PDFBase object to override first PDF.
-*- C++ -*-
pair< cPDPtr, cPDPtr > cPDPair
The MultiPartonExtractor class inherits from the PartonExtractor of ThePEG but allows more control ov...
MultiPartonExtractor()
The default constructor.