a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
ThObsFactory.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2014 HEPfit Collaboration
3 *
4 *
5 * For the licensing terms see doc/COPYING.
6 */
7
8#ifndef THOBSFACTORY_H
9#define THOBSFACTORY_H
10
11#include "StandardModel.h"
12#include <functional>
13#include <map>
14
15class ThObservable;
16
26public:
27
29
30 ThObsFactory(const ThObsFactory& orig);
31
32 virtual ~ThObsFactory()
33 {
34 };
35
36 void addObsToFactory(const std::string name, std::function<ThObservable*(const StandardModel&) >);
37
45 ThObservable* CreateThMethod(const std::string& name, StandardModel& model) const;
46
47
48private:
49 std::map<std::string, std::function<ThObservable* (const StandardModel &) > > obsThFactory;
50
60};
61
62#endif /* THOBSFACTORY_H */
63
A model class for the Standard Model.
A class for.
Definition: ThObsFactory.h:25
void registerTopQuarkObservables()
void registerDiBosonObservables()
void registerFlavourObservables()
std::map< std::string, std::function< ThObservable *(const StandardModel &) > > obsThFactory
Definition: ThObsFactory.h:49
void registerEWObservables()
void registerBSMObservables()
ThObservable * CreateThMethod(const std::string &name, StandardModel &model) const
This method checks for the existence of an observable of a specific name in the map thobs and returns...
void addObsToFactory(const std::string name, std::function< ThObservable *(const StandardModel &) >)
virtual ~ThObsFactory()
Definition: ThObsFactory.h:32
void registerHiggsObservables()
void registerLEP2Observables()
A class for a model prediction of an observable.
Definition: ThObservable.h:25