26 m_scaleMode(this,
"ScaleMode", 1
l, 1
l, 2
l),
27 m_fixedValToHeight(this,
"EnergyToLength [GeV/m]", 50.0, 1.0, 1000.0),
28 m_maxTowerHeight(this,
"MaximumLength [m]", 3.0, 0.01, 30.0),
29 m_plotEt(this,
"PlotEt",
true),
32 m_scaleFactorLego(0.05
f) {
61 float length = isLego ?
TMath::Pi() : 100;
66 return length / iMaxVal;
77 (*it)->setFrom(iFrom);
FWDoubleParameter m_fixedValToHeight
void scaleParameterChanged() const
const_iterator begin() const
void updateScaleFactors(float iMaxVal)
std::vector< FWParameterBase * >::const_iterator const_iterator
float calculateScaleFactor(float iMaxVal, bool isLego) const
void SetFromCmsShowCommonConfig(long mode, float convert, float maxH, bool et)
const_iterator end() const
bool addEntry(Long_t id, const std::string &txt)
void setFrom(const FWConfiguration &) override
sigc::signal< void()> parameterChanged_
FWDoubleParameter m_maxTowerHeight
FWEnumParameter m_scaleMode
~FWViewEnergyScale() override
sigc::signal< void(T)> changed_
FWViewEnergyScale(std::string name, int version)