1#ifndef __JTRIGGER__JPREPROCESSOR__
2#define __JTRIGGER__JPREPROCESSOR__
104 make_predicate(&pair_type::second, option));
138 if (i.second != option) {
139 buffer.push_back(i.first);
162 if (pos != string::npos) {
177 if (buffer.empty()) {
179#define MAKE_ENTRY(A) std::make_pair(JPreprocessor(#A), A)
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Auxiliary methods to convert data members or return values of member methods of a set of objects to a...
Template definition of a multi-dimensional oscillation probability interpolation table.
const array_type< JValue_t > & make_array(const JValue_t(&array)[N])
Method to create array of values.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for triggering.
Auxiliary class for specifying the way of pre-processing of hits.
static const char ENUM_EXTENSION
Extension of enumeration names.
static JPreprocessor getOption(const JOption_t option)
Get option.
static JOption_t getOption(const JPreprocessor &option)
Get option.
static std::vector< JPreprocessor > getOptions()
Get options.
JPreprocessor(const std::string &option)
Constructor.
static const data_type & get_options()
Get paired options.
std::vector< pair_type > data_type
std::pair< JPreprocessor, JOption_t > pair_type
JPreprocessor()
Default constructor.
static std::vector< JPreprocessor > getOptions(const JOption_t option)
Get options.
JOption_t
Preprocessing options.
@ none_t
no pre-processing
@ filter_t
filter consecutive hits according match criterion
@ remove_t
remove consecutive hits according match criterion
@ join_t
join consecutive hits according match criterion