#include <Fireworks/Core/interface/FWProxyBuilderConfiguration.h>
Public Member Functions | |
void | addTo (FWConfiguration &iTo) const override |
template<class T > | |
FWGenericParameter< T > * | assertParam (const std::string &name, T def) |
template<class T > | |
FWGenericParameterWithRange< T > * | assertParam (const std::string &name, T def, T min, T max) |
FWProxyBuilderConfiguration (const FWConfiguration *c, const FWEventItem *item) | |
void | keepEntries (bool b) |
void | populateFrame (TGCompositeFrame *frame) |
void | setFrom (const FWConfiguration &iFrom) override |
template<class T > | |
T | value (const std::string &name) |
~FWProxyBuilderConfiguration () override | |
Public Member Functions inherited from FWConfigurableParameterizable | |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
unsigned int | version () const |
~FWConfigurableParameterizable () override | |
Public Member Functions inherited from FWParameterizable | |
void | add (FWParameterBase *) |
const_iterator | begin () const |
const_iterator | end () const |
FWParameterizable () | |
virtual | ~FWParameterizable () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
virtual | ~FWConfigurable () |
Public Member Functions inherited from FWParameterSetterEditorBase | |
FWParameterSetterEditorBase () | |
virtual void | updateEditor () |
virtual | ~FWParameterSetterEditorBase () |
Private Member Functions | |
void | makeSetter (TGCompositeFrame *, FWParameterBase *) |
Private Attributes | |
const FWEventItem * | m_item |
bool | m_keepEntries |
std::vector< std::shared_ptr< FWParameterSetterBase > > | m_setters |
const FWConfiguration * | m_txtConfig |
Additional Inherited Members | |
Public Types inherited from FWParameterizable | |
typedef std::vector< FWParameterBase * >::const_iterator | const_iterator |
Description: [one line class summary]
Usage: <usage>
Definition at line 42 of file FWProxyBuilderConfiguration.h.
FWProxyBuilderConfiguration::FWProxyBuilderConfiguration | ( | const FWConfiguration * | c, |
const FWEventItem * | item | ||
) |
Definition at line 32 of file FWProxyBuilderConfiguration.cc.
|
override |
Definition at line 35 of file FWProxyBuilderConfiguration.cc.
References m_txtConfig.
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 39 of file FWProxyBuilderConfiguration.cc.
References FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), FWParameterizable::begin(), and FWParameterizable::end().
FWGenericParameter< T > * FWProxyBuilderConfiguration::assertParam | ( | const std::string & | name, |
T | def | ||
) |
Definition at line 83 of file FWProxyBuilderConfiguration.cc.
References FWParameterizable::begin(), FWGenericParameter< T >::changed_, def, FWParameterizable::end(), mps_fire::i, FWConfiguration::keyValues(), m_item, m_keepEntries, m_txtConfig, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, Skims_PA_cff::name, FWEventItem::proxyConfigChanged(), FWGenericParameter< T >::setFrom(), and FWConfiguration::valueForKey().
Referenced by FWL1THGCalProxyTemplate< l1t::HGCalMulticluster >::setItem(), FWCaloRecHitDigitSetProxyBuilder::setItem(), FWGenParticleLegoProxyBuilder::setItem(), FWMuonRhoPhiProxyBuilder::setItem(), FWMuonProxyBuilder::setItem(), FWTrackingParticleProxyBuilder::setItem(), FWCandidateProxyBuilder::setItem(), FWCaloClusterProxyBuilder::setItem(), FWTrackProxyBuilder::setItem(), FWTrackProxyBuilderFullFramework::setItem(), FWVertexCandidateProxyBuilder::setItem(), FWVertexProxyBuilder::setItem(), FWHGCRecHitProxyBuilder::setItem(), FWTauProxyBuilderBase::setItem(), FWElectronProxyBuilder::setItem(), FWJetProxyBuilder::setItem(), FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::setItem(), and value().
FWGenericParameterWithRange< T > * FWProxyBuilderConfiguration::assertParam | ( | const std::string & | name, |
T | def, | ||
T | min, | ||
T | max | ||
) |
Definition at line 103 of file FWProxyBuilderConfiguration.cc.
References FWParameterizable::begin(), FWGenericParameter< T >::changed_, def, FWParameterizable::end(), mps_fire::i, FWConfiguration::keyValues(), m_item, m_keepEntries, m_txtConfig, SiStripPI::max, min(), ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, Skims_PA_cff::name, FWEventItem::proxyConfigChanged(), FWGenericParameter< T >::setFrom(), and FWConfiguration::valueForKey().
void FWProxyBuilderConfiguration::keepEntries | ( | bool | b | ) |
Definition at line 78 of file FWProxyBuilderConfiguration.cc.
References b, and m_keepEntries.
Referenced by FWL1THGCalProxyTemplate< l1t::HGCalMulticluster >::setItem(), FWHGCRecHitProxyBuilder::setItem(), and FWHeatmapProxyBuilderTemplate< reco::CaloCluster >::setItem().
|
private |
Definition at line 56 of file FWProxyBuilderConfiguration.cc.
References m_setters, and FWParameterSetterBase::makeSetterFor().
Referenced by populateFrame().
void FWProxyBuilderConfiguration::populateFrame | ( | TGCompositeFrame * | frame | ) |
Definition at line 66 of file FWProxyBuilderConfiguration.cc.
References FWParameterizable::begin(), FWParameterizable::end(), amptDefault_cfi::frame, and makeSetter().
Referenced by CmsShowEDI::fillEDIFrame().
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 47 of file FWProxyBuilderConfiguration.cc.
template double FWProxyBuilderConfiguration::value< double > | ( | const std::string & | name | ) |
Definition at line 123 of file FWProxyBuilderConfiguration.cc.
References assertParam(), FWParameterizable::begin(), def, FWParameterizable::end(), mps_fire::i, SiStripPI::max, min(), Skims_PA_cff::name, unpackData-CaloStage2::pname, AlCaHLTBitMon_QueryRunRegistry::string, and FWGenericParameter< T >::value().
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), average.Average::average(), FWCaloRecHitDigitSetProxyBuilder::build(), FWHGCalMultiClusterProxyBuilder::build(), FWHGCalTriggerCellProxyBuilder::build(), FWHGCalTriggerClusterProxyBuilder::build(), FWMuonRhoPhiProxyBuilder::build(), FWCaloParticleProxyBuilder::build(), FWCaloClusterProxyBuilder::build(), FWGenParticleLegoProxyBuilder::build(), FWMuonProxyBuilder::build(), FWTrackProxyBuilder::build(), FWTrackProxyBuilderFullFramework::build(), FWHGCRecHitProxyBuilder::build(), FWVertexCandidateProxyBuilder::build(), FWVertexProxyBuilder::build(), FWJetProxyBuilder::buildViewType(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), Vispa.Views.PropertyView.FileProperty::labelDoubleClicked(), FWElectronProxyBuilder::requestCommon(), and FWJetProxyBuilder::setTextPos().
|
private |
Definition at line 65 of file FWProxyBuilderConfiguration.h.
Referenced by assertParam().
|
private |
Definition at line 67 of file FWProxyBuilderConfiguration.h.
Referenced by assertParam(), and keepEntries().
|
private |
Definition at line 69 of file FWProxyBuilderConfiguration.h.
Referenced by makeSetter().
|
private |
Definition at line 64 of file FWProxyBuilderConfiguration.h.
Referenced by assertParam(), and ~FWProxyBuilderConfiguration().