CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/TrackingTools/GsfTools/interface/LargestWeightsStateMerger.h

Go to the documentation of this file.
00001 #ifndef LargestWeightsStateMerger_H
00002 #define LargestWeightsStateMerger_H
00003 
00004 #include "TrackingTools/GsfTools/interface/MultiGaussianStateMerger.h"
00005 
00010 class LargestWeightsStateMerger : public MultiGaussianStateMerger {
00011 
00012  public:
00013 
00014   LargestWeightsStateMerger(int n) : Nmax(n), theSmallestWeightsMerging(true) {
00015 //     initConfigurables();
00016   }
00017 
00018   virtual LargestWeightsStateMerger* clone() const
00019   {  
00020     return new LargestWeightsStateMerger(*this);
00021   }
00022   
00026   virtual RCMultiGaussianState merge(const RCMultiGaussianState& mgs) const;
00027   
00028  private:
00029 
00030 //   void initConfigurables();
00031   
00032   int Nmax;
00033   bool theSmallestWeightsMerging;
00034 
00035 };  
00036 
00037 #endif