CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

VertexRecoManager Class Reference

#include <VertexRecoManager.h>

List of all members.

Public Member Functions

VertexRecoManagerclone () const
std::string describe (const std::string &)
std::map< std::string,
AbstractConfReconstructor * > 
get ()
AbstractConfReconstructorget (const std::string &)
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.

{
  // why should we delete?
  /*
  for ( map < string, AbstractConfReconstructor * >::iterator i=theAbstractConfReconstructors.begin(); 
        i!=theAbstractConfReconstructors.end() ; ++i )
  {
    delete i->second;
  }*/
}
VertexRecoManager::VertexRecoManager ( const VertexRecoManager o) [private]

Definition at line 33 of file VertexRecoManager.cc.

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

{
  std::cout << "[VertexRecoManager] copy constructor! Error!" << std::endl;
  exit(0);
  /*
  for ( map < string, AbstractConfReconstructor * >::const_iterator i=o.theAbstractConfReconstructors.begin(); 
        i!=o.theAbstractConfReconstructors.end() ; ++i )
  {
    theAbstractConfReconstructors[ i->first ] = i->second->clone();
  }
  
  theIsEnabled=o.theIsEnabled;
  */
}
VertexRecoManager::VertexRecoManager ( ) [private]

Definition at line 64 of file VertexRecoManager.cc.

{}

Member Function Documentation

VertexRecoManager * VertexRecoManager::clone ( void  ) const

Definition at line 28 of file VertexRecoManager.cc.

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

Definition at line 23 of file VertexRecoManager.cc.

{
  return theDescription[d];
}
map< string, AbstractConfReconstructor * > VertexRecoManager::get ( void  )

Definition at line 59 of file VertexRecoManager.cc.

AbstractConfReconstructor* VertexRecoManager::get ( const std::string &  )
VertexRecoManager & VertexRecoManager::Instance ( ) [static]
void VertexRecoManager::registerReconstructor ( const std::string &  name,
AbstractConfReconstructor o,
const std::string &  description 
)

Member Data Documentation

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.