Jpp
Namespaces | Functions
JAlgorithm.hh File Reference
#include <vector>
#include <algorithm>
#include <iterator>
#include "JTrigger/JMatch.hh"

Go to the source code of this file.

Namespaces

 JTRIGGER
 Checksum.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class JHitIterator_t , class JHit_t >
JHitIterator_t JTRIGGER::clusterize (JHitIterator_t __begin, JHitIterator_t __end, const JMatch< JHit_t > &match, const int Nmin=1)
 Partition data according given binary match operator. More...
 
template<class JHitIterator_t , class JHit_t >
JHitIterator_t JTRIGGER::clusterize (JHitIterator_t __begin, JHitIterator_t __end, const JMatch< JHit_t > &match, const int Nmin, std::random_access_iterator_tag)
 Implementation of method clusterize for random access iterators. More...
 
template<class JHitIterator_t , class JHit_t >
JHitIterator_t JTRIGGER::reverse_clusterize (JHitIterator_t __begin, JHitIterator_t __end, const JMatch< JHit_t > &match)
 Partition data according given binary match operator. More...
 
template<class JHitIterator_t , class JHit_t >
JHitIterator_t JTRIGGER::reverse_clusterize (JHitIterator_t __begin, JHitIterator_t __end, const JMatch< JHit_t > &match, std::random_access_iterator_tag)
 Implementation of method reverse_clusterize for random access iterators. More...
 
template<class JHitIterator_t , class JComparator_t , class JHit_t >
JHitIterator_t JTRIGGER::clusterize (JHitIterator_t __begin, JHitIterator_t __end, JComparator_t comparator, const JMatch< JHit_t > &match)
 Select best root hit according given comparator and partition remaining data according given binary match operator and this root hit. More...
 
template<class JHitIterator_t , class JHit_t >
JHitIterator_t JTRIGGER::clusterizeWeight (JHitIterator_t __begin, JHitIterator_t __end, const JMatch< JHit_t > &match)
 Partition data according given binary match operator. More...
 
template<class JHitIterator_t , class JHit_t >
JHitIterator_t JTRIGGER::clusterizeWeight (JHitIterator_t __begin, JHitIterator_t __end, const JMatch< JHit_t > &match, std::random_access_iterator_tag)
 Implementation of method clusterizeWeight for random access iterators. More...
 
template<class JHit_t >
bool JTRIGGER::weightSorter (const JHit_t &first, const JHit_t &second)
 Compare two hits by weight. More...
 
template<class JHit_t >
bool JTRIGGER::timeSorter (const JHit_t &first, const JHit_t &second)
 Compare two hits by weight. More...
 

Detailed Description

Algorithms for hit clustering and sorting.

Author
mdejong

Definition in file JAlgorithm.hh.