CMS 3D CMS Logo

ConfigurableVertexFitter.cc File Reference

#include "RecoVertex/ConfigurableVertexReco/interface/ConfigurableVertexFitter.h"
#include "RecoVertex/ConfigurableVertexReco/interface/VertexFitterManager.h"

Go to the source code of this file.

Functions

void errorNoFitter (const string &finder)


Function Documentation

void @14872::errorNoFitter ( const string &  finder  )  [static]

Definition at line 7 of file ConfigurableVertexFitter.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), VertexFitterManager::get(), i, VertexFitterManager::Instance(), and TrackValidation_HighPurity_cff::valid.

Referenced by ConfigurableVertexFitter::ConfigurableVertexFitter().

00008   {
00009     cout << "[ConfigurableVertexFitter] got no fitter for \""
00010          << finder << "\"" << endl;
00011     map < string, AbstractConfFitter * > valid = 
00012       VertexFitterManager::Instance().get();
00013     cout << "  Valid fitters are:";
00014     for ( map < string, AbstractConfFitter * >::const_iterator i=valid.begin(); 
00015           i!=valid.end() ; ++i )
00016     {
00017       if ( i->second ) cout << "  " << i->first;
00018     }
00019     cout << endl;
00020     throw std::string ( finder + " not available!" );
00021   }


Generated on Tue Jun 9 17:55:41 2009 for CMSSW by  doxygen 1.5.4