|
| TrigMatchToolCore () |
|
virtual | ~TrigMatchToolCore () |
|
template<typename trigType > |
std::vector< const trigType * > | getTriggerObjects (const std::string &chainName, bool onlyPassedFeatures) const |
| getTriggerObjects returns the objects of the specified type from the specified chain. More...
|
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | matchToTriggerObjects (const baseType *baseObject, const std::string &chainName, float maxDistance, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
| matchToTriggerObjects returns the objects of type trigType from chain chainName, which match to baseObject, sorted by distance from baseObject according to metric. More...
|
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | matchToTriggerObjects (const baseType *baseObject, const std::string &chainName, float maxDistance=0.1, bool onlyPassedFeatures=false) const |
|
template<typename trigType , typename baseType > |
const trigType * | matchToTriggerObject (const baseType *baseObject, const std::string &chainName, float maxDistance, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
| matchToTriggerObject returns the object of type trigType from chain chainName, which has the lowest distance to baseObject according to metric. More...
|
|
template<typename trigType , typename baseType > |
const trigType * | matchToTriggerObject (const baseType *baseObject, const std::string &chainName, float maxDistance=0.1, bool onlyPassedFeatures=false) const |
|
template<typename trigType , typename baseType > |
const trigType * | matchToTriggerObject (const baseType *, const std::string &, bool) const |
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | matchedTriggerObjects (const DataVector< baseType > &baseObjects, const std::string &chainName, float maxDistance, bool onlyBestMatch, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
| matchedTriggerObjects returns a vector of trigger objects from chain chainName that match to one or more of the objects passed according to the matching criteria specified. More...
|
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | matchedTriggerObjects (const DataVector< baseType > &baseObjects, const std::string &chainName, float maxDistance=0.1, bool onlyBestMatch=true, bool onlyPassedFeatures=false) const |
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | matchedTriggerObjects (const std::vector< const baseType * > &baseObjects, const std::string &chainName, float maxDistance, bool onlyBestMatch, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | matchedTriggerObjects (const std::vector< const baseType * > &baseObjects, const std::string &chainName, float maxDistance=0.1, bool onlyBestMatch=true, bool onlyPassedFeatures=false) const |
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | unmatchedTriggerObjects (const DataVector< baseType > &baseObjects, const std::string &chainName, float maxDistance, bool onlyBestMatch, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
| unmatchedTriggerObjects returns a vector of trigger objects from chain chainName that do not match to any of the objects passed according to the matching criteria specified. More...
|
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | unmatchedTriggerObjects (const DataVector< baseType > &baseObjects, const std::string &chainName, float maxDistance=0.1, bool onlyBestMatch=true, bool onlyPassedFeatures=false) const |
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | unmatchedTriggerObjects (const std::vector< const baseType * > &baseObjects, const std::string &chainName, float maxDistance, bool onlyBestMatch, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | unmatchedTriggerObjects (const std::vector< const baseType * > &baseObjects, const std::string &chainName, float maxDistance=0.1, bool onlyBestMatch=true, bool onlyPassedFeatures=false) const |
|
template<typename trigType , typename baseType > |
bool | chainPassedByObject (const baseType *baseObject, const std::string &chainName, float maxDistance, const DistanceFunctor< trigType, baseType > *metric) const |
| chainPassedByObject returns true if the supplied object matches a trigger object of type trigType in the supplied chain, associated with an active TE, and false otherwise. More...
|
|
template<typename trigType , typename baseType > |
bool | chainPassedByObject (const baseType *baseObject, const std::string &chainName, float maxDistance=0.1) const |
|
template<typename trigType , typename baseType > |
std::vector< std::string > | chainsPassedByObject (const baseType *baseObject, float maxDistance, const DistanceFunctor< trigType, baseType > *metric) const |
| chainsPassedByObject returns a list of the chains which are marked as passed in the navigation, and in which the supplied recoObject matches an object of type trigType with distance, as calculated by metric, of less than maxDistance. More...
|
|
template<typename trigType , typename baseType > |
std::vector< std::string > | chainsPassedByObject (const baseType *baseObject, float maxDistance=0.1) const |
|
template<typename trigType , typename baseType > |
std::vector< const baseType * > | objectsInChain (const std::vector< const baseType * > &baseObjects, const std::string &chainName, bool onlyPassedFeatures, float maxDistance, const DistanceFunctor< trigType, baseType > *metric) const |
| objectsInChain returns a container of reco objects which match to objects of type trigType in the specified chain, where a match is defined by a distance, according to the supplied metric, of less than maxDistance. More...
|
|
template<typename trigType , typename baseType > |
std::vector< const baseType * > | objectsInChain (const std::vector< const baseType * > &baseObjects, const std::string &chainName, bool onlyPassedFeatures=false, float maxDistance=0.1) const |
|
template<typename trigType , typename baseType > |
std::map< const trigType *, std::vector< std::string > > | matchToAllTriggerObjects (const baseType *baseObject, float maxDistance, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
| matchToAllObjects returns a map from matched objects to the chains they were found in. More...
|
|
template<typename trigType , typename baseType > |
std::map< const trigType *, std::vector< std::string > > | matchToAllTriggerObjects (const baseType *baseObject, float maxDistance=0.1, bool onlyPassedFeatures=false) const |
|
TrigMatchToolCore::FeatureLabelHolder | setFeatureLabel (const std::string &label) |
| setFeatureLabel is used to set the label to be used when extracting features from the navigation. More...
|
|
template<typename T , typename U > |
float | distance (const T *t, const U *u, const DistanceFunctor< T, U > *metric) const |
| distance returns the distance between the two supplied objects using metric, if available, or the default metric, if not. More...
|
|
template<typename T , typename U > |
float | distance (const T *t, const U *u) const |
|
template<typename T , typename U > |
std::vector< const T * > | matchToObjects (const U *matchObject, const std::vector< const T * > &targetObjects, float maxDistance, const DistanceFunctor< T, U > *metric) const |
| matchToObjects returns the objects of type T from the supplied vector that match to matchObject, sorted by distance from the matchObject according to metric. More...
|
|
template<typename T , typename U > |
std::vector< const T * > | matchToObjects (const U *matchObject, const std::vector< const T * > &targetObjects, float maxDistance=0.1) const |
|
template<typename T , typename U > |
std::vector< const T * > | matchToObjects (const U *matchObject, const DataVector< T > &targetObjects, float maxDistance, const DistanceFunctor< T, U > *metric) const |
|
template<typename T , typename U > |
std::vector< const T * > | matchToObjects (const U *matchObject, const DataVector< T > &targetObjects, float maxDistance=0.1) const |
|
template<typename T , typename U > |
bool | anyMatch (const U *matchObject, const std::vector< const T * > &targetObjects, float maxDistance, const DistanceFunctor< T, U > *metric) const |
|
template<typename T , typename U > |
bool | anyMatch (const U *matchObject, const std::vector< const T * > &targetObjects, float maxDistance) const |
|
template<typename T , typename U > |
const T * | matchToObject (const U *matchObject, const std::vector< const T * > &targetObjects, float maxDistance, const DistanceFunctor< T, U > *metric) const |
| matchToObject returns the object of type T from the suppled vector that best matches matchObject according to the distance metric, if available, or if not, according the the default metric. More...
|
|
template<typename T , typename U > |
const T * | matchToObject (const U *matchObject, const std::vector< const T * > &targetObjects, float maxDistance=0.1) const |
|
template<typename T , typename U > |
const T * | matchToObject (const U *matchObject, const DataVector< T > &targetObjects, float maxDistance, const DistanceFunctor< T, U > *metric) const |
|
template<typename T , typename U > |
const T * | matchToObject (const U *matchObject, const DataVector< T > &targetObjects, float maxDistance=0.1) const |
|
|
virtual void | warning (const std::string &w) const =0 |
|
virtual bool | changedDecisionAware () const |
|
virtual std::vector< std::string > | getConfiguredChainNames () const =0 |
|
virtual Trig::FeatureContainer | getFeatureContainer (const std::string &chainName, const int condition) const =0 |
|
template<typename trait > |
std::string | propagateChainNames (const std::string &chainName, const trait *) const |
|
std::string | propagateChainNames (const std::string &chainName, const TrigMatch::AncestorAttached *) const |
|
virtual std::string | propagateChainNames (const std::string &chainName) const |
|
virtual std::string | lowerChainName (const std::string &chainName) const =0 |
|
template<typename trigType > |
void | getObjects (std::vector< const trigType * > &objects, const std::string &chainName, bool onlyPassedFeatures) const |
|
template<typename trigType > |
void | getObjects (std::vector< const trigType * > &objects, size_t chainIndex, bool onlyPassedFeatures) const |
|
template<typename trigType > |
void | collectObjects (const std::string &featureLabel, std::vector< const trigType * > &objects, const Trig::FeatureContainer &featureContainer, bool onlyPassedFeatures, const TrigMatch::DirectAttached *) const |
|
template<typename trigType , typename contType > |
void | collectObjects (const std::string &featureLabel, std::vector< const trigType * > &objects, const Trig::FeatureContainer &featureContainer, bool onlyPassedFeatures, const contType *) const |
|
template<typename trigType > |
void | collectObjects (const std::string &featureLabel, std::vector< const trigType * > &objects, const Trig::FeatureContainer &featureContainer, bool onlyPassedFeatures, const TrigMatch::AncestorAttached *) const |
|
size_t | chainNameToIndex (const std::string &chainName) const |
|
template<typename trigType > |
std::vector< const trigType * > | getTriggerObjects (size_t chainIndex, bool onlyPassedFeatures) const |
| Alternate version of getTriggerObjects taking a chain index. More...
|
|
template<typename trigType , typename baseType > |
std::vector< const trigType * > | matchToTriggerObjects (const baseType *baseObject, size_t chainIndex, float maxDistance, bool onlyPassedFeatures, const DistanceFunctor< trigType, baseType > *metric) const |
| matchToTriggerObjects returns the objects of type trigType from chain chainName, which match to baseObject, sorted by distance from baseObject according to metric. More...
|
|
template<typename trigType , typename baseType > |
bool | chainPassedByObject (const baseType *baseObject, size_t chainIndex, float maxDistance, const DistanceFunctor< trigType, baseType > *metric) const |
|
template<typename trigType > |
TrigFeatureCache< trigType > & | getCache (int type_key, SlotCache &slotCache, const SlotCache::lock_t &lock) const |
|
TrigFeatureCacheBase *& | getCache1 (const std::type_info *tid, int type_key, SlotCache &slotCache, const SlotCache::lock_t &lock) const |
|
const Trig::FeatureContainer & | getCachedFeatureContainer (size_t chainIndex, SlotCache &cache, const SlotCache::lock_t &lock) const |
|