//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Functor for comparison of pointers to TpcClusters // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCCLUSTERDIST_HH #define TPCCLUSTERDIST_HH class TpcCluster; class TpcClusterDist { public: // Constructors/Destructors --------- TpcClusterDist(bool dir=1): fdir(dir){;} ~TpcClusterDist(){;} // Operators bool operator()(TpcCluster* s1, TpcCluster* s2); private: bool fdir; // true=> sorting from back to front; false=> forward sorting }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------