Belle II Software  release-08-01-10
SoftwareTriggerCutBase Class Reference

Base class for the SoftwareTriggerCut and its DBRepresentation. More...

#include <SoftwareTriggerCutBase.h>

Inheritance diagram for SoftwareTriggerCutBase:
Collaboration diagram for SoftwareTriggerCutBase:

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

SoftwareTriggerCutBaseoperator= (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.
 

Detailed Description

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.


The documentation for this class was generated from the following file: