File indexing completed on 2024-04-06 12:31:29
0001 #ifndef GaussianStateLessWeight_h_
0002 #define GaussianStateLessWeight_h_
0003
0004 #include "TrackingTools/GsfTools/interface/SingleGaussianState.h"
0005 #include <memory>
0006
0007
0008
0009
0010
0011 template <unsigned int N>
0012 class GaussianStateLessWeight {
0013 private:
0014 typedef std::shared_ptr<SingleGaussianState<N> > SingleStatePtr;
0015
0016 public:
0017 GaussianStateLessWeight() {}
0018 bool operator()(const SingleStatePtr& a, const SingleStatePtr& b) const {
0019
0020
0021 return a->weight() > b->weight();
0022 }
0023 };
0024
0025 #endif