10 if ((parent)->HasChildren()) {
11 for (TEveElement::List_i
j = parent->BeginChildren();
j != parent->EndChildren();
j++) {
14 cluster->ElementChanged();
23 for (TEveElement::List_i
i = parent->BeginChildren();
i != parent->EndChildren(); ++
i) {
24 if ((*i)->HasChildren()) {
25 TEveElement *el = (*i)->FirstChild();
34 TEveElement &oItemHolder,
36 TEveVector centre = TEveVector(iData.
x(), iData.
y(), iData.
z());
53 TEveElement &oItemHolder,
63 TEveElement &oItemHolder,
PFLayer::Layer layer() const
cluster layer, see PFLayer.h in this directory
const fireworks::Context & context() const
void localModelChanges(const FWModelId &iId, TEveElement *el, FWViewType::EType viewType, const FWViewContext *vc) override
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
void voteMaxEtAndEnergy(float Et, float energy) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
double z() const
z coordinate of cluster centroid
const FWEventItem * item() const
double eta() const
pseudorapidity of cluster centroid
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
double x() const
x coordinate of cluster centroid
float calculateEt(const TEveVector ¢re, float e)
double energy() const
cluster energy
void sharedBuild(const reco::PFCluster &, TEveElement &, const FWViewContext *)
void updateScale(const FWViewContext *vc, const fireworks::Context &)
double y() const
y coordinate of cluster centroid
double phi() const
azimuthal angle of cluster centroid