15 #ifndef QUALITYCONTROL_TRIGGERHELPERS_H 16 #define QUALITYCONTROL_TRIGGERHELPERS_H 25 TriggerFcn
triggerFactory(std::string trigger,
const PostProcessingConfig& config);
27 std::vector<TriggerFcn>
createTriggers(
const std::vector<std::string>& triggerNames,
const PostProcessingConfig& config);
36 #endif //QUALITYCONTROL_TRIGGERHELPERS_H Definition: TriggerHelpers.h:21
TriggerFcn triggerFactory(std::string trigger, const PostProcessingConfig &config)
Creates a trigger function by taking its corresponding name.
Definition: TriggerHelpers.cxx:51
bool hasUserOrControlTrigger(const std::vector< std::string > &)
Checks if in a given trigger configuration vector there is a UserOrControl trigger. This is trigger cannot be checked as all the others, so we just check if it is requested in the right moments.
Definition: TriggerHelpers.cxx:129
std::vector< TriggerFcn > createTriggers(const std::vector< std::string > &triggerNames, const PostProcessingConfig &config)
Creates a trigger function vector given trigger names.
Definition: TriggerHelpers.cxx:119
Trigger tryTrigger(std::vector< TriggerFcn > &)
Executes a vector of triggers functions and returns the first trigger which is not TriggerType::No...
Definition: TriggerHelpers.cxx:109