1 #ifndef __JTRIGGER__JPREPROCESSOR__
2 #define __JTRIGGER__JPREPROCESSOR__
79 data_type::const_iterator i = find_if(
get_options().begin(),
102 data_type::const_iterator i = find_if(
get_options().begin(),
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...
const array_type< JValue_t > & make_array(const JValue_t(&array)[N])
Method to create array of values.
JPredicate< JResult_t T::*, JComparison::eq > make_predicate(JResult_t T::*member, const JResult_t value)
Helper method to create predicate for data member.
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 std::vector< JPreprocessor > getOptions(const JOption_t option)
Get options.
static JPreprocessor getOption(const JOption_t option)
Get option.
static JOption_t getOption(const JPreprocessor &option)
Get option.
JPreprocessor(const std::string &option)
Constructor.
std::vector< pair_type > data_type
std::pair< JPreprocessor, JOption_t > pair_type
JPreprocessor()
Default constructor.
static const data_type & get_options()
Get paired 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
static std::vector< JPreprocessor > getOptions()
Get options.