1 #ifndef _FWCANDIDATELEGOPROXYBUILDER_H_
2 #define _FWCANDIDATELEGOPROXYBUILDER_H_
59 for( TEveElement::List_i
i = parent->BeginChildren();
i != parent->EndChildren(); ++
i )
61 if( (*i)->HasChildren() )
63 TEveElement *el = (*i)->FirstChild();
76 if( (parent)->HasChildren() )
78 TEveElement *el = (
parent)->FirstChild();
81 candidate->SetMarkerColor( dp.
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()
virtual double energy() const =0
energy
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
virtual double et() const =0
transverse energy
virtual float eta() const =0
momentum pseudorapidity
virtual ~FWCandidateLegoProxyBuilder()
void voteMaxEtAndEnergy(float Et, float energy) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
virtual float phi() const =0
momentum azimuthal angle
virtual void scaleProduct(TEveElementList *, FWViewType::EType, const FWViewContext *) override
const FWEventItem * item() const
REGISTER_PROXYBUILDER_METHODS()
virtual float pt() const =0
transverse momentum
virtual bool havePerViewProduct(FWViewType::EType) const override
void updateScale(const FWViewContext *vc, const fireworks::Context &)
const FWCandidateLegoProxyBuilder & operator=(const FWCandidateLegoProxyBuilder &)
virtual void localModelChanges(const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) override
ModelInfo modelInfo(int iIndex) const