CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/RecoVertex/ConfigurableVertexReco/interface/ConfFitterBuilder.h

Go to the documentation of this file.
00001 #ifndef _ConfFitterBuilder_H_
00002 #define _ConfFitterBuilder_H_
00003 
00004 #include "RecoVertex/ConfigurableVertexReco/interface/VertexFitterManager.h"
00005 
00010 template < class O > class ConfFitterBuilder {
00011 public:
00012   ConfFitterBuilder < O > ( const std::string & name, const std::string & description  )
00013   {
00014     VertexFitterManager::Instance().registerFitter ( name, new O(), description );
00015   }
00016 };
00017 
00018 #endif // _ConfFitterBuilder_H_