10 : m_energy(energy), m_et(et), m_pt(pt), m_eta(eta), m_phi(phi)
23 SetMarkerSize( 0.01 );
24 SetDepthTest(
false );
27 const unsigned int nLineSegments = 20;
32 for(
unsigned int iPhi = 0; iPhi < nLineSegments; ++iPhi )
34 AddLine(
m_eta + radius *
cos( twoPi / nLineSegments * iPhi ),
35 m_phi + radius *
sin( twoPi / nLineSegments * iPhi ),
37 m_eta + radius *
cos( twoPi / nLineSegments * ( iPhi + 1 ) ),
38 m_phi + radius *
sin( twoPi / nLineSegments * ( iPhi + 1 ) ),
52 TEveChunkManager::iterator li( GetLinePlex() );
54 TEveStraightLineSet::Line_t &
l = * ( TEveStraightLineSet::Line_t* ) li();
55 l.fV2[2] = l.fV1[2] + val * scaleFac;
58 TEveChunkManager::iterator mi( GetMarkerPlex() );
60 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 &)
Geom::Phi< T > phi() const