#include <FWPFLegoCandidate.h>
Definition at line 29 of file FWPFLegoCandidate.h.
FWPFLegoCandidate::FWPFLegoCandidate |
( |
const FWViewContext * |
vc, |
|
|
const fireworks::Context & |
context, |
|
|
float |
et, |
|
|
float |
energy, |
|
|
float |
pt, |
|
|
float |
eta, |
|
|
float |
phi |
|
) |
| |
Definition at line 8 of file FWPFLegoCandidate.cc.
References newFWLiteAna::base, funct::cos(), f, FWViewContext::getEnergyScale(), FWViewEnergyScale::getPlotEt(), FWViewEnergyScale::getScaleFactorLego(), funct::log(), m_energy, m_et, m_eta, m_phi, m_pt, Pi, CosmicsPD_Skims::radius, funct::sin(), and Geom::twoPi().
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 ) ),
Sin< T >::type sin(const T &t)
FWViewEnergyScale * getEnergyScale() const
float getScaleFactorLego() const
Cos< T >::type cos(const T &t)
Log< T >::type log(const T &t)
FWPFLegoCandidate::FWPFLegoCandidate |
( |
| ) |
|
|
inline |
virtual FWPFLegoCandidate::~FWPFLegoCandidate |
( |
| ) |
|
|
inlinevirtual |
float FWPFLegoCandidate::m_energy |
|
private |
float FWPFLegoCandidate::m_et |
|
private |
float FWPFLegoCandidate::m_eta |
|
private |
float FWPFLegoCandidate::m_phi |
|
private |
float FWPFLegoCandidate::m_pt |
|
private |