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 //==============================================================================
43 public:
46 
47  template <class T>
49  template <class T>
51  template <class T>
52  T value(const std::string& name);
53 
54  void setFrom(const FWConfiguration& iFrom) override;
55  void addTo(FWConfiguration& iTo) const override;
56 
57  void populateFrame(TGCompositeFrame* frame);
58 
59  void keepEntries(bool b);
60 
61 private:
62  void makeSetter(TGCompositeFrame*, FWParameterBase*);
63 
66 
68 #ifndef __CINT__
69  std::vector<std::shared_ptr<FWParameterSetterBase> > m_setters;
70 #endif
71 };
72 #endif
FWGenericParameterWithRange.h
FWParameterSetterEditorBase
Definition: FWParameterSetterEditorBase.h:27
FWGenericParameterWithRange
Definition: FWGenericParameterWithRange.h:27
FWProxyBuilderConfiguration::m_setters
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
Definition: FWProxyBuilderConfiguration.h:69
min
T min(T a, T b)
Definition: MathUtil.h:58
FWParameterBase
Definition: FWParameterBase.h:31
FWConfigurableParameterizable.h
FWParameters.h
FWGenericParameter
Definition: FWGenericParameter.h:31
FWParameterSetterEditorBase.h
FWProxyBuilderConfiguration::FWProxyBuilderConfiguration
FWProxyBuilderConfiguration(const FWConfiguration *c, const FWEventItem *item)
Definition: FWProxyBuilderConfiguration.cc:32
FWViewType.h
FWProxyBuilderConfiguration::keepEntries
void keepEntries(bool b)
Definition: FWProxyBuilderConfiguration.cc:78
b
double b
Definition: hdecay.h:118
FWProxyBuilderConfiguration::assertParam
FWGenericParameter< T > * assertParam(const std::string &name, T def)
Definition: FWProxyBuilderConfiguration.cc:83
FWProxyBuilderConfiguration::~FWProxyBuilderConfiguration
~FWProxyBuilderConfiguration() override
Definition: FWProxyBuilderConfiguration.cc:35
FWConfigurableParameterizable
Definition: FWConfigurableParameterizable.h:29
FWProxyBuilderConfiguration::setFrom
void setFrom(const FWConfiguration &iFrom) override
Definition: FWProxyBuilderConfiguration.cc:47
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
FWParameterSetterBase.h
FWProxyBuilderConfiguration::m_keepEntries
bool m_keepEntries
Definition: FWProxyBuilderConfiguration.h:67
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWEventItem
Definition: FWEventItem.h:56
FWProxyBuilderConfiguration::value
T value(const std::string &name)
Definition: FWProxyBuilderConfiguration.cc:123
T
long double T
Definition: Basic3DVectorLD.h:48
FWProxyBuilderConfiguration
Definition: FWProxyBuilderConfiguration.h:42
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
FWProxyBuilderConfiguration::addTo
void addTo(FWConfiguration &iTo) const override
Definition: FWProxyBuilderConfiguration.cc:39
spu::def
int def(FILE *, FILE *, int)
Definition: SherpackUtilities.cc:14
FWConfiguration
Definition: FWConfiguration.h:31
FWProxyBuilderConfiguration::m_item
const FWEventItem * m_item
Definition: FWProxyBuilderConfiguration.h:65
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
FWProxyBuilderConfiguration::populateFrame
void populateFrame(TGCompositeFrame *frame)
Definition: FWProxyBuilderConfiguration.cc:66
FWProxyBuilderConfiguration::makeSetter
void makeSetter(TGCompositeFrame *, FWParameterBase *)
Definition: FWProxyBuilderConfiguration.cc:56
FWProxyBuilderConfiguration::m_txtConfig
const FWConfiguration * m_txtConfig
Definition: FWProxyBuilderConfiguration.h:64