CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/RecoVertex/ConfigurableVertexReco/interface/ConfRecoBuilder.h

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