26 if( ( parent )->HasChildren() )
28 for( TEveElement::List_i
j = parent->BeginChildren();
j != parent->EndChildren();
j++ )
32 cluster->SetMarkerColor( dp.
color() );
33 cluster->ElementChanged();
42 for (TEveElement::List_i
i = parent->BeginChildren();
i!= parent->EndChildren(); ++
i)
44 if ((*i)->HasChildren())
46 TEveElement* el = (*i)->FirstChild();
PFLayer::Layer layer() const
cluster layer, see PFLayer.h in this directory
const fireworks::Context & context() const
#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
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)
double x() const
x coordinate of cluster centroid
void updateScale(const FWViewContext *vc, const fireworks::Context &)
double energy() const
cluster energy
void sharedBuild(const reco::PFCluster &, TEveElement &, const FWViewContext *)
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
float calculateEt(const reco::PFCluster &cluster, float E)
double y() const
y coordinate of cluster centroid
ModelInfo modelInfo(int iIndex) const
double phi() const
azimuthal angle of cluster centroid