![]() |
Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
Decay process class. More...
#include <ProcResults.hh>
Inheritance diagram for Hammer::ProcResults:
Collaboration diagram for Hammer::ProcResults:Public Member Functions | |
| ProcResults () | |
| ProcResults (const Serial::FBProcData *msgreader) | |
| ProcResults (const ProcResults &other)=delete | |
| ProcResults & | operator= (const ProcResults &other)=delete |
| ProcResults (ProcResults &&other)=delete | |
| ProcResults & | operator= (ProcResults &&other)=delete |
| ~ProcResults () noexcept=default | |
| const Tensor & | processAmplitude (WTerm what=WTerm::NUMERATOR) const |
| Tensor & | processAmplitude (WTerm what=WTerm::NUMERATOR) |
| const Tensor & | processAmplitudeSquared (WTerm what=WTerm::NUMERATOR) const |
| Tensor & | processAmplitudeSquared (WTerm what=WTerm::NUMERATOR) |
| std::vector < std::reference_wrapper < const Tensor > > | processFormFactors (const std::string &schemeName) const |
| std::vector < std::reference_wrapper < Tensor > > | processFormFactors (const std::string &schemeName) |
| void | appendFormFactor (const std::string &schemeName, const Tensor &formfact) |
| void | appendFormFactor (const std::string &schemeName, Tensor &&formfact) |
| void | clearFormFactors () |
| bool | haveFormFactors () const |
| const Tensor & | processWeight (const std::string &schemeName) const |
| Tensor & | processWeight (const std::string &schemeName) |
| void | setProcessWeight (const std::string &schemeName, const Tensor &weight) |
| void | setProcessWeight (const std::string &schemeName, Tensor &&weight) |
| void | clearWeights () |
| bool | haveWeights () const |
| std::vector< std::string > | availableSchemes () const |
| void | write (flatbuffers::FlatBufferBuilder *msgwriter, flatbuffers::Offset< Serial::FBProcData > *msg) const |
| bool | read (const Serial::FBProcData *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 | |
| SchemeDict< Tensor > | _processWeights |
| NumDenPair< Tensor > | _processSquaredAmplitude |
| NumDenPair< Tensor > | _processAmplitude |
| SchemeDict< std::vector< Tensor > > | _processFormFactors |
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 33 of file ProcResults.hh.
| Hammer::ProcResults::ProcResults | ( | ) |
Definition at line 23 of file ProcResults.cc.
| Hammer::ProcResults::ProcResults | ( | const Serial::FBProcData * | msgreader | ) |
Definition at line 27 of file ProcResults.cc.
|
delete |
|
delete |
|
defaultnoexcept |
| void Hammer::ProcResults::appendFormFactor | ( | const std::string & | schemeName, |
| const Tensor & | formfact | ||
| ) |
Definition at line 71 of file ProcResults.cc.
| void Hammer::ProcResults::appendFormFactor | ( | const std::string & | schemeName, |
| Tensor && | formfact | ||
| ) |
Definition at line 75 of file ProcResults.cc.
| vector< string > Hammer::ProcResults::availableSchemes | ( | ) | const |
Definition at line 87 of file ProcResults.cc.
| void Hammer::ProcResults::clearFormFactors | ( | ) |
Definition at line 79 of file ProcResults.cc.
| void Hammer::ProcResults::clearWeights | ( | ) |
Definition at line 110 of file ProcResults.cc.
|
protectedvirtual |
purely virtual function for a class to define new settings
Implements Hammer::SettingsConsumer.
Definition at line 119 of file ProcResults.cc.
|
protected |
logging facility
Definition at line 249 of file ProcResults.cc.
| bool Hammer::ProcResults::haveFormFactors | ( | ) | const |
Definition at line 83 of file ProcResults.cc.
| bool Hammer::ProcResults::haveWeights | ( | ) | const |
Definition at line 114 of file ProcResults.cc.
|
delete |
|
delete |
| const Tensor & Hammer::ProcResults::processAmplitude | ( | WTerm | what = WTerm::NUMERATOR | ) | const |
| Tensor & Hammer::ProcResults::processAmplitude | ( | WTerm | what = WTerm::NUMERATOR | ) |
| const Tensor & Hammer::ProcResults::processAmplitudeSquared | ( | WTerm | what = WTerm::NUMERATOR | ) | const |
| Tensor & Hammer::ProcResults::processAmplitudeSquared | ( | WTerm | what = WTerm::NUMERATOR | ) |
| vector< reference_wrapper< const Tensor > > Hammer::ProcResults::processFormFactors | ( | const std::string & | schemeName | ) | const |
Definition at line 51 of file ProcResults.cc.
| vector< reference_wrapper< Tensor > > Hammer::ProcResults::processFormFactors | ( | const std::string & | schemeName | ) |
Definition at line 61 of file ProcResults.cc.
| const Tensor & Hammer::ProcResults::processWeight | ( | const std::string & | schemeName | ) | const |
| Tensor & Hammer::ProcResults::processWeight | ( | const std::string & | schemeName | ) |
| bool Hammer::ProcResults::read | ( | const Serial::FBProcData * | msgreader, |
| bool | merge | ||
| ) |
| [in] | msgreader | |
| [in] | merge |
Definition at line 192 of file ProcResults.cc.
| void Hammer::ProcResults::setProcessWeight | ( | const std::string & | schemeName, |
| const Tensor & | weight | ||
| ) |
Definition at line 102 of file ProcResults.cc.
| void Hammer::ProcResults::setProcessWeight | ( | const std::string & | schemeName, |
| Tensor && | weight | ||
| ) |
Definition at line 106 of file ProcResults.cc.
| void Hammer::ProcResults::write | ( | flatbuffers::FlatBufferBuilder * | msgwriter, |
| flatbuffers::Offset< Serial::FBProcData > * | msg | ||
| ) | const |
| [in] | msgwriter | |
| [in] | msg |
Definition at line 126 of file ProcResults.cc.
|
private |
Definition at line 126 of file ProcResults.hh.
|
private |
Definition at line 127 of file ProcResults.hh.
|
private |
Definition at line 125 of file ProcResults.hh.
|
private |
Definition at line 124 of file ProcResults.hh.