Herwig 7.3.0
|
DipoleSplittingReweight is used by the dipole shower to reweight splittings from a given dipole splitting kernel. More...
#include <DipoleSplittingReweight.h>
Public Member Functions | |
Standard constructors and destructors. | |
DipoleSplittingReweight () | |
The default constructor. | |
virtual | ~DipoleSplittingReweight () |
The destructor. | |
virtual bool | firstInteraction () const |
Return true, if the reweighting should be applied to the first interaction. | |
virtual bool | secondaryInteractions () const |
Return true, if the reweighting should be applied to the secondary interactions. | |
void | updateCurrentHandler () |
Update the pointer to the currently active dipole shower handler object. | |
Ptr< DipoleShowerHandler >::tptr | currentHandler () const |
Return the pointer to the currently active dipole shower handler object. | |
virtual double | evaluate (const DipoleSplittingInfo &) const =0 |
Return the reweighting factor for the given splitting type. | |
virtual double | hint (const DipoleSplittingInfo &) const |
Return an enhancement hint for the sampling of the un-reweighted splitting kernel. | |
virtual bool | hintOnly (const DipoleSplittingInfo &) const |
Return true, if the reweight can be entirely absorbed into the hint. | |
virtual void | reweightFactor (const double) |
Set the factor in front of enhance used by the veto algorithm. | |
virtual void | negativeScaling (const double) |
Scaling factor for negative reweights. | |
![]() | |
double | rnd () const |
double | rnd (double xu) const |
double | rnd (double xl, double xu) const |
bool | rndbool () const |
bool | rndbool (double p) const |
bool | rndbool (double p1, double p2) const |
int | rndsign (double p1, double p2, double p3) const |
int | rnd2 (double p0, double p1) const |
int | rnd3 (double p0, double p1, double p2) const |
int | rnd4 (double p0, double p1, double p2, double p3) const |
long | irnd (long xu=2) const |
long | irnd (long xl, long xu) const |
const StandardModelBase & | SM () const |
tSMPtr | standardModel () const |
![]() | |
virtual bool | defaultInit () |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
![]() | |
string | fullName () const |
string | name () const |
string | path () const |
string | comment () const |
void | setup (istream &is) |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
virtual IBPtr | fullclone () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
virtual void | debugme () const |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
virtual IBPtr | fullclone () const |
![]() | |
void | debug () const |
virtual void | debugme () const |
![]() | |
CounterType | referenceCount () const |
![]() | |
Named (const string &newName=string()) | |
Named (const Named &)=default | |
const string & | name () const |
bool | operator== (const Named &other) const |
bool | operator< (const Named &other) const |
Functions used by the persistent I/O system. | |
static AbstractClassDescription< DipoleSplittingReweight > | initDipoleSplittingReweight |
The static object used to initialize the description of this class. | |
Ptr< DipoleShowerHandler >::tptr | theCurrentHandler |
A pointer to the currently active dipole shower handler object. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
DipoleSplittingReweight & | operator= (const DipoleSplittingReweight &)=delete |
The assignment operator is private and must never be called. | |
Additional Inherited Members | |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
initializing | |
uninitialized | |
initialized | |
runready | |
![]() | |
const unsigned long | uniqueId |
![]() | |
void | reporeg (IBPtr object, string name) const |
bool | setDefaultReference (PtrT &ptr, string classname, string objectname) |
Interfaced (const string &newName) | |
Interfaced (const Interfaced &i) | |
void | setGenerator (tEGPtr generator) |
![]() | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
virtual IBPtr | clone () const=0 |
InterfacedBase (string newName) | |
InterfacedBase (const InterfacedBase &i) | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
![]() | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
![]() | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
![]() | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
DipoleSplittingReweight is used by the dipole shower to reweight splittings from a given dipole splitting kernel.
Definition at line 34 of file DipoleSplittingReweight.h.
|
pure virtual |
Return the reweighting factor for the given splitting type.
Implemented in Herwig::ColourMatrixElementCorrection.
|
inlinevirtual |
Return true, if the reweighting should be applied to the first interaction.
Definition at line 57 of file DipoleSplittingReweight.h.
|
inlinevirtual |
Return an enhancement hint for the sampling of the un-reweighted splitting kernel.
Reimplemented in Herwig::ColourMatrixElementCorrection.
Definition at line 84 of file DipoleSplittingReweight.h.
|
inlinevirtual |
Return true, if the reweight can be entirely absorbed into the hint.
A possible detuning will be switched off.
Reimplemented in Herwig::ColourMatrixElementCorrection.
Definition at line 92 of file DipoleSplittingReweight.h.
|
static |
The standard Init function used to initialize the interfaces.
Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.
|
inlinevirtual |
Scaling factor for negative reweights.
Reimplemented in Herwig::ColourMatrixElementCorrection.
Definition at line 106 of file DipoleSplittingReweight.h.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::DipoleSplittingReweight::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void Herwig::DipoleSplittingReweight::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inlinevirtual |
Set the factor in front of enhance used by the veto algorithm.
Reimplemented in Herwig::ColourMatrixElementCorrection.
Definition at line 99 of file DipoleSplittingReweight.h.
|
inlinevirtual |
Return true, if the reweighting should be applied to the secondary interactions.
Definition at line 63 of file DipoleSplittingReweight.h.
|
staticprivate |
The static object used to initialize the description of this class.
Indicates that this is a concrete class with persistent data.
Definition at line 145 of file DipoleSplittingReweight.h.
|
private |
A pointer to the currently active dipole shower handler object.
Definition at line 156 of file DipoleSplittingReweight.h.