![]() |
Belle II Software
light-2303-iriomote
|
Class to handle storing SoftwareTriggerCuts in the database. More...
#include <DBRepresentationOfSoftwareTriggerCut.h>


Public Member Functions | |
| DBRepresentationOfSoftwareTriggerCut ()=default | |
| Default constructor for ROOT. | |
| DBRepresentationOfSoftwareTriggerCut (unsigned int preScaleFactor, const bool &isRejectCut, const std::string &cutString) | |
| Constructor from the three components pre scale factor, reject flag and cut string. | |
| const std::string & | getCutString () const |
| Return the cut string stored in this db representation. | |
| unsigned int | getPreScaleFactor () const |
| Return the list of pre scale factors. | |
| bool | isRejectCut () const |
| Returns true, if the cut is a reject cut and false otherwise. | |
Private Member Functions | |
| ClassDef (DBRepresentationOfSoftwareTriggerCut, 2) | |
| Make this class ready for ROOT. | |
Private Attributes | |
| std::string | m_cutString = "" |
| The internal storage of the string representation of the cut. | |
| std::vector< unsigned int > | m_preScaleFactor = {1} |
| The internal storage of the prescale factor of the cut. In former times, this was a vector but is not used anymore (only single entry) | |
| bool | m_isRejectCut = false |
| The internal storage if it is a reject cut. | |
Class to handle storing SoftwareTriggerCuts in the database.
As we do not want to upload cuts themselve (with all their dependencies and pointers), we decompile them back into a string and save only the string along with the prescale factor. When using the cut, they are recompiled back into a cut from the string representation.
Definition at line 26 of file DBRepresentationOfSoftwareTriggerCut.h.