Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
Hammer settings manager class. More...
#include <ProcessDefinitions.hh>
Public Member Functions | |
void | write (flatbuffers::FlatBufferBuilder *msgwriter, flatbuffers::Offset< Serial::FBProcDefs > *msgs) const |
bool | read (const Serial::FBProcDefs *msgreader, bool merge) |
void | addIncludedDecay (const std::vector< VertexName > &decay) |
void | addForbiddenDecay (const std::vector< VertexName > &decay) |
std::set< HashId > | decayStringsToProcessIds (const std::vector< std::vector< VertexName >> &names) const |
virtual bool | isProcessIncluded (std::set< HashId > subamplitudes, ProcessUID processId) const |
virtual void | forbidProcess (ProcessUID processId) const |
void | init () |
Constructors | |
ProcessDefinitions () | |
default constructor More... | |
ProcessDefinitions (const ProcessDefinitions &other)=delete | |
ProcessDefinitions & | operator= (const ProcessDefinitions &other)=delete |
ProcessDefinitions (ProcessDefinitions &&other)=default | |
ProcessDefinitions & | operator= (ProcessDefinitions &&other)=default |
virtual | ~ProcessDefinitions () noexcept=default |
Protected Member Functions | |
Log & | getLog () const |
logging facility More... | |
std::vector< std::set< HashId > > | includedDecaySignatures () const |
std::vector< std::set< HashId > > | forbiddenDecaySignatures () const |
std::vector< std::set< HashId > > | decaySignatures (const std::vector< std::vector< std::string >> &container) const |
Private Attributes | |
std::vector< std::vector < std::string > > | _includedDecays |
the Hammer included decays More... | |
std::vector< std::vector < std::string > > | _forbiddenDecays |
the Hammer forbidden decays More... | |
std::vector< std::set< HashId > > | _includedDecayCombos |
Included amplitude combinations. More... | |
std::vector< std::set< HashId > > | _forbiddenDecayCombos |
Forbidden amplitude combinations. More... | |
ProcIdDict< std::set< HashId > > | _includedProcesses |
Included process HashIds. More... | |
std::set< HashId > | _forbiddenProcesses |
Forbidden process HashIds. More... | |
Friends | |
struct | YAML::convert<::Hammer::ProcessDefinitions > |
Hammer settings manager class.
Stores Hammer options, provides facilities for saving and reading option files, provides option query interface. It also provide a repository of other run-wide information, such as the bibliography associated to the specific run, the list of files being processed
Definition at line 44 of file ProcessDefinitions.hh.
|
inline |
default constructor
Definition at line 51 of file ProcessDefinitions.hh.
|
delete |
|
default |
|
virtualdefaultnoexcept |
void Hammer::ProcessDefinitions::addForbiddenDecay | ( | const std::vector< VertexName > & | decay | ) |
[in] | decay |
Definition at line 144 of file ProcessDefinitions.cc.
void Hammer::ProcessDefinitions::addIncludedDecay | ( | const std::vector< VertexName > & | decay | ) |
[in] | decay |
Definition at line 140 of file ProcessDefinitions.cc.
|
protected |
set< HashId > Hammer::ProcessDefinitions::decayStringsToProcessIds | ( | const std::vector< std::vector< VertexName >> & | names | ) | const |
Definition at line 214 of file ProcessDefinitions.cc.
|
protected |
Definition at line 152 of file ProcessDefinitions.cc.
|
virtual |
[in] | processId |
Definition at line 227 of file ProcessDefinitions.cc.
|
protected |
logging facility
Definition at line 31 of file ProcessDefinitions.cc.
|
protected |
Definition at line 148 of file ProcessDefinitions.cc.
void Hammer::ProcessDefinitions::init | ( | ) |
Definition at line 232 of file ProcessDefinitions.cc.
|
virtual |
[in] | subamplitudes | |
[in] | processId |
Definition at line 188 of file ProcessDefinitions.cc.
|
delete |
|
default |
bool Hammer::ProcessDefinitions::read | ( | const Serial::FBProcDefs * | msgreader, |
bool | merge | ||
) |
Definition at line 85 of file ProcessDefinitions.cc.
void Hammer::ProcessDefinitions::write | ( | flatbuffers::FlatBufferBuilder * | msgwriter, |
flatbuffers::Offset< Serial::FBProcDefs > * | msgs | ||
) | const |
Definition at line 35 of file ProcessDefinitions.cc.
|
friend |
Definition at line 114 of file ProcessDefinitions.hh.
|
private |
Forbidden amplitude combinations.
A list of {the set of amplitude class HashIds} composing each forbidden process specification
Definition at line 128 of file ProcessDefinitions.hh.
|
private |
the Hammer forbidden decays
Definition at line 121 of file ProcessDefinitions.hh.
|
mutableprivate |
Forbidden process HashIds.
The set of {the full HashId} for each forbidden process, generated from the HashIds of the process' component amplitudes
Definition at line 136 of file ProcessDefinitions.hh.
|
private |
Included amplitude combinations.
A list of {the set of amplitude class HashIds} composing each included process specification
Definition at line 125 of file ProcessDefinitions.hh.
|
private |
the Hammer included decays
Definition at line 118 of file ProcessDefinitions.hh.
|
mutableprivate |
Included process HashIds.
The set of {the full HashId} for each included process, generated from the HashIds of the process' component amplitudes
Definition at line 132 of file ProcessDefinitions.hh.