LDMX Software
ConditionsObjectProvider.h File Reference

Base class for provider of conditions information like pedestals, gains, electronics maps, etc. More...

#include "Framework/Exception/Exception.h"
#include "Framework/ConditionsIOV.h"
#include "Framework/ConditionsObject.h"
#include "Framework/Configure/Parameters.h"
#include "Framework/Factory.h"
#include "Framework/Logger.h"
#include <map>

Go to the source code of this file.

Classes

class  framework::ConditionsObjectProvider
 Base class for all providers of conditions objects. More...
 

Namespaces

namespace  framework
 All classes in the ldmx-sw project use this namespace.
 

Macros

#define DECLARE_CONDITIONS_PROVIDER(CLASS)
 Macro which allows the framework to construct a producer given its name during configuration.
 

Detailed Description

Base class for provider of conditions information like pedestals, gains, electronics maps, etc.

Author
Jeremy Mans, University of Minnesota

Definition in file ConditionsObjectProvider.h.

Macro Definition Documentation

◆ DECLARE_CONDITIONS_PROVIDER

#define DECLARE_CONDITIONS_PROVIDER ( CLASS)
Value:
#define FACTORY_REGISTRATION(prototype, derived)
Register a new class with a specific factory.
Definition Factory.h:469
Base class for all providers of conditions objects.

Macro which allows the framework to construct a producer given its name during configuration.

Parameters
CLASSThe fully-specified name of the class to register (including any namespaces)
Attention
Every Producer class must call this macro in the associated implementation (.cxx) file.

We just call FACTORY_REGISTRATION with framework::ConditionsObjectProvider as the first argument, so look there for the implementation details.

Definition at line 157 of file ConditionsObjectProvider.h.

157#define DECLARE_CONDITIONS_PROVIDER(CLASS) \
158 FACTORY_REGISTRATION(framework::ConditionsObjectProvider, CLASS)