Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
Decay process class. More...
#include <ProcRates.hh>
Public Member Functions | |
ProcRates (const ExternalData *ext) | |
ProcRates (const Serial::FBProcData *msgreader) | |
ProcRates (const ProcRates &other)=delete | |
ProcRates & | operator= (const ProcRates &other)=delete |
ProcRates (ProcRates &&other)=delete | |
ProcRates & | operator= (ProcRates &&other)=delete |
~ProcRates () noexcept | |
virtual SchemeDict< Tensor > * | getProcessRates (ProcessUID id) |
virtual double | getVertexRate (const ProcessUID &id, const std::string &schemeName) const |
void | init () |
void | write (flatbuffers::FlatBufferBuilder *msgwriter) const |
bool | read (const Serial::FBRates *msgreader, bool merge) |
Public Member Functions inherited from Hammer::SettingsConsumer | |
virtual void | setSettingsHandler (SettingsHandler &sh) |
set link to settings repository handler. More... | |
void | setSettingsHandler (const SettingsConsumer &other) |
SettingsHandler * | getSettingsHandler () const |
provide the pointer to the repository handler More... | |
WTerm | setWeightTerm (WTerm group) |
virtual void | addRefs () const |
SettingsConsumer () | |
base constructor More... | |
SettingsConsumer (const SettingsConsumer &)=default | |
default copy constructor More... | |
SettingsConsumer & | operator= (const SettingsConsumer &)=default |
virtual | ~SettingsConsumer () |
virtual destructor More... | |
Protected Member Functions | |
virtual void | defineSettings () |
purely virtual function for a class to define new settings More... | |
Log & | getLog () const |
logging facility More... | |
Protected Member Functions inherited from Hammer::SettingsConsumer | |
Log & | getLog () const |
logging facility More... | |
void | initSettings () |
void | setPath (const std::string &path) |
provide the basic path for the settings defined by this class, as in "<path>:<setting>" More... | |
template<typename T > | |
void | addSetting (const std::string &name, const T &defaultValue) |
template method to add a new setting More... | |
void | removeSetting (const std::string &name) |
template<typename T > | |
T * | getSetting (const std::string &name) const |
template method to return a setting defined by this class More... | |
template<typename T > | |
T * | getSetting (const std::string &otherPath, const std::string &name) const |
template method to return a setting defined by this class More... | |
bool | isOn (const std::string &name) const |
method to check a boolean setting defined by this class More... | |
bool | isOn (const std::string &otherPath, const std::string &name) const |
method to check a boolean setting by its name and path More... | |
template<typename T > | |
void | updateVectorOfSettings (const std::vector< T > &values, const std::vector< std::string > &names, const std::string &path="", WTerm group=WTerm::COMMON) |
template<typename T > | |
void | updateVectorOfSettings (const std::map< std::string, T > &values, const std::string &path="", WTerm group=WTerm::COMMON) |
Private Attributes | |
ProcIdDict< SchemeDict< Tensor > > | _processRates |
const ExternalData * | _external |
Additional Inherited Members | |
Protected Attributes inherited from Hammer::SettingsConsumer | |
SettingsHandler * | _settingHandler |
pointer to the settings repository handler. More... | |
std::string | _settingPath |
path of the settings defined by this class More... | |
WTerm | _group |
std::set< std::string > | _ownedSettings |
Decay process class.
Contains the amplitudes, weights and info associated to a decay, ...
Definition at line 34 of file ProcRates.hh.
Hammer::ProcRates::ProcRates | ( | const ExternalData * | ext | ) |
Definition at line 30 of file ProcRates.cc.
Hammer::ProcRates::ProcRates | ( | const Serial::FBProcData * | msgreader | ) |
|
delete |
|
delete |
|
noexcept |
Definition at line 33 of file ProcRates.cc.
|
protectedvirtual |
purely virtual function for a class to define new settings
Implements Hammer::SettingsConsumer.
Definition at line 38 of file ProcRates.cc.
|
protected |
|
virtual |
|
virtual |
void Hammer::ProcRates::init | ( | ) |
Definition at line 41 of file ProcRates.cc.
bool Hammer::ProcRates::read | ( | const Serial::FBRates * | msgreader, |
bool | merge | ||
) |
[in] | msgreader | |
[in] | merge |
Definition at line 90 of file ProcRates.cc.
void Hammer::ProcRates::write | ( | flatbuffers::FlatBufferBuilder * | msgwriter | ) | const |
[in] | msgwriter |
Definition at line 123 of file ProcRates.cc.
|
private |
Definition at line 85 of file ProcRates.hh.
|
private |
Definition at line 84 of file ProcRates.hh.