9 if( ( parent )->HasChildren() )
11 for( TEveElement::List_i j = parent->BeginChildren(); j != parent->EndChildren(); j++ )
15 cluster->ElementChanged();
24 for (TEveElement::List_i
i = parent->BeginChildren();
i!= parent->EndChildren(); ++
i)
26 if ((*i)->HasChildren())
28 TEveElement* el = (*i)->FirstChild();
39 TEveVector centre = TEveVector( iData.
x(), iData.
y(), iData.
z() );
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 &)
et
define resolution functions of each parameter
double y() const
y coordinate of cluster centroid
double phi() const
azimuthal angle of cluster centroid