CMS 3D CMS Logo

FWProxyBuilderConfiguration.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWProxyBuilderConfiguration_h
2 #define Fireworks_Core_FWProxyBuilderConfiguration_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWProxyBuilderConfiguration
7 //
16 //
17 // Original Author:
18 // Created: Wed Jul 27 00:58:35 CEST 2011
19 //
20 
21 #include <string>
26 
29 
30 #ifndef __CINT__
31 #include <memory>
32 #include <sigc++/sigc++.h>
33 #endif
34 
35 class TGCompositeFrame;
36 
37 class FWParameterBase;
38 class FWConfiguration;
39 class FWEventItem;
40 
41 //==============================================================================
44 {
45 public:
48 
49 
50  template <class T> FWGenericParameter<T>* assertParam(const std::string& name, T def);
51  template <class T> FWGenericParameterWithRange<T>* assertParam(const std::string& name, T def, T min, T max);
52  template <class T> T value(const std::string& name);
53 
54 
55  void setFrom(const FWConfiguration& iFrom) override;
56  void addTo(FWConfiguration& iTo) const override;
57 
58  void populateFrame(TGCompositeFrame* frame);
59 
60  void keepEntries(bool b);
61 
62  private:
63  void makeSetter(TGCompositeFrame*, FWParameterBase*);
64 
67 
69 #ifndef __CINT__
70  std::vector<std::shared_ptr<FWParameterSetterBase> > m_setters;
71 #endif
72 
73 };
74 #endif
void populateFrame(TGCompositeFrame *frame)
FWProxyBuilderConfiguration(const FWConfiguration *c, const FWEventItem *item)
T min(T a, T b)
Definition: MathUtil.h:58
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
void setFrom(const FWConfiguration &iFrom) override
FWGenericParameter< T > * assertParam(const std::string &name, T def)
double b
Definition: hdecay.h:120
void addTo(FWConfiguration &iTo) const override
void makeSetter(TGCompositeFrame *, FWParameterBase *)
long double T
JetCorrectorParameters::Definitions def
Definition: classes.h:6