CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
VertexRecoManager Class Reference

#include <VertexRecoManager.h>

Public Member Functions

VertexRecoManagerclone () const
 
std::string describe (const std::string &)
 
AbstractConfReconstructorget (const std::string &)
 
std::map< std::string,
AbstractConfReconstructor * > 
get ()
 
void registerReconstructor (const std::string &name, AbstractConfReconstructor *o, const std::string &description)
 
 ~VertexRecoManager ()
 

Static Public Member Functions

static VertexRecoManagerInstance ()
 

Private Member Functions

 VertexRecoManager (const VertexRecoManager &)
 
 VertexRecoManager ()
 

Private Attributes

std::map< std::string,
AbstractConfReconstructor * > 
theAbstractConfReconstructors
 
std::map< std::string,
std::string > 
theDescription
 

Detailed Description

Class that manages the vertex reconstruction strategies

Definition at line 12 of file VertexRecoManager.h.

Constructor & Destructor Documentation

VertexRecoManager::~VertexRecoManager ( )

Definition at line 12 of file VertexRecoManager.cc.

13 {
14  // why should we delete?
15  /*
16  for ( map < string, AbstractConfReconstructor * >::iterator i=theAbstractConfReconstructors.begin();
17  i!=theAbstractConfReconstructors.end() ; ++i )
18  {
19  delete i->second;
20  }*/
21 }
VertexRecoManager::VertexRecoManager ( const VertexRecoManager o)
private

Definition at line 33 of file VertexRecoManager.cc.

References gather_cfg::cout, and cmsRelvalreport::exit.

34 {
35  std::cout << "[VertexRecoManager] copy constructor! Error!" << std::endl;
36  exit(0);
37  /*
38  for ( map < string, AbstractConfReconstructor * >::const_iterator i=o.theAbstractConfReconstructors.begin();
39  i!=o.theAbstractConfReconstructors.end() ; ++i )
40  {
41  theAbstractConfReconstructors[ i->first ] = i->second->clone();
42  }
43 
44  theIsEnabled=o.theIsEnabled;
45  */
46 }
tuple cout
Definition: gather_cfg.py:121
VertexRecoManager::VertexRecoManager ( )
private

Definition at line 64 of file VertexRecoManager.cc.

65 {}

Member Function Documentation

VertexRecoManager * VertexRecoManager::clone ( void  ) const

Definition at line 28 of file VertexRecoManager.cc.

29 {
30  return new VertexRecoManager ( * this );
31 }
std::string VertexRecoManager::describe ( const std::string &  d)

Definition at line 23 of file VertexRecoManager.cc.

24 {
25  return theDescription[d];
26 }
std::map< std::string, std::string > theDescription
AbstractConfReconstructor* VertexRecoManager::get ( const std::string &  )
map< string, AbstractConfReconstructor * > VertexRecoManager::get ( void  )
VertexRecoManager & VertexRecoManager::Instance ( )
static
void VertexRecoManager::registerReconstructor ( const std::string &  name,
AbstractConfReconstructor o,
const std::string &  description 
)

Definition at line 5 of file VertexRecoManager.cc.

References mergeVDriftHistosByStation::name, and python.connectstrParser::o.

Referenced by ConfRecoBuilder< O >::ConfRecoBuilder(), and VertexFitterManager::registerFitter().

7 {
10 }
std::map< std::string, AbstractConfReconstructor * > theAbstractConfReconstructors
std::map< std::string, std::string > theDescription

Member Data Documentation

std::map< std::string, AbstractConfReconstructor * > VertexRecoManager::theAbstractConfReconstructors
private

Definition at line 29 of file VertexRecoManager.h.

std::map< std::string, std::string > VertexRecoManager::theDescription
private

Definition at line 30 of file VertexRecoManager.h.