1 #include "TEveCaloData.h"
33 const unsigned int nLineSegments = 20;
34 float circleScalingFactor = 50;
35 const double jetRadius = iData.
pt()/circleScalingFactor;
37 for (
unsigned int iphi = 0; iphi < nLineSegments; ++iphi ) {
38 AddLine(iData.
eta()+jetRadius*
cos(2*
M_PI/nLineSegments*iphi),
39 iData.
phi()+jetRadius*
sin(2*
M_PI/nLineSegments*iphi),
41 iData.
eta()+jetRadius*
cos(2*
M_PI/nLineSegments*(iphi+1)),
42 iData.
phi()+jetRadius*
sin(2*
M_PI/nLineSegments*(iphi+1)),
56 TEveChunkManager::iterator li(GetLinePlex());
58 TEveStraightLineSet::Line_t&
l = * (TEveStraightLineSet::Line_t*) li();
59 l.fV2[2] = l.fV1[2] + val*scaleFac;
62 TEveChunkManager::iterator mi(GetMarkerPlex());
64 TEveStraightLineSet::Marker_t&
m = * (TEveStraightLineSet::Marker_t*) mi();
virtual double energy() const GCC11_FINAL
energy
virtual double et() const GCC11_FINAL
transverse energy
Sin< T >::type sin(const T &t)
FWViewEnergyScale * getEnergyScale() const
void updateScale(const FWViewContext *, const fireworks::Context &)
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
float getScaleFactorLego() const
Cos< T >::type cos(const T &t)
FWLegoEvePFCandidate(const reco::PFCandidate &pfc, const FWViewContext *, const fireworks::Context &)
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
Particle reconstructed by the particle flow algorithm.
virtual float pt() const GCC11_FINAL
transverse momentum