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,
void localModelChanges(const FWModelId &iId, TEveElement *el, FWViewType::EType viewType, const FWViewContext *vc) override
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
PFLayer::Layer layer() const
cluster layer, see PFLayer.h in this directory
double x() const
x coordinate of cluster centroid
double phi() const
azimuthal angle of cluster centroid
const fireworks::Context & context() const
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
void voteMaxEtAndEnergy(float Et, float energy) const
double energy() const
cluster energy
double z() const
z coordinate of cluster centroid
double y() const
y coordinate of cluster centroid
float calculateEt(const TEveVector ¢re, float e)
void sharedBuild(const reco::PFCluster &, TEveElement &, const FWViewContext *)
void updateScale(const FWViewContext *vc, const fireworks::Context &)
double eta() const
pseudorapidity of cluster centroid
const FWEventItem * item() const