test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Static Public Member Functions | Private Member Functions
StaticFFTJetObjectFactory< Factory > Class Template Reference

#include <FFTJetObjectFactory.h>

Public Types

typedef Factory::Base::base_type base_type
 

Static Public Member Functions

static const Factory & instance ()
 
template<class T >
static void registerType (const std::string &className)
 

Private Member Functions

 StaticFFTJetObjectFactory ()
 

Detailed Description

template<class Factory>
class StaticFFTJetObjectFactory< Factory >

Definition at line 65 of file FFTJetObjectFactory.h.

Member Typedef Documentation

template<class Factory >
typedef Factory::Base::base_type StaticFFTJetObjectFactory< Factory >::base_type

Definition at line 68 of file FFTJetObjectFactory.h.

Constructor & Destructor Documentation

template<class Factory >
StaticFFTJetObjectFactory< Factory >::StaticFFTJetObjectFactory ( )
private

Member Function Documentation

template<class Factory >
static const Factory& StaticFFTJetObjectFactory< Factory >::instance ( )
inlinestatic

Definition at line 70 of file FFTJetObjectFactory.h.

References getGTfromDQMFile::obj.

Referenced by parseFFTSpecificScaleCalculator(), and StaticFFTJetObjectFactory< Factory >::registerType().

71  {
72  static Factory obj;
73  return obj;
74  }
template<class Factory >
template<class T >
static void StaticFFTJetObjectFactory< Factory >::registerType ( const std::string &  className)
inlinestatic

Definition at line 77 of file FFTJetObjectFactory.h.

References className(), and StaticFFTJetObjectFactory< Factory >::instance().

78  {
79  Factory& rd = const_cast<Factory&>(instance());
80  delete rd[className];
82  }
static const Factory & instance()
std::string className(const T &t)
Definition: ClassName.h:30