Go to the documentation of this file.
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);
std::vector< FWParameterBase * >::const_iterator const_iterator
float calculateScaleFactor(float iMaxVal, bool isLego) const
bool addEntry(Long_t id, const std::string &txt)
const_iterator end() const
void updateScaleFactors(float iMaxVal)
const_iterator begin() const
void scaleParameterChanged() const
sigc::signal< void, T > changed_
def convert(infile, ofile)
void setFrom(const FWConfiguration &) override
void SetFromCmsShowCommonConfig(long mode, float convert, float maxH, bool et)
FWDoubleParameter m_maxTowerHeight
~FWViewEnergyScale() override
FWEnumParameter m_scaleMode
sigc::signal< void > parameterChanged_
FWDoubleParameter m_fixedValToHeight
FWViewEnergyScale(std::string name, int version)