CMS 3D CMS Logo

VertexFitterManager Class Reference

#include <RecoVertex/ConfigurableVertexReco/interface/VertexFitterManager.h>

List of all members.

Public Member Functions

VertexFitterManagerclone () const
std::string describe (const std::string &)
std::map< std::string,
AbstractConfFitter * > 
get ()
AbstractConfFitterget (const std::string &)
void registerFitter (const std::string &name, AbstractConfFitter *o, const std::string &description)
 ~VertexFitterManager ()

Static Public Member Functions

static VertexFitterManagerInstance ()

Private Member Functions

 VertexFitterManager ()
 VertexFitterManager (const VertexFitterManager &)

Private Attributes

std::map< std::string,
AbstractConfFitter * > 
theAbstractConfFitters
std::map< std::string,
std::string > 
theDescription


Detailed Description

Class that manages the vertex reconstruction strategies

Definition at line 12 of file VertexFitterManager.h.


Constructor & Destructor Documentation

VertexFitterManager::~VertexFitterManager (  ) 

Definition at line 17 of file VertexFitterManager.cc.

00018 {
00019   /*
00020    * Let the VertexRecoManager delete them (they all register there, as well!)
00021   for ( map < string, AbstractConfFitter * >::iterator i=theAbstractConfFitters.begin(); 
00022         i!=theAbstractConfFitters.end() ; ++i )
00023   {
00024     delete i->second;
00025   }*/
00026 }

VertexFitterManager::VertexFitterManager ( const VertexFitterManager o  )  [private]

Definition at line 38 of file VertexFitterManager.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), and cmsRelvalreport::exit.

00039 {
00040   std::cout << "[VertexFitterManager] copy constructor! Error!" << std::endl;
00041   exit(0);
00042   /*
00043   for ( map < string, AbstractConfFitter * >::const_iterator i=o.theAbstractConfFitters.begin(); 
00044         i!=o.theAbstractConfFitters.end() ; ++i )
00045   {
00046     theAbstractConfFitters[ i->first ] = i->second->clone();
00047   }
00048   
00049   theIsEnabled=o.theIsEnabled;
00050   */
00051 }

VertexFitterManager::VertexFitterManager (  )  [private]

Definition at line 69 of file VertexFitterManager.cc.

Referenced by clone().

00070 {}


Member Function Documentation

VertexFitterManager * VertexFitterManager::clone ( void   )  const

Definition at line 33 of file VertexFitterManager.cc.

References VertexFitterManager().

00034 {
00035   return new VertexFitterManager ( * this );
00036 }

std::string VertexFitterManager::describe ( const std::string &  d  ) 

Definition at line 28 of file VertexFitterManager.cc.

References theDescription.

00029 {
00030   return theDescription[d];
00031 }

map< string, AbstractConfFitter * > VertexFitterManager::get ( void   ) 

Definition at line 64 of file VertexFitterManager.cc.

References theAbstractConfFitters.

00065 {
00066   return theAbstractConfFitters;
00067 }

AbstractConfFitter* VertexFitterManager::get ( const std::string &   ) 

Referenced by ConfigurableVertexFitter::ConfigurableVertexFitter(), and errorNoFitter().

VertexFitterManager & VertexFitterManager::Instance (  )  [static]

Definition at line 53 of file VertexFitterManager.cc.

Referenced by ConfigurableVertexFitter::ConfigurableVertexFitter(), and errorNoFitter().

00054 {
00055   static VertexFitterManager singleton;
00056   return singleton;
00057 }

void VertexFitterManager::registerFitter ( const std::string &  name,
AbstractConfFitter o,
const std::string &  description 
)


Member Data Documentation

std::map< std::string, AbstractConfFitter * > VertexFitterManager::theAbstractConfFitters [private]

Definition at line 29 of file VertexFitterManager.h.

Referenced by get().

std::map< std::string, std::string > VertexFitterManager::theDescription [private]

Definition at line 30 of file VertexFitterManager.h.

Referenced by describe().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:35:00 2009 for CMSSW by  doxygen 1.5.4