#include <RecoVertex/ConfigurableVertexReco/interface/VertexRecoManager.h>
Public Member Functions | |
VertexRecoManager * | clone () const |
std::string | describe (const std::string &) |
std::map< std::string, AbstractConfReconstructor * > | get () |
AbstractConfReconstructor * | get (const std::string &) |
void | registerReconstructor (const std::string &name, AbstractConfReconstructor *o, const std::string &description) |
~VertexRecoManager () | |
Static Public Member Functions | |
static VertexRecoManager & | Instance () |
Private Member Functions | |
VertexRecoManager () | |
VertexRecoManager (const VertexRecoManager &) | |
Private Attributes | |
std::map< std::string, AbstractConfReconstructor * > | theAbstractConfReconstructors |
std::map< std::string, std::string > | theDescription |
Definition at line 12 of file VertexRecoManager.h.
VertexRecoManager::~VertexRecoManager | ( | ) |
Definition at line 12 of file VertexRecoManager.cc.
00013 { 00014 // why should we delete? 00015 /* 00016 for ( map < string, AbstractConfReconstructor * >::iterator i=theAbstractConfReconstructors.begin(); 00017 i!=theAbstractConfReconstructors.end() ; ++i ) 00018 { 00019 delete i->second; 00020 }*/ 00021 }
VertexRecoManager::VertexRecoManager | ( | const VertexRecoManager & | o | ) | [private] |
Definition at line 33 of file VertexRecoManager.cc.
References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), and cmsRelvalreport::exit.
00034 { 00035 std::cout << "[VertexRecoManager] copy constructor! Error!" << std::endl; 00036 exit(0); 00037 /* 00038 for ( map < string, AbstractConfReconstructor * >::const_iterator i=o.theAbstractConfReconstructors.begin(); 00039 i!=o.theAbstractConfReconstructors.end() ; ++i ) 00040 { 00041 theAbstractConfReconstructors[ i->first ] = i->second->clone(); 00042 } 00043 00044 theIsEnabled=o.theIsEnabled; 00045 */ 00046 }
VertexRecoManager::VertexRecoManager | ( | ) | [private] |
VertexRecoManager * VertexRecoManager::clone | ( | void | ) | const |
Definition at line 28 of file VertexRecoManager.cc.
References VertexRecoManager().
00029 { 00030 return new VertexRecoManager ( * this ); 00031 }
std::string VertexRecoManager::describe | ( | const std::string & | d | ) |
Definition at line 23 of file VertexRecoManager.cc.
References theDescription.
00024 { 00025 return theDescription[d]; 00026 }
map< string, AbstractConfReconstructor * > VertexRecoManager::get | ( | void | ) |
Definition at line 59 of file VertexRecoManager.cc.
References theAbstractConfReconstructors.
00060 { 00061 return theAbstractConfReconstructors; 00062 }
AbstractConfReconstructor* VertexRecoManager::get | ( | const std::string & | ) |
VertexRecoManager & VertexRecoManager::Instance | ( | ) | [static] |
Definition at line 48 of file VertexRecoManager.cc.
Referenced by ConfigurableVertexReconstructor::ConfigurableVertexReconstructor(), and errorNoReconstructor().
00049 { 00050 static VertexRecoManager singleton; 00051 return singleton; 00052 }
void VertexRecoManager::registerReconstructor | ( | const std::string & | name, | |
AbstractConfReconstructor * | o, | |||
const std::string & | description | |||
) |
std::map< std::string, AbstractConfReconstructor * > VertexRecoManager::theAbstractConfReconstructors [private] |
std::map< std::string, std::string > VertexRecoManager::theDescription [private] |