Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
Decay process class. More...
#include <ProcManager.hh>
Public Member Functions | |
ProcManager () | |
ProcManager (const Process &inputs) | |
ProcManager (const Serial::FBProcess *msgreader) | |
ProcManager (const ProcManager &other)=delete | |
ProcManager & | operator= (const ProcManager &other)=delete |
ProcManager (ProcManager &&other) | |
ProcManager & | operator= (ProcManager &&other)=delete |
~ProcManager () noexcept=default | |
virtual void | initialize (DictionaryManager *dictionaries) |
virtual void | setSettingsHandler (SettingsHandler &sh) |
set link to settings repository handler. More... | |
virtual void | setSettingsHandler (const SettingsConsumer &sh) |
void | calc () |
const ProcResults & | results () const |
const Process & | inputs () const |
void | write (flatbuffers::FlatBufferBuilder *msgwriter, flatbuffers::Offset< Serial::FBProcess > *msg) const |
bool | read (const Serial::FBProcess *msgreader, bool merge) |
Public Member Functions inherited from Hammer::SettingsConsumer | |
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 | |
void | calcRates (const ParticleIndex &parent) const |
Tensor | calcPSTensor (const ParticleIndex &parent) const |
Tensor | calcRateTensor (const ParticleIndex &parent, const ProcIdDict< FFIndex > &ffmaps, const std::string &schemeName) const |
virtual void | defineSettings () |
purely virtual function for a class to define new settings More... | |
Log & | getLog () const |
logging facility More... | |
void | setDictionary (DictionaryManager *dict) |
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 | |
std::unique_ptr< Process > | _inputs |
std::unique_ptr< ProcGraph > | _graph |
std::unique_ptr< ProcRequirements > | _reqs |
std::unique_ptr< ProcResults > | _results |
SchemeDict< Tensor > * | _processRates |
DictionaryManager * | _dictionaries |
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 42 of file ProcManager.hh.
Hammer::ProcManager::ProcManager | ( | ) |
Definition at line 44 of file ProcManager.cc.
Hammer::ProcManager::ProcManager | ( | const Process & | inputs | ) |
Definition at line 34 of file ProcManager.cc.
Hammer::ProcManager::ProcManager | ( | const Serial::FBProcess * | msgreader | ) |
Definition at line 47 of file ProcManager.cc.
|
delete |
Hammer::ProcManager::ProcManager | ( | ProcManager && | other | ) |
Definition at line 51 of file ProcManager.cc.
|
defaultnoexcept |
void Hammer::ProcManager::calc | ( | ) |
Definition at line 104 of file ProcManager.cc.
|
protected |
[in] | parent |
Definition at line 289 of file ProcManager.cc.
|
protected |
[in] | parent |
Definition at line 338 of file ProcManager.cc.
|
protected |
[in] | parent | |
[in] | ffmaps | |
[in] | schemeName |
Definition at line 305 of file ProcManager.cc.
|
protectedvirtual |
purely virtual function for a class to define new settings
Implements Hammer::SettingsConsumer.
Definition at line 254 of file ProcManager.cc.
|
protected |
logging facility
Definition at line 387 of file ProcManager.cc.
|
virtual |
[in] | dictionaries |
Definition at line 78 of file ProcManager.cc.
const Process & Hammer::ProcManager::inputs | ( | ) | const |
Definition at line 250 of file ProcManager.cc.
|
delete |
|
delete |
bool Hammer::ProcManager::read | ( | const Serial::FBProcess * | msgreader, |
bool | merge | ||
) |
[in] | msgreader | |
[in] | merge |
Definition at line 275 of file ProcManager.cc.
const ProcResults & Hammer::ProcManager::results | ( | ) | const |
Definition at line 246 of file ProcManager.cc.
|
protected |
Definition at line 74 of file ProcManager.cc.
|
virtual |
set link to settings repository handler.
[in] | sh | the settings handler |
Reimplemented from Hammer::SettingsConsumer.
Definition at line 64 of file ProcManager.cc.
|
virtual |
Definition at line 69 of file ProcManager.cc.
void Hammer::ProcManager::write | ( | flatbuffers::FlatBufferBuilder * | msgwriter, |
flatbuffers::Offset< Serial::FBProcess > * | msg | ||
) | const |
[in] | msgwriter | |
[in] | msg |
Definition at line 263 of file ProcManager.cc.
|
private |
Definition at line 123 of file ProcManager.hh.
|
private |
Definition at line 117 of file ProcManager.hh.
|
private |
Definition at line 116 of file ProcManager.hh.
|
private |
Definition at line 120 of file ProcManager.hh.
|
private |
Definition at line 118 of file ProcManager.hh.
|
private |
Definition at line 119 of file ProcManager.hh.