#include <CommutativePairs.h>
Public Member Functions | |
void | concatenate (CommutativePairs< T > const &other) |
Add the pairs from another CommutativePairs to this. More... | |
bool | contains (T const &a, T const &b) const |
bool | contains (T const &a) const |
void | insert (T const &a, T const &b) |
Private Attributes | |
std::vector< std::pair< T, T > > | pairs_ |
Wrapper around std::vector<std::pair<T, T>> when the order of the pair elements is not relevant.
T | the type of data stored in the pairs |
Definition at line 14 of file CommutativePairs.h.
|
inline |
Add the pairs from another CommutativePairs to this.
Definition at line 40 of file CommutativePairs.h.
Referenced by PFEGammaAlgo::mergeROsByAnyLink().
|
inline |
Definition at line 20 of file CommutativePairs.h.
Referenced by PFEGammaAlgo::calculateEleMVA(), PFEGammaAlgo::unlinkRefinableObjectKFandECALMatchedToHCAL(), and PFEGammaAlgo::unlinkRefinableObjectKFandECALWithBadEoverP().
|
inline |
Definition at line 30 of file CommutativePairs.h.
|
inline |
Definition at line 17 of file CommutativePairs.h.
Referenced by PFEGammaAlgo::initializeProtoCands(), PFEGammaAlgo::linkKFTrackToECAL(), PFEGammaAlgo::linkRefinableObjectBremTangentsToECAL(), PFEGammaAlgo::linkRefinableObjectConvSecondaryKFsToSecondaryKFs(), PFEGammaAlgo::linkRefinableObjectECALToSingleLegConv(), PFEGammaAlgo::linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::linkRefinableObjectPrimaryGSFTrackToECAL(), PFEGammaAlgo::linkRefinableObjectPrimaryGSFTrackToHCAL(), PFEGammaAlgo::linkRefinableObjectPrimaryKFsToSecondaryKFs(), and PFEGammaAlgo::linkRefinableObjectSecondaryKFsToECAL().
|
private |
Definition at line 45 of file CommutativePairs.h.
Referenced by CommutativePairs< const reco::PFBlockElement * >::concatenate(), CommutativePairs< const reco::PFBlockElement * >::contains(), and CommutativePairs< const reco::PFBlockElement * >::insert().