herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
PTCutOff.h
1// -*- C++ -*-
2#ifndef Herwig_PTCutOff_H
3#define Herwig_PTCutOff_H
4//
5// This is the declaration of the PTCutOff class.
6//
7
8#include "SudakovCutOff.h"
9
10namespace Herwig {
11
12using namespace ThePEG;
13
20class PTCutOff: public SudakovCutOff {
21
22public:
23
27 virtual const vector<Energy> & virtualMasses(const IdList & ids);
28
32 virtual Energy pTmin() { return pTmin_; }
33
37 virtual Energy2 pT2min() { return pT2min_; }
38
39
40public:
41
49
55 void persistentInput(PersistentIStream & is, int version);
57
64 static void Init();
65
66protected:
67
75 virtual void doinit();
77
78protected:
79
86 virtual IBPtr clone() const;
87
92 virtual IBPtr fullclone() const;
94
95private:
96
101 PTCutOff & operator=(const PTCutOff &) = delete;
102
103private:
104
112 Energy pTmin_ = 1_GeV;
113
117 Energy2 pT2min_ = 1_GeV2;
119
120
121};
122
123}
124
125#endif /* Herwig_PTCutOff_H */
Here is the documentation of the PTCutOff class.
Definition: PTCutOff.h:20
static void Init()
The standard Init function used to initialize the interfaces.
Energy pTmin_
Parameters for the cut-off.
Definition: PTCutOff.h:112
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
virtual Energy pTmin()
Default pTmin.
Definition: PTCutOff.h:32
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual const vector< Energy > & virtualMasses(const IdList &ids)
Calculate the virtual masses for a branchings.
PTCutOff & operator=(const PTCutOff &)=delete
The assignment operator is private and must never be called.
Energy2 pT2min_
The square of the minimum .
Definition: PTCutOff.h:117
virtual Energy2 pT2min()
Default pT2min.
Definition: PTCutOff.h:37
virtual IBPtr clone() const
Make a simple clone of this object.
The SudakovCutOff class is the base class for cut-offs in the Sudakov.
Definition: SudakovCutOff.h:22
-*- C++ -*-
vector< tcPDPtr > IdList
Definition of the IdList for branchings.
Definition: ShowerConfig.h:64
ThePEG::Ptr< InterfacedBase >::pointer IBPtr