CMS 3D CMS Logo

KeepingNonZeroWeightsMerger Class Reference

Merging of a Gaussian mixture by keeping the components with weights larger than a cut value. More...

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

Inheritance diagram for KeepingNonZeroWeightsMerger:

MultiGaussianStateMerger< N >

List of all members.

Public Member Functions

virtual
KeepingNonZeroWeightsMerger
clone () const
 KeepingNonZeroWeightsMerger (const double &value)
 KeepingNonZeroWeightsMerger ()
virtual RCMultiGaussianState merge (const RCMultiGaussianState &mgs) const
 Method which does the actual merging.

Private Attributes

double cut


Detailed Description

Merging of a Gaussian mixture by keeping the components with weights larger than a cut value.

Definition at line 10 of file KeepingNonZeroWeightsMerger.h.


Constructor & Destructor Documentation

KeepingNonZeroWeightsMerger::KeepingNonZeroWeightsMerger (  )  [inline]

Definition at line 14 of file KeepingNonZeroWeightsMerger.h.

Referenced by clone().

00014 : cut(1.e-7) {}

KeepingNonZeroWeightsMerger::KeepingNonZeroWeightsMerger ( const double &  value  )  [inline]

Definition at line 16 of file KeepingNonZeroWeightsMerger.h.

00016 : cut(value) {}


Member Function Documentation

virtual KeepingNonZeroWeightsMerger* KeepingNonZeroWeightsMerger::clone ( void   )  const [inline, virtual]

Implements MultiGaussianStateMerger< N >.

Definition at line 18 of file KeepingNonZeroWeightsMerger.h.

References KeepingNonZeroWeightsMerger().

00019   {  
00020     return new KeepingNonZeroWeightsMerger(*this);
00021   }

virtual RCMultiGaussianState KeepingNonZeroWeightsMerger::merge ( const RCMultiGaussianState mgs  )  const [virtual]

Method which does the actual merging.

Returns a trimmed MultiGaussianState


Member Data Documentation

double KeepingNonZeroWeightsMerger::cut [private]

Definition at line 30 of file KeepingNonZeroWeightsMerger.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:26:16 2009 for CMSSW by  doxygen 1.5.4