10 : m_energy(energy), m_et(et), m_pt(pt), m_eta(eta), m_phi(phi) {
25 const unsigned int nLineSegments = 20;
30 for (
unsigned int iPhi = 0; iPhi < nLineSegments; ++iPhi) {
31 AddLine(
m_eta + radius *
cos(twoPi / nLineSegments * iPhi),
32 m_phi + radius *
sin(twoPi / nLineSegments * iPhi),
34 m_eta + radius *
cos(twoPi / nLineSegments * (iPhi + 1)),
35 m_phi + radius *
sin(twoPi / nLineSegments * (iPhi + 1)),
47 TEveChunkManager::iterator li(GetLinePlex());
49 TEveStraightLineSet::Line_t &
l = *(TEveStraightLineSet::Line_t *)li();
50 l.fV2[2] = l.fV1[2] + val * scaleFac;
53 TEveChunkManager::iterator mi(GetMarkerPlex());
55 TEveStraightLineSet::Marker_t &
m = *(TEveStraightLineSet::Marker_t *)mi();
Sin< T >::type sin(const T &t)
FWViewEnergyScale * getEnergyScale() const
float getScaleFactorLego() const
Cos< T >::type cos(const T &t)
void updateScale(const FWViewContext *vc, const fireworks::Context &)