13 typedef std::vector<ScalableLines> Lines_t;
17 if (vc == (*i).m_vc) {
20 TEveProjected *
proj = *(*i).m_ls->BeginProjecteds();
21 proj->UpdateProjection();
30 TEveScalableStraightLineSet *
ls;
31 TEveVector centre = TEveVector(iData.
x(), iData.
y(), iData.
z());
40 ls->SetLineColor(
dp.color());
48 TEveElement &oItemHolder,
55 TEveScalableStraightLineSet *
ls;
56 TEveVector centre = TEveVector(iData.
x(), iData.
y(), iData.
z());
63 ls->SetLineColor(
dp.color());
72 TEveElement &oItemHolder,
76 if (
info.displayProperties().isVisible()) {
87 TEveElement &oItemHolder,
90 if (
info.displayProperties().isVisible())
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
static constexpr unsigned int kRhoPhiBit
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
~FWPFClusterRPZProxyBuilder() override
FWPFClusterRPZProxyBuilder()
PFLayer::Layer layer() const
cluster layer, see PFLayer.h in this directory
double x() const
x coordinate of cluster centroid
TEveScalableStraightLineSet * buildRhoPhiClusterLineSet(const reco::PFCluster &, const FWViewContext *, float r)
const fireworks::Context & context() const
FWViewEnergyScale * getEnergyScale() const
std::vector< ScalableLines > m_clusters
static constexpr unsigned int kRhoZBit
const FWDisplayProperties & defaultDisplayProperties() const
void voteMaxEtAndEnergy(float Et, float energy) const
double energy() const
cluster energy
static float caloR1(bool offset=true)
TEveScalableStraightLineSet * buildRhoZClusterLineSet(const reco::PFCluster &, const FWViewContext *, float caloTransAngle, float r, float z)
double z() const
z coordinate of cluster centroid
double y() const
y coordinate of cluster centroid
virtual void sharedBuild(const reco::PFCluster &cluster, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *vc, float radius)
float calculateEt(const TEveVector ¢re, float e)
FWPFClusterRPZUtils * m_clusterUtils
static constexpr unsigned int kRhoPhiPFBit
float getScaleFactor3D() const
static float caloZ1(bool offset=true)
ModelInfo modelInfo(int iIndex) const
const FWEventItem * item() const
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override