|
|
| CollectorSink (CollectorSink &other)=delete |
| |
|
void | operator= (const CollectorSink &)=delete |
| |
| bool | is_setup () const |
| |
| std::string | current_filename () const |
| |
| size_t | user_count () const |
| |
| void | setup (const std::string &filename) |
| |
| void | teardown () |
| |
| std::optional< HighFive::Group > | getCollector (const std::string &name, const DetectorType &detector, const ReadoutType &readout) |
| |
| std::optional< HighFive::Group > | getCollector (const std::string &name, const HighFive::DataType &datatype, const std::optional< DetectorType > &detector=std::nullopt, const std::optional< std::string > &description=std::nullopt) |
| | Get (or create) a collector group for records of an arbitrary compound datatype.
|
| |
| auto | removeCollector (const std::string &name) |
| |
| template<class T > |
| void | addParameter (const std::string &name, T value, const std::optional< std::string > &unit=std::nullopt, const std::optional< std::string > &description=std::nullopt) |
| |
|
| std::set< std::string > | users_ |
| |
| std::optional< std::string > | filename_ {std::nullopt} |
| |
| std::optional< HighFive::File > | file_ {std::nullopt} |
| |
| std::optional< HighFive::Group > | collector_ |
| |
| std::optional< HighFive::Group > | parameters_ {std::nullopt} |
| |
Definition at line 116 of file CollectorClass.h.
◆ addParameter()
template<class T >
| void CollectorSink::addParameter |
( |
const std::string & |
name, |
|
|
T |
value, |
|
|
const std::optional< std::string > & |
unit = std::nullopt, |
|
|
const std::optional< std::string > & |
description = std::nullopt |
|
) |
| |
|
inline |
◆ collector_group_type()
| static const std::string & CollectorSink::collector_group_type |
( |
| ) |
|
|
inlinestatic |
◆ cue_dataset_name()
| static const std::string & CollectorSink::cue_dataset_name |
( |
| ) |
|
|
inlinestatic |
◆ current_filename()
| std::string CollectorSink::current_filename |
( |
| ) |
const |
|
inline |
◆ destroy()
| static void CollectorSink::destroy |
( |
| ) |
|
|
inlinestatic |
◆ detector_attribute_name()
| static const std::string & CollectorSink::detector_attribute_name |
( |
| ) |
|
|
inlinestatic |
The detector identity is a GROUP attribute, alongside the EFU routing attributes: together they say where — and as what — a group replays. The record layout needs no attribute at all: it is the dataset's own compound datatype, compared against the registry for sendability.
Definition at line 155 of file CollectorClass.h.
Referenced by getCollector().
◆ efu_address_attribute_name()
| static const std::string & CollectorSink::efu_address_attribute_name |
( |
| ) |
|
|
inlinestatic |
◆ efu_port_attribute_name()
| static const std::string & CollectorSink::efu_port_attribute_name |
( |
| ) |
|
|
inlinestatic |
◆ getCollector() [1/2]
| std::optional< HighFive::Group > CollectorSink::getCollector |
( |
const std::string & |
name, |
|
|
const DetectorType & |
detector, |
|
|
const ReadoutType & |
readout |
|
) |
| |
|
inline |
◆ getCollector() [2/2]
| std::optional< HighFive::Group > CollectorSink::getCollector |
( |
const std::string & |
name, |
|
|
const HighFive::DataType & |
datatype, |
|
|
const std::optional< DetectorType > & |
detector = std::nullopt, |
|
|
const std::optional< std::string > & |
description = std::nullopt |
|
) |
| |
|
inline |
Get (or create) a collector group for records of an arbitrary compound datatype.
The typed overload above resolves the registry datatype for its ReadoutType; this overload accepts any compound type so user-described records get the same cue-based layout. The detector identity — the ESS packet-type byte, unrecoverable from the record layout — is written as a group attribute when known; the original type description string (when given) is stored as a dataset attribute.
Definition at line 265 of file CollectorClass.h.
References detector_attribute_name().
◆ is_setup()
| bool CollectorSink::is_setup |
( |
| ) |
const |
|
inline |
◆ normalization_dataset_name()
| static const std::string & CollectorSink::normalization_dataset_name |
( |
| ) |
|
|
inlinestatic |
◆ parameter_description_attribute_name()
| static const std::string & CollectorSink::parameter_description_attribute_name |
( |
| ) |
|
|
inlinestatic |
◆ parameter_group_name()
| static const std::string & CollectorSink::parameter_group_name |
( |
| ) |
|
|
inlinestatic |
◆ parameter_group_type()
| static const std::string & CollectorSink::parameter_group_type |
( |
| ) |
|
|
inlinestatic |
◆ parameter_unit_attribute_name()
| static const std::string & CollectorSink::parameter_unit_attribute_name |
( |
| ) |
|
|
inlinestatic |
◆ program_attribute_name()
| static const std::string & CollectorSink::program_attribute_name |
( |
| ) |
|
|
inlinestatic |
◆ program_attribute_value()
| static const std::string & CollectorSink::program_attribute_value |
( |
| ) |
|
|
inlinestatic |
◆ readout_dataset_name()
| static const std::string & CollectorSink::readout_dataset_name |
( |
| ) |
|
|
inlinestatic |
◆ removeCollector()
| auto CollectorSink::removeCollector |
( |
const std::string & |
name | ) |
|
|
inline |
◆ revision_attribute_name()
| static const std::string & CollectorSink::revision_attribute_name |
( |
| ) |
|
|
inlinestatic |
◆ revision_attribute_value()
| static const std::string & CollectorSink::revision_attribute_value |
( |
| ) |
|
|
inlinestatic |
◆ setup()
| void CollectorSink::setup |
( |
const std::string & |
filename | ) |
|
|
inline |
◆ teardown()
| void CollectorSink::teardown |
( |
| ) |
|
|
inline |
◆ type_attribute()
| static const std::string & CollectorSink::type_attribute |
( |
| ) |
|
|
inlinestatic |
◆ user_count()
| size_t CollectorSink::user_count |
( |
| ) |
const |
|
inline |
◆ version_attribute_name()
| static const std::string & CollectorSink::version_attribute_name |
( |
| ) |
|
|
inlinestatic |
◆ version_attribute_value()
| static const std::string & CollectorSink::version_attribute_value |
( |
| ) |
|
|
inlinestatic |
◆ weight_dataset_name()
| static const std::string & CollectorSink::weight_dataset_name |
( |
| ) |
|
|
inlinestatic |
◆ collector_
| std::optional<HighFive::Group> CollectorSink::collector_ |
|
protected |
◆ file_
| std::optional<HighFive::File> CollectorSink::file_ {std::nullopt} |
|
protected |
◆ filename_
| std::optional<std::string> CollectorSink::filename_ {std::nullopt} |
|
protected |
◆ parameters_
| std::optional<HighFive::Group> CollectorSink::parameters_ {std::nullopt} |
|
protected |
◆ users_
| std::set<std::string> CollectorSink::users_ |
|
protected |
The documentation for this class was generated from the following file: