AliPhysics  56f1704 (56f1704)
RegisterCorrectionComponent< T > Class Template Reference

Registers EMCal correction components in the factory map. More...

#include <AliEmcalCorrectionComponent.h>

Inheritance diagram for RegisterCorrectionComponent< T >:

Public Member Functions

 RegisterCorrectionComponent (std::string const &s)
 Registers the name of the component to map to a function that can create the component. More...
 
- Public Member Functions inherited from AliEmcalCorrectionComponentFactory
virtual ~AliEmcalCorrectionComponentFactory ()
 

Additional Inherited Members

- Public Types inherited from AliEmcalCorrectionComponentFactory
typedef std::map< std::string, AliEmcalCorrectionComponent *(*)()> map_type
 
- Static Public Member Functions inherited from AliEmcalCorrectionComponentFactory
static AliEmcalCorrectionComponentcreateInstance (std::string const &s)
 Creates an instance of an object based on the name if the name is registered in the map. More...
 
- Static Protected Member Functions inherited from AliEmcalCorrectionComponentFactory
static map_typegetMap ()
 Creates and access the component map. More...
 

Detailed Description

template<typename T>
class RegisterCorrectionComponent< T >

Registers EMCal correction components in the factory map.

This class allows EMCal correction components to automatically register in a map, such that new components are automatically available in the correction framework.

Author
Raymond Ehlers raymo.nosp@m.nd.e.nosp@m.hlers.nosp@m.@yal.nosp@m.e.edu, Yale University
James Mulligan james.nosp@m..mul.nosp@m.ligan.nosp@m.@yal.nosp@m.e.edu, Yale University
Date
Jul 8, 2016

Definition at line 236 of file AliEmcalCorrectionComponent.h.

Constructor & Destructor Documentation

template<typename T>
RegisterCorrectionComponent< T >::RegisterCorrectionComponent ( std::string const &  s)
inline

Registers the name of the component to map to a function that can create the component.

Definition at line 240 of file AliEmcalCorrectionComponent.h.


The documentation for this class was generated from the following file: