Belle II Software light-2406-ragdoll
|
Base class for the SoftwareTriggerCut and its DBRepresentation. More...
#include <SoftwareTriggerCutBase.h>
Public Member Functions | |
SoftwareTriggerCutBase (unsigned int preScaleFactor=1, const bool &isRejectCut=false) | |
Create a new base instance. This should rarely be called by yourself. | |
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 | |
SoftwareTriggerCutBase & | operator= (const SoftwareTriggerCutBase &)=delete |
Do not copy/assign this object. | |
SoftwareTriggerCutBase (const SoftwareTriggerCutBase &rhs)=delete | |
Do not copy this object. | |
Private Attributes | |
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. | |
Base class for the SoftwareTriggerCut and its DBRepresentation.
This is needed as we do not want to upload the GeneralCut with all of its pointers to the database, but rather decompile the cut back into a string before and compile it again after down- and upload. This base class hosts all the properties that are common to both implementations, which is the pre scale factor list and the cut type (reject or accept).
Please refer to the child classes (especially to SoftwareTriggerCut) for mroe information.
Definition at line 25 of file SoftwareTriggerCutBase.h.
|
inline |
Create a new base instance. This should rarely be called by yourself.
Definition at line 28 of file SoftwareTriggerCutBase.h.
|
inline |
Return the list of pre scale factors.
Definition at line 34 of file SoftwareTriggerCutBase.h.
|
inline |
Returns true, if the cut is a reject cut and false otherwise.
Definition at line 41 of file SoftwareTriggerCutBase.h.
|
private |
The internal storage if it is a reject cut.
Definition at line 55 of file SoftwareTriggerCutBase.h.
|
private |
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.