herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
IntrinsicPtGenerator.h
1// -*- C++ -*-
2//
3// IntrinsicPtGenerator.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4// Copyright (C) 2002-2019 The Herwig Collaboration
5//
6// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef HERWIG_IntrinsicPtGenerator_H
10#define HERWIG_IntrinsicPtGenerator_H
11//
12// This is the declaration of the IntrinsicPtGenerator class.
13//
14
15#include "ThePEG/Handlers/HandlerBase.h"
16#include "ThePEG/Vectors/LorentzRotation.h"
17
18namespace Herwig {
19
20using namespace ThePEG;
21
33
34public:
35
40
41public:
42
50 PList& intermediates);
51
52public:
53
61
67 void persistentInput(PersistentIStream & is, int version);
69
76 static void Init();
77
78protected:
79
86 virtual IBPtr clone() const;
87
92 virtual IBPtr fullclone() const;
94
95
96// If needed, insert declarations of virtual function defined in the
97// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
98
99private:
100
106
112
113private:
114
120
126
127};
128
129}
130
131#include "ThePEG/Utilities/ClassTraits.h"
132
133namespace ThePEG {
134
139template <>
140struct BaseClassTrait<Herwig::IntrinsicPtGenerator,1> {
142 typedef HandlerBase NthBase;
143};
144
147template <>
148struct ClassTraits<Herwig::IntrinsicPtGenerator>
149 : public ClassTraitsBase<Herwig::IntrinsicPtGenerator> {
151 static string className() { return "Herwig::IntrinsicPtGenerator"; }
159 static string library() { return "HwDipoleShower.so"; }
160};
161
164}
165
166#endif /* HERWIG_IntrinsicPtGenerator_H */
IntrinsicPtGenerator generates intrinsic pt for massless incoming partons in a shower independent way...
static void Init()
The standard Init function used to initialize the interfaces.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
IntrinsicPtGenerator()
The default constructor.
Energy theSeaIntrinsicPtScale
The mean of the Gaussian distribution for the intrinsic pt of sea partons.
static ClassDescription< IntrinsicPtGenerator > initIntrinsicPtGenerator
The static object used to initialize the description of this class.
IntrinsicPtGenerator & operator=(const IntrinsicPtGenerator &)=delete
The assignment operator is private and must never be called.
virtual IBPtr clone() const
Make a simple clone of this object.
LorentzRotation kick(PPair &in, PList &intermediates)
Generate intrinsic pt for the given incoming partons and return the transformation to be applied on t...
Energy theValenceIntrinsicPtScale
The mean of the Gaussian distribution for the intrinsic pt of valence partons.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
-*- C++ -*-
pair< PPtr, PPtr > PPair
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
list< PPtr > PList
static string className()
static string library()