9 if( ( parent )->HasChildren() )
11 for( TEveElement::List_i j = parent->BeginChildren(); j != parent->EndChildren(); j++ )
15 cluster->SetMarkerColor( dp.
color() );
16 cluster->ElementChanged();
25 for (TEveElement::List_i
i = parent->BeginChildren();
i!= parent->EndChildren(); ++
i)
27 if ((*i)->HasChildren())
29 TEveElement* el = (*i)->FirstChild();
40 TEveVector centre = TEveVector( iData.
x(), iData.
y(), iData.
z() );
41 float energy = iData.
energy();
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
ModelInfo modelInfo(int iIndex) const
double phi() const
azimuthal angle of cluster centroid