//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of class TpcClusterZ // see TpcClusterZ.h for details // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- // This Class' Header ------------------ #include "TpcClusterZ.h" #include "TpcCluster.h" bool TpcClusterZ::operator()(TpcCluster* s1, TpcCluster* s2) { double r1=s1->pos().Z(); double r2=s2->pos().Z(); if(fdir)return r1>r2; else return r1