![]() |
Belle II Software prerelease-11-00-00a
|
Implementation of a calculator used in the SoftwareTriggerModule to fill a SoftwareTriggerObject for doing HLT prefilter cuts. More...
#include <PrefilterCalculator.h>


Public Member Functions | |
| PrefilterCalculator () | |
| Set the default names for the store object particle lists. | |
| void | requireStoreArrays () override |
| Require the particle list. We do not need more here. | |
| void | doCalculation (SoftwareTriggerObject &calculationResult) override |
| Actually write out the variables into the map. | |
| void | writeDebugOutput (const std::unique_ptr< TTree > &debugOutputTTree) |
| Function to write out debug output into the given TTree. | |
| void | addDebugOutput (const StoreObjPtr< SoftwareTriggerVariables > &storeObject, const std::string &prefix) |
| Function to write out debug output into the given StoreObject. | |
| const SoftwareTriggerObject & | fillInCalculations () |
| Main function of this class: calculate the needed variables using the overwritten doCalculation function and write out the values into the results object (with their names). | |
Private Attributes | |
| HLTPrefilter::EventsOfDoomBusterState | m_eodbPrefilter |
| Helper instance for EventsOfDoom prefilter. | |
| HLTPrefilter::TimingCutState | m_timingPrefilter |
| Helper instance for timing based prefilter. | |
| SoftwareTriggerObject | m_calculationResult |
| Internal storage of the result of the calculation. | |
| bool | m_debugPrepared = false |
| Flag to not add the branches twice to the TTree. | |
Implementation of a calculator used in the SoftwareTriggerModule to fill a SoftwareTriggerObject for doing HLT prefilter cuts.
This calculator exports variables needed for the trigger HLT prefilter part of the path ( = filtering out injection background events)
This class implements the two main functions requireStoreArrays and doCalculation of the SoftwareTriggerCalculation class.
Definition at line 25 of file PrefilterCalculator.h.
Set the default names for the store object particle lists.
Definition at line 18 of file PrefilterCalculator.cc.
|
inherited |
Function to write out debug output into the given StoreObject.
Needs an already prefilled calculationResult for this (probably using the fillInCalculations function). All added variables are prefixed with the given prefix string.
Definition at line 34 of file SoftwareTriggerCalculation.cc.
|
overridevirtual |
Actually write out the variables into the map.
< Events with high SVD-CDC occupancy
< Events in the injection strip
Implements SoftwareTriggerCalculation.
Definition at line 22 of file PrefilterCalculator.cc.
|
inherited |
Main function of this class: calculate the needed variables using the overwritten doCalculation function and write out the values into the results object (with their names).
Please make sure to override (or clear) the variables! Otherwise it can happen that their old values are still in the object.
What variables exactly are added to the result depends on the implementation details of the class.
Definition at line 44 of file SoftwareTriggerCalculation.cc.
|
overridevirtual |
Require the particle list. We do not need more here.
Implements SoftwareTriggerCalculation.
Definition at line 14 of file PrefilterCalculator.cc.
|
inherited |
Function to write out debug output into the given TTree.
Needs an already prefilled calculationResult for this (probably using the fillInCalculations function).
Definition at line 19 of file SoftwareTriggerCalculation.cc.
|
privateinherited |
Internal storage of the result of the calculation.
Definition at line 74 of file SoftwareTriggerCalculation.h.
|
privateinherited |
Flag to not add the branches twice to the TTree.
Definition at line 76 of file SoftwareTriggerCalculation.h.
|
private |
Helper instance for EventsOfDoom prefilter.
Definition at line 38 of file PrefilterCalculator.h.
|
private |
Helper instance for timing based prefilter.
Definition at line 40 of file PrefilterCalculator.h.