15 #include <boost/bind.hpp> 27 m_scaleMode(this,
"ScaleMode", 1
l, 1
l, 2
l),
28 m_fixedValToHeight(this,
"EnergyToLength [GeV/m]", 50.0, 1.0, 100.0),
29 m_maxTowerHeight(this,
"MaximumLength [m]", 3.0, 0.01, 30.0 ),
30 m_plotEt(this,
"PlotEt",
true),
33 m_scaleFactorLego(0.05
f)
73 float length = isLego ?
TMath::Pi() : 100;
80 return length / iMaxVal;
98 (*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)
def convert(infile, ofile)
FWDoubleParameter m_maxTowerHeight
FWEnumParameter m_scaleMode
et
define resolution functions of each parameter
sigc::signal< void > parameterChanged_
FWViewEnergyScale(std::string name, int version)