|
| Histos (DictionaryManager *dict=nullptr) |
|
| Histos (const Histos &other)=delete |
|
Histos & | operator= (const Histos &other)=delete |
|
| Histos (Histos &&other)=delete |
|
Histos & | operator= (Histos &&other)=delete |
|
| ~Histos () noexcept |
|
void | addHistogramDefinition (const std::string &histogramName, const IndexList &binSizes, bool hasUnderOverFlow=true, const MD::BinRangeList &ranges={}, bool shouldCompress=false, bool withErrors=false) |
|
void | addHistogramDefinition (const std::string &histogramName, const MD::BinEdgeList &binEdges, bool hasUnderOverFlow=true, bool shouldCompress=false, bool withErrors=false) |
|
void | createProjectedHistogram (const std::string &oldName, const std::string &newName, const std::set< uint16_t > &collapsedIndexPositions) |
|
void | setHistogramCompression (const std::string &histogramName, bool value=true) |
|
void | setHistogramKeepErrors (const std::string &histogramName, bool value=true) |
|
void | addHistogramFixedData (const std::string &histogramName, MD::SharedTensorData data) |
|
void | resetHistogramFixedData (const std::string &histogramName) |
|
void | removeHistogram (const std::string &histogramName) |
|
void | init () |
|
void | setEventId (EventUID eventId) |
|
void | clear () |
|
IndexList | getBinIndices (const std::string &histogramName, const MD::BinValue &value) const |
|
EventUIDGroup | getHistogramEventIds (const std::string &name, const std::string &scheme) const |
|
MD::BinEdgeList | getHistogramEdges (const std::string &histogramName) const |
|
IndexList | getHistogramShape (const std::string &histogramName) const |
|
bool | getUnderOverFlows (const std::string &histogramName) const |
|
size_t | size () const |
|
bool | canFill (const std::string &name, const std::vector< double > &values) |
| Checks values can be binned. More...
|
|
void | checkExists (const std::string &name) |
| Checks histogram exists. More...
|
|
IOHistogram | getHistogram (const std::string &histogramName, const std::string &schemeName) const |
|
EventIdGroupDict< IOHistogram > | getHistograms (const std::string &histogramName, const std::string &schemeName) const |
|
bool | isValidHistogram (const std::string &histogramName, size_t dim) const |
|
std::vector< std::string > | getHistogramNames () const |
|
void | fillHisto (const std::string &histogramName, const std::string &schemeName, const IndexList &binPosition, Tensor &value, double extraWeight=1.0) |
|
bool | writeDefinition (flatbuffers::FlatBufferBuilder *msgwriter, const std::string &histogramName) const |
|
bool | writeHistogram (flatbuffers::FlatBufferBuilder *msgwriter, const std::string &histogramName, const std::string &schemeName, const EventUID &eventIDs) const |
|
std::string | readDefinition (const Serial::FBHistoDefinition *msgreader, bool merge) |
|
HistoInfo | readHistogram (const Serial::FBHistogram *msgreader, bool merge) |
|
std::vector< EventUID > | getEventIDRepsForHisto (const std::string &name, const std::string &scheme) const |
|
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...
|
|
|
Log & | getLog () const |
| logging facility More...
|
|
void | defineSettings () |
| purely virtual function for a class to define new settings More...
|
|
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) |
|
Hammer histogram manager class.
Stores Hammer histograms, ...
Definition at line 43 of file Histos.hh.