Belle II Software development
|
Helper class to give the getFinalTriggerDecision to python. More...
#include <FinalTriggerDecisionCalculator.h>
Static Public Member Functions | |
static bool | getFinalTriggerDecision (const SoftwareTriggerResult &result, bool forgetTotalResult=false) |
Calculate the final cut decision using all "total_results" of all sub triggers in the software trigger (filter and skim). | |
static SoftwareTriggerCutResult | getModuleResult (const SoftwareTriggerResult &result, const std::string &baseIdentifier, bool acceptOverridesReject) |
Calculate the "total_result" for a given base identifier by looping through all results with the given base identifier. | |
Helper class to give the getFinalTriggerDecision to python.
Definition at line 18 of file FinalTriggerDecisionCalculator.h.
|
static |
Calculate the final cut decision using all "total_results" of all sub triggers in the software trigger (filter and skim).
The return value is a bool, which has the values accept (true) and reject (false):
If the final result is already stored to the result, it is returned immediately. Except for forgetTotalResult is st to true.
Deprecated: in an older version, the trigger stages were called "hlt", "fast_reco" and "skim". They are still supported by the function to read in old results, but should not be used anymore for new data. A warning will be issued.
Definition at line 15 of file FinalTriggerDecisionCalculator.cc.
|
static |
Calculate the "total_result" for a given base identifier by looping through all results with the given base identifier.
The result of the function then depends on the setting of accept overrides reject. Please see the SoftwareTriggerModule description, for more information.
Definition at line 70 of file FinalTriggerDecisionCalculator.cc.