12 #ifndef HAMMER_EVENT_HH
13 #define HAMMER_EVENT_HH
30 class DictionaryManager;
97 std::vector<std::reference_wrapper<const Tensor>>
getProcessFormFactors(
const std::string& schemeName,
143 void write(flatbuffers::FlatBufferBuilder* msgwriter)
const;
148 bool read(
const Serial::FBEvent* msgreader,
bool merge);
std::set< ProcessUID > EventUID
void setHistogramBin(const std::string &label, const IndexList indices)
Forward declaration of serialization related typedefs and includes.
Hammer data types declarations.
void write(flatbuffers::FlatBufferBuilder *msgwriter) const
ProcIdDict< std::reference_wrapper< const Tensor > > getTensorWeights(const std::string &schemeName) const
double getEventBaseWeight() const
DictionaryManager * _dictionaries
const Tensor & getSquaredAmplitude(ProcessUID process, WTerm what=WTerm::NUMERATOR) const
ProcessUID addProcess(Process &p)
void setEventBaseWeight(double weight)
ProcIdDict< std::reference_wrapper< const Tensor > > getSquaredAmplitudes(WTerm what=WTerm::NUMERATOR) const
Event & operator=(const Event &other)=delete
Event(Histos *histograms=nullptr, DictionaryManager *dict=nullptr)
Hammer histogram manager class.
std::map< std::string, T > HistoNameDict
ProcIdDict< double > getWeights(const std::string &schemeName) const
ProcessUID addProcManager(ProcManager &&pm)
Base class to access the settings repository.
ProcIdDict< std::reference_wrapper< const Tensor > > getAmplitudes(WTerm what=WTerm::NUMERATOR) const
Forward declarations for histogram manager class.
HistoNameDict< IndexList > _histogramBins
std::vector< IndexType > IndexList
bool read(const Serial::FBEvent *msgreader, bool merge)
ProcIdDict< ProcManager > _processes
Log & getLog() const
logging facility
void removeProcess(ProcessUID id)
ProcIdDict< std::vector< std::reference_wrapper< const Tensor > > > getFormFactors(const std::string &schemeName) const
Multidimensional tensor class with complex numbers as elements.
Base class for accessing Hammer settings repository.
Container class for all process related data structures.
const Tensor & getAmplitude(ProcessUID process, WTerm what=WTerm::NUMERATOR) const
std::map< ProcessUID, T > ProcIdDict
std::vector< SchemeName > SchemeNameList
const Tensor & getTensorWeight(const std::string &schemeName, ProcessUID process) const
const ProcManager & getProcManager(ProcessUID id) const
void defineSettings()
purely virtual function for a class to define new settings
double getWeight(const std::string &schemeName, ProcessUID process) const
std::vector< std::reference_wrapper< const Tensor > > getProcessFormFactors(const std::string &schemeName, ProcessUID process) const
const EventUID & getEventId() const