Belle II Software  release-08-01-10
SelectSubsetBase Class Referenceabstract

Type-independent implementation details of SelectSubset. More...

#include <SelectSubset.h>

Inheritance diagram for SelectSubsetBase:
Collaboration diagram for SelectSubsetBase:

Public Member Functions

std::vector< std::string > getInheritFromArrays () const
 Get list of arrays we inherit relations from.
 
std::vector< std::string > getInheritToArrays () const
 Get list of arrays we inherit relations to.
 
bool getInheritToSelf () const
 Do we inherit relations from original set to itself?
 
virtual StoreAccessorBasegetSet ()=0
 Get accessor for original set.
 
virtual StoreAccessorBasegetSubSet ()=0
 Get accessor for reduced set.
 
void swapSetsAndDestroyOriginal ()
 Swap set and subset (+relations), and keep only the reduced set. More...
 

Protected Attributes

std::vector< std::string > m_inheritFromArrays
 array names we inherit relations from.
 
std::vector< std::string > m_inheritToArrays
 array names we inherit relations to.
 
bool m_inheritToSelf = false
 If true, relations from set objects to set objects are copied. More...
 
bool m_reduceExistingSet = false
 If true, non-selected candidates are removed from m_set, m_subset only exists temporarily.
 

Detailed Description

Type-independent implementation details of SelectSubset.

Definition at line 29 of file SelectSubset.h.

Member Function Documentation

◆ swapSetsAndDestroyOriginal()

void swapSetsAndDestroyOriginal ( )

Swap set and subset (+relations), and keep only the reduced set.

Subset and associated relations will be empty afterwards.

Definition at line 14 of file SelectSubset.cc.

Member Data Documentation

◆ m_inheritToSelf

bool m_inheritToSelf = false
protected

If true, relations from set objects to set objects are copied.

(if both objects are selected!).

Definition at line 58 of file SelectSubset.h.


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