Belle II Software development
|
Type-independent implementation details of SelectSubset. More...
#include <SelectSubset.h>
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 StoreAccessorBase * | getSet ()=0 |
Get accessor for original set. | |
virtual StoreAccessorBase * | getSubSet ()=0 |
Get accessor for reduced set. | |
void | swapSetsAndDestroyOriginal () |
Swap set and subset (+relations), and keep only the reduced set. | |
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. | |
bool | m_reduceExistingSet = false |
If true, non-selected candidates are removed from m_set, m_subset only exists temporarily. | |
Type-independent implementation details of SelectSubset.
Definition at line 29 of file SelectSubset.h.
|
inlineprotected |
Definition at line 50 of file SelectSubset.h.
|
inlineprotectedvirtual |
Definition at line 51 of file SelectSubset.h.
|
inline |
Get list of arrays we inherit relations from.
Definition at line 32 of file SelectSubset.h.
|
inline |
Get list of arrays we inherit relations to.
Definition at line 34 of file SelectSubset.h.
|
inline |
Do we inherit relations from original set to itself?
Definition at line 36 of file SelectSubset.h.
|
pure virtual |
Get accessor for original set.
Implemented in SelectSubset< StoredClass >, SelectSubset< Particle >, SelectSubset< Belle2::SpacePointTrackCand >, SelectSubset< Belle2::CDCDedxTrack >, SelectSubset< Belle2::ECLShower >, SelectSubset< Belle2::ECLCalDigit >, SelectSubset< Belle2::PXDCluster >, SelectSubset< Belle2::PXDRawHit >, SelectSubset< Belle2::PXDDigit >, SelectSubset< Belle2::Track >, SelectSubset< Belle2::RecoHitInformation >, SelectSubset< Belle2::SVDCluster >, SelectSubset< Belle2::SVDShaperDigit >, SelectSubset< Belle2::ECLCluster >, SelectSubset< Belle2::KLMCluster >, and SelectSubset< Belle2::V0 >.
|
pure virtual |
Get accessor for reduced set.
Implemented in SelectSubset< StoredClass >, SelectSubset< Particle >, SelectSubset< Belle2::SpacePointTrackCand >, SelectSubset< Belle2::CDCDedxTrack >, SelectSubset< Belle2::ECLShower >, SelectSubset< Belle2::ECLCalDigit >, SelectSubset< Belle2::PXDCluster >, SelectSubset< Belle2::PXDRawHit >, SelectSubset< Belle2::PXDDigit >, SelectSubset< Belle2::Track >, SelectSubset< Belle2::RecoHitInformation >, SelectSubset< Belle2::SVDCluster >, SelectSubset< Belle2::SVDShaperDigit >, SelectSubset< Belle2::ECLCluster >, SelectSubset< Belle2::KLMCluster >, and SelectSubset< Belle2::V0 >.
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.
|
protected |
array names we inherit relations from.
Definition at line 54 of file SelectSubset.h.
|
protected |
array names we inherit relations to.
Definition at line 56 of file SelectSubset.h.
|
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.
|
protected |
If true, non-selected candidates are removed from m_set, m_subset only exists temporarily.
Definition at line 60 of file SelectSubset.h.