Belle II Software light-2406-ragdoll
|
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.
|
inline |
Constructor from the three components pre scale factor, reject flag and cut string.
Definition at line 32 of file DBRepresentationOfSoftwareTriggerCut.h.
|
inline |
Return the cut string stored in this db representation.
Definition at line 36 of file DBRepresentationOfSoftwareTriggerCut.h.
|
inlineinherited |
Return the list of pre scale factors.
Definition at line 34 of file SoftwareTriggerCutBase.h.
|
inlineinherited |
Returns true, if the cut is a reject cut and false otherwise.
Definition at line 41 of file SoftwareTriggerCutBase.h.
|
private |
The internal storage of the string representation of the cut.
Definition at line 42 of file DBRepresentationOfSoftwareTriggerCut.h.
|
privateinherited |
The internal storage if it is a reject cut.
Definition at line 55 of file SoftwareTriggerCutBase.h.
|
privateinherited |
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)
Definition at line 53 of file SoftwareTriggerCutBase.h.