test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <boost/shared_ptr.hpp>
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  virtual void setFrom(const FWConfiguration& iFrom);
56  virtual void addTo(FWConfiguration& iTo) const;
57 
58  void populateFrame(TGCompositeFrame* frame);
59 
60 private:
61  void makeSetter(TGCompositeFrame*, FWParameterBase*);
62 
65 
66 #ifndef __CINT__
67  std::vector<boost::shared_ptr<FWParameterSetterBase> > m_setters;
68 #endif
69 
70 };
71 #endif
void populateFrame(TGCompositeFrame *frame)
virtual void addTo(FWConfiguration &iTo) const
virtual void setFrom(const FWConfiguration &iFrom)
FWProxyBuilderConfiguration(const FWConfiguration *c, const FWEventItem *item)
T min(T a, T b)
Definition: MathUtil.h:58
FWGenericParameter< T > * assertParam(const std::string &name, T def)
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
void makeSetter(TGCompositeFrame *, FWParameterBase *)
long double T
JetCorrectorParameters::Definitions def
Definition: classes.h:6