16 #include <boost/bind.hpp>
28 m_scaleMode(this,
"ScaleMode", 1
l, 1
l, 2
l),
29 m_fixedValToHeight(this,
"EnergyToLength [GeV/m]", 50.0, 1.0, 100.0),
30 m_maxTowerHeight(this,
"MaximumLength [m]", 3.0, 0.01, 30.0 ),
31 m_plotEt(this,
"PlotEt",
true),
34 m_scaleFactorLego(0.05
f)
74 float length = isLego ?
TMath::Pi() : 100;
81 return length / iMaxVal;
99 (*it)->setFrom(iFrom);
FWDoubleParameter m_fixedValToHeight
virtual ~FWViewEnergyScale()
std::vector< FWParameterBase * >::const_iterator const_iterator
void scaleParameterChanged() const
const_iterator begin() const
void updateScaleFactors(float iMaxVal)
sigc::signal< void, T > changed_
virtual void setFrom(const FWConfiguration &)
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)
FWDoubleParameter m_maxTowerHeight
FWEnumParameter m_scaleMode
sigc::signal< void > parameterChanged_
FWViewEnergyScale(std::string name, int version)