1 #ifndef _FWCANDIDATELEGOPROXYBUILDER_H_ 2 #define _FWCANDIDATELEGOPROXYBUILDER_H_ 56 for (TEveElement::List_i
i =
parent->BeginChildren();
i !=
parent->EndChildren(); ++
i) {
57 if ((*i)->HasChildren()) {
58 TEveElement *el = (*i)->FirstChild();
71 if ((
parent)->HasChildren()) {
72 TEveElement *el = (
parent)->FirstChild();
74 candidate->SetMarkerColor(
item()->modelInfo(iId.
index()).displayProperties().color());
75 candidate->ElementChanged();
82 TEveElement &oItemHolder,
87 candidate->SetMarkerColor(
item()->defaultDisplayProperties().color());
FWCandidateLegoProxyBuilder()
virtual double energy() const =0
energy
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
virtual double et() const =0
transverse energy
virtual double pt() const =0
transverse momentum
void scaleProduct(TEveElementList *, FWViewType::EType, const FWViewContext *) override
const fireworks::Context & context() const
bool havePerViewProduct(FWViewType::EType) const override
void voteMaxEtAndEnergy(float Et, float energy) const
~FWCandidateLegoProxyBuilder() override
void updateScale(const FWViewContext *vc, const fireworks::Context &)
const FWCandidateLegoProxyBuilder & operator=(const FWCandidateLegoProxyBuilder &)=delete
void localModelChanges(const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) override
const FWEventItem * item() const
virtual double phi() const =0
momentum azimuthal angle
virtual double eta() const =0
momentum pseudorapidity