17#include "ext_h101_raw_nnp_tamex.h"
34struct EXT_STR_h101_raw_nnp_tamex_t;
37class ext_data_struct_info;
42 using InputDataType = std::remove_all_extents_t<
decltype(EXT_STR_h101_raw_nnp_tamex_onion::NN_P)>;
79 template <
typename Optn>
98 auto R3BRead() ->
bool override;
100 void Reset()
override;
102 auto Init(ext_data_struct_info* ) ->
bool override;
107 template <
typename ViewType>
112 [[nodiscard]]
auto check_bar_needed(std::string_view item_name)
const -> bool;
118template <
typename Optn>
121 const auto* histName = hist->GetName();
123 hist_actions_.insert(std::make_pair(histName, std::forward<Optn>(optn)));
struct EXT_STR_h101_raw_nnp_tamex_onion_t EXT_STR_h101_raw_nnp_tamex_onion
struct EXT_STR_h101_raw_nnp_tamex_t EXT_STR_h101_raw_nnp_tamex
std::map< int, R3B::PaddleTamexTrigMappedData > R3BPaddleTamexTrigDataContainer
std::vector< R3B::PaddleTamexMappedData > R3BPaddleTamexMappedDataContainer
R3BNeulandTamexReader2(const R3BNeulandTamexReader2 &)=default
auto R3BRead() -> bool override
void SetOnline(bool is_online)
R3BPaddleTamexMappedDataContainer MappedDataVector
std::map< std::string, std::function< void(const R3B::PaddleTamexMappedData &, TH1 *)> > hist_actions_
auto ReadSignals(EXT_STR_h101_raw_nnp_tamex_onion *inputData) -> bool
auto check_bar_needed(std::string_view item_name) const -> bool
R3BNeulandTamexReader2(EXT_STR_h101_raw_nnp_tamex_onion *, size_t)
void AddHistAction(std::unique_ptr< TH1 > hist, Optn &&optn)
auto Init(ext_data_struct_info *) -> bool override
auto extract_plane_signals(const ViewType &signalsPlane, int planeNum)
R3B::DataMonitor histograms_
TrigMappedDataVector * mappedTrigDataPtr_
auto ReadTriggerSignals(EXT_STR_h101_raw_nnp_tamex_onion *inputData) -> bool
EXT_STR_h101_raw_nnp_tamex_onion * inputData_
auto check_trigger_needed(std::string_view item_name) const -> bool
R3BNeulandTamexReader2(R3BNeulandTamexReader2 &&)=delete
std::map< Errors, uint > error_log_
~R3BNeulandTamexReader2() override
MappedDataVector mappedData_
TrigMappedDataVector mappedTrigData_
std::remove_all_extents_t< decltype(EXT_STR_h101_raw_nnp_tamex_onion::NN_P)> InputDataType
void histogram_action(const R3B::PaddleTamexMappedData &mappedData)
void SetSkipTriggerTimes()
auto operator=(R3BNeulandTamexReader2 &&) -> R3BNeulandTamexReader2 &=delete
ClassDefOverride(R3BNeulandTamexReader2, 1)
auto operator=(const R3BNeulandTamexReader2 &) -> R3BNeulandTamexReader2 &=default
MappedDataVector * mappedDataPtr_
void SetMaxNbPlanes(int max)
R3BPaddleTamexTrigDataContainer TrigMappedDataVector
void SetPrintErrorPerNums(size_t max_limit)
auto MismappedItemRequired(std::string_view item_name) const -> bool override
R3BReader(TString const &)