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