Herwig 7.3.0
|
This class is responsible for creating, at the beginning of the Run, all the SplittingFunction objects and the corresponding SudakovFormFactor objects, and then of the generation of splittings (radiation emissions) during the event. More...
#include <SplittingGenerator.h>
Public Member Functions | |
Standard constructors and destructors. | |
SplittingGenerator () | |
The default constructor. | |
Branching | chooseForwardBranching (ShowerParticle &particle, double enhance, ShowerInteraction type) const |
Methods to select the next branching and reconstruct the kinematics. | |
Branching | chooseDecayBranching (ShowerParticle &particle, const ShowerParticle::EvolutionScales &maxScales, Energy minmass, double enhance, ShowerInteraction type) const |
Select the next branching of a particles for the initial-state shower in the particle's decay. | |
Branching | chooseBackwardBranching (ShowerParticle &particle, PPtr beamparticle, double enhance, Ptr< BeamParticleData >::transient_const_pointer beam, ShowerInteraction type, tcPDFPtr, Energy) const |
Choose a new backward branching for a space-like particle. | |
string | addFinalSplitting (string arg) |
Methods to parse the information from the input files to create the branchings. | |
string | addInitialSplitting (string arg) |
Add an initial-state splitting. | |
string | deleteFinalSplitting (string arg) |
Add a final-state splitting. | |
string | deleteInitialSplitting (string arg) |
Add an initial-state splitting. | |
const BranchingList & | finalStateBranchings () const |
Access to the splittings. | |
const BranchingList & | initialStateBranchings () const |
Access the initial-state branchings. | |
Public Member Functions inherited from ThePEG::Interfaced | |
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 |
Public Member Functions inherited from ThePEG::InterfacedBase | |
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 |
Public Member Functions inherited from ThePEG::Base | |
void | debug () const |
virtual void | debugme () const |
Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
CounterType | referenceCount () const |
Public Member Functions inherited from ThePEG::Named | |
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 |
Protected Member Functions | |
Clone Methods. | |
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. | |
Protected Member Functions inherited from ThePEG::Interfaced | |
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) |
Protected Member Functions inherited from ThePEG::InterfacedBase | |
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 &) |
Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Protected Member Functions inherited from ThePEG::Named | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
Standard Interfaced functions. | |
BranchingList | _fbranchings |
List of the branchings and the appropriate Sudakovs for forward branchings. | |
BranchingList | _bbranchings |
Lists of the branchings and the appropriate Sudakovs for backward branchings. | |
double | _deTuning |
The detuning parameter. | |
virtual void | rebind (const TranslationMap &trans) |
Rebind pointer to other Interfaced objects. | |
virtual IVector | getReferences () |
Return a vector of all pointers to Interfaced objects used in this object. | |
void | addToMap (const IdList &ids, const SudakovPtr &sudakov, bool final) |
Add a branching to the map. | |
void | deleteFromMap (const IdList &ids, const SudakovPtr &sudakov, bool final) |
Remove a branching to the map. | |
void | finalStateBasisVectors (ShowerParticle particle, Lorentz5Momentum &p, Lorentz5Momentum &n) const |
Obtain the reference vectors for a final-state particle. | |
string | addSplitting (string in, bool final) |
Add a splitting. | |
string | deleteSplitting (string in, bool final) |
Delete a splitting. | |
SplittingGenerator & | operator= (const SplittingGenerator &)=delete |
The assignment operator is private and must never be called. | |
Functions used by the persistent I/O system. | |
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. | |
Additional Inherited Members | |
Public Types inherited from ThePEG::InterfacedBase | |
enum | InitState |
Public Types inherited from ThePEG::Pointer::ReferenceCounted | |
typedef unsigned int | CounterType |
Static Public Member Functions inherited from ThePEG::Interfaced | |
static void | Init () |
Static Public Member Functions inherited from ThePEG::InterfacedBase | |
static void | Init () |
Static Public Member Functions inherited from ThePEG::Base | |
static void | Init () |
Public Attributes inherited from ThePEG::InterfacedBase | |
initializing | |
uninitialized | |
initialized | |
runready | |
Public Attributes inherited from ThePEG::Pointer::ReferenceCounted | |
const unsigned long | uniqueId |
Static Protected Member Functions inherited from ThePEG::Interfaced | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
This class is responsible for creating, at the beginning of the Run, all the SplittingFunction objects and the corresponding SudakovFormFactor objects, and then of the generation of splittings (radiation emissions) during the event.
Many switches are defined in this class which allowed the user to turn on/off:
These switches are useful mainly for debugging, but eventually can also be used for a "quick and dirty" estimation of systematic errors.
In the future it should be possible to implement in this class
Definition at line 55 of file SplittingGenerator.h.
|
inline |
The default constructor.
Definition at line 64 of file SplittingGenerator.h.
|
inline |
Methods to parse the information from the input files to create the branchings.
Add a final-state splitting
Definition at line 151 of file SplittingGenerator.h.
References addSplitting().
|
inline |
Add an initial-state splitting.
Definition at line 156 of file SplittingGenerator.h.
References addSplitting().
|
private |
Add a splitting.
in | string to be parsed |
final | Whether this is an initial- or final-state branching |
Referenced by addFinalSplitting(), and addInitialSplitting().
|
private |
Add a branching to the map.
ids | PDG coeds of the particles in the branching |
sudakov | The SudakovFormFactor for the branching |
final | Whether this is an initial- or final-state branching |
Branching Herwig::SplittingGenerator::chooseBackwardBranching | ( | ShowerParticle & | particle, |
PPtr | beamparticle, | ||
double | enhance, | ||
Ptr< BeamParticleData >::transient_const_pointer | beam, | ||
ShowerInteraction | type, | ||
tcPDFPtr | , | ||
Energy | |||
) | const |
Choose a new backward branching for a space-like particle.
The method returns:
In the case no branching has been generated, both the returned pointers are null ( ShoKinPtr() , tSudakovFFPtr() ).
particle | The particle to be evolved |
enhance | The factor by which to ehnace the emission of radiation |
beamparticle | The beam particle |
beam | The BeamParticleData object |
type | The type of interaction to generate |
Branching Herwig::SplittingGenerator::chooseDecayBranching | ( | ShowerParticle & | particle, |
const ShowerParticle::EvolutionScales & | maxScales, | ||
Energy | minmass, | ||
double | enhance, | ||
ShowerInteraction | type | ||
) | const |
Select the next branching of a particles for the initial-state shower in the particle's decay.
particle | The particle being showerwed |
maxscale | The maximum scale |
minmass | Minimum mass of the particle after the branching |
enhance | The factor by which to ehnace the emission of radiation |
type | The type of interaction to generate |
Branching Herwig::SplittingGenerator::chooseForwardBranching | ( | ShowerParticle & | particle, |
double | enhance, | ||
ShowerInteraction | type | ||
) | const |
Methods to select the next branching and reconstruct the kinematics.
Choose a new forward branching for a time-like particle The method returns:
In the case no branching has been generated, both the returned pointers are null ( ShoKinPtr() , tSudakovFFPtr() ).
particle | The particle to be evolved |
enhance | The factor by which to ehnace the emission of radiation |
type | The type of interaction to generate |
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
inline |
Add a final-state splitting.
Definition at line 161 of file SplittingGenerator.h.
References deleteSplitting().
|
private |
Remove a branching to the map.
ids | PDG coeds of the particles in the branching |
sudakov | The SudakovFormFactor for the branching |
final | Whether this is an initial- or final-state branching |
|
inline |
Add an initial-state splitting.
Definition at line 166 of file SplittingGenerator.h.
References deleteSplitting().
|
private |
Delete a splitting.
in | string to be parsed |
final | Whether this is an initial- or final-state branching |
Referenced by deleteFinalSplitting(), and deleteInitialSplitting().
|
private |
Obtain the reference vectors for a final-state particle.
particle | The particle |
p | The p reference vector |
n | The n reference vector |
|
inline |
Access to the splittings.
Access the final-state branchings
Definition at line 176 of file SplittingGenerator.h.
References _fbranchings.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
protectedvirtual |
Return a vector of all pointers to Interfaced objects used in this object.
Reimplemented from ThePEG::InterfacedBase.
|
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.
|
inline |
Access the initial-state branchings.
Definition at line 181 of file SplittingGenerator.h.
References _bbranchings.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::SplittingGenerator::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::SplittingGenerator::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
protectedvirtual |
Rebind pointer to other Interfaced objects.
Called in the setup phase after all objects used in an EventGenerator has been cloned so that the pointers will refer to the cloned objects afterwards.
trans | a TranslationMap relating the original objects to their respective clones. |
RebindException | if no cloned object was found for a given pointer. |
Reimplemented from ThePEG::InterfacedBase.
|
private |
Lists of the branchings and the appropriate Sudakovs for backward branchings.
Definition at line 311 of file SplittingGenerator.h.
Referenced by initialStateBranchings().
|
private |
The detuning parameter.
Definition at line 316 of file SplittingGenerator.h.
|
private |
List of the branchings and the appropriate Sudakovs for forward branchings.
Definition at line 306 of file SplittingGenerator.h.
Referenced by finalStateBranchings().