00001 #ifndef GaussianStateLessWeight_h_ 00002 #define GaussianStateLessWeight_h_ 00003 00004 #include "TrackingTools/GsfTools/interface/RCSingleGaussianState.h" 00005 00010 class GaussianStateLessWeight { 00011 00012 public: 00013 GaussianStateLessWeight() {} 00014 bool operator()(const RCSingleGaussianState a, 00015 const RCSingleGaussianState b) const 00016 { 00017 // ThS: No validity for RCSingleGaussianState 00018 // if ( !a.isValid() || !b.isValid() ) return false; 00019 return a->weight()>b->weight(); 00020 } 00021 }; 00022 00023 #endif