Herwig
7.2.1
|
The Hw64Selector class selects the hadrons produced in cluster decay using the FORTRAN HERWIG variant of the cluster model. More...
#include <Hw64Selector.h>
Public Member Functions | |
Hw64Selector () | |
The default constructor. | |
virtual pair< tcPDPtr, tcPDPtr > | chooseHadronPair (const Energy cluMass, tcPDPtr par1, tcPDPtr par2, tcPDPtr par3=PDPtr()) const |
Method to return a pair of hadrons given the PDG codes of two or three constituents. More... | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. More... | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. More... | |
Public Member Functions inherited from Herwig::HadronSelector | |
HadronSelector (unsigned int) | |
The default constructor. | |
tcPDPtr | chooseSingleHadron (tcPDPtr par1, tcPDPtr par2, Energy mass) const |
Select the single hadron for a cluster decay return null pointer if not a single hadron decay. More... | |
pair< tcPDPtr, tcPDPtr > | lightestHadronPair (tcPDPtr ptr1, tcPDPtr ptr2, tcPDPtr ptr3=PDPtr()) const |
This returns the lightest pair of hadrons given by the flavours. More... | |
Energy | massLightestHadronPair (tcPDPtr ptr1, tcPDPtr ptr2, tcPDPtr ptr3=PDPtr()) const |
Returns the mass of the lightest pair of hadrons with the given particles. More... | |
tcPDPtr | lightestHadron (tcPDPtr ptr1, tcPDPtr ptr2, tcPDPtr ptr3=PDPtr()) const |
Returns the lightest hadron formed by the given particles. More... | |
vector< pair< tcPDPtr, double > > | hadronsBelowThreshold (Energy threshold, tcPDPtr ptr1, tcPDPtr ptr2, tcPDPtr ptr3=PDPtr()) const |
Returns the hadrons below the constituent mass threshold formed by the given particles, together with their total weight. More... | |
Energy | massLightestHadron (tcPDPtr ptr1, tcPDPtr ptr2, tcPDPtr ptr3=PDPtr()) const |
Return the nominal mass of the hadron returned by lightestHadron() More... | |
Energy | massLightestBaryonPair (tcPDPtr ptr1, tcPDPtr ptr2) const |
Returns the mass of the lightest pair of baryons. More... | |
double | pwtDquark () const |
Return the weights for the different quarks and diquarks. More... | |
double | pwtUquark () const |
The up quark weight. | |
double | pwtSquark () const |
The strange quark weight. | |
double | pwtCquark () const |
The charm quark weight. | |
double | pwtBquark () const |
The bottom quark weight. | |
double | pwtDIquark () const |
The diquark weight. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. More... | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. More... | |
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 |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
Public Member Functions inherited from ThePEG::InterfacedBase | |
string | fullName () const |
string | name () const |
string | path () const |
string | comment () const |
void | setup (istream &is) |
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 |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
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 |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
Public Member Functions inherited from ThePEG::Base | |
void | debug () 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 |
Static Public Member Functions | |
static void | Init () |
The standard Init function used to initialize the interfaces. More... | |
Static Public Member Functions inherited from Herwig::HadronSelector | |
static void | Init () |
The standard Init function used to initialize the interfaces. More... | |
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 () |
Protected Member Functions | |
Clone Methods. | |
virtual IBPtr | clone () const |
Make a simple clone of this object. More... | |
virtual IBPtr | fullclone () const |
Make a clone of this object, possibly modifying the cloned object to make it sane. More... | |
Protected Member Functions inherited from Herwig::HadronSelector | |
virtual void | constructHadronTable () |
Construct the table of hadron data This is the main method to initialize the hadron data (mainly the weights associated to each hadron, taking into account its spin, eventual isoscalar-octect mixing, singlet-decuplet factor). More... | |
const HadronTable & | table () const |
Access to the table of hadrons. | |
const vector< PDPtr > & | partons () const |
Access to the list of partons. | |
double | pwt (long pid) const |
Access the parton weights. | |
double | specialWeight (long id) const |
Calculates a special weight specific to a given hadron. More... | |
int | signHadron (tcPDPtr ptr1, tcPDPtr ptr2, tcPDPtr hadron) const |
This method returns the proper sign ( > 0 hadron; < 0 anti-hadron ) for the input PDG id idHad > 0, suppose to be made by the two constituent particle pointers: par1 and par2 (both with proper sign). | |
virtual void | doinit () |
Initialize this object after the setup phase before saving an EventGenerator to disk. More... | |
double | probabilityMixing (const double angleMix, const int order) const |
Methods for the mixing of mesons. More... | |
virtual double | mixingStateWeight (long id) const |
Returns the weight of given mixing state. More... | |
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 | |
InterfacedBase (string newName) | |
InterfacedBase (const InterfacedBase &i) | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
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 &) |
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) |
Private Member Functions | |
Hw64Selector & | operator= (const Hw64Selector &)=delete |
The assignment operator is private and must never be called. More... | |
Additional Inherited Members | |
Public Types inherited from Herwig::HadronSelector | |
typedef map< pair< long, long >, KupcoData > | HadronTable |
The hadron table type. | |
typedef set< HadronInfo > | KupcoData |
The helper classes. More... | |
Public Types inherited from ThePEG::InterfacedBase | |
enum | InitState |
Public Types inherited from ThePEG::Pointer::ReferenceCounted | |
typedef unsigned int | CounterType |
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) |
The Hw64Selector class selects the hadrons produced in cluster decay using the FORTRAN HERWIG variant of the cluster model.
Definition at line 29 of file Hw64Selector.h.
|
virtual |
Method to return a pair of hadrons given the PDG codes of two or three constituents.
cluMass | The mass of the cluster |
par1 | The particle pointer of the first constituent |
par2 | The particle pointer of the second constituent |
par3 | The particle pointer of the third constituent |
Implements Herwig::HadronSelector.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
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.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::Hw64Selector::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::Hw64Selector::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |