CMS 3D CMS Logo

GaussianStateLessWeight< N > Class Template Reference

Compare two SingleGaussianState acc. More...

#include <TrackingTools/GsfTools/interface/GaussianStateLessWeight.h>

List of all members.

Public Member Functions

 GaussianStateLessWeight ()
 GaussianStateLessWeight ()
bool operator() (const RCSingleGaussianState a, const RCSingleGaussianState b) const
bool operator() (const SingleStatePtr &a, const SingleStatePtr &b) const

Private Types

typedef boost::shared_ptr
< SingleGaussianState< N > > 
SingleStatePtr


Detailed Description

template<unsigned int N>
class GaussianStateLessWeight< N >

Compare two SingleGaussianState acc.

to their weight.

Definition at line 12 of file GaussianStateLessWeight.h.


Member Typedef Documentation

template<unsigned int N>
typedef boost::shared_ptr< SingleGaussianState<N> > GaussianStateLessWeight< N >::SingleStatePtr [private]

Definition at line 15 of file GaussianStateLessWeight.h.


Constructor & Destructor Documentation

template<unsigned int N>
GaussianStateLessWeight< N >::GaussianStateLessWeight (  )  [inline]

Definition at line 18 of file GaussianStateLessWeight.h.

00018 {}

template<unsigned int N>
GaussianStateLessWeight< N >::GaussianStateLessWeight (  )  [inline]

Definition at line 13 of file GaussianStateLessWeight.h.

00013 {}


Member Function Documentation

template<unsigned int N>
bool GaussianStateLessWeight< N >::operator() ( const RCSingleGaussianState  a,
const RCSingleGaussianState  b 
) const [inline]

Definition at line 14 of file GaussianStateLessWeight.h.

00016   {
00017 // ThS: No validity for RCSingleGaussianState
00018 //     if ( !a.isValid() || !b.isValid() )  return false;
00019     return a->weight()>b->weight();
00020   }

template<unsigned int N>
bool GaussianStateLessWeight< N >::operator() ( const SingleStatePtr a,
const SingleStatePtr b 
) const [inline]

Definition at line 19 of file GaussianStateLessWeight.h.

00021   {
00022 // ThS: No validity for SingleGaussianState
00023 //     if ( !a.isValid() || !b.isValid() )  return false;
00024     return a->weight()>b->weight();
00025   }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:21:09 2009 for CMSSW by  doxygen 1.5.4