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 void scaleProduct(TEveElementList *, FWViewType::EType, const FWViewContext *)
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
const FWEventItem * item() const
REGISTER_PROXYBUILDER_METHODS()
virtual float pt() const =0
transverse momentum
virtual bool havePerViewProduct(FWViewType::EType) const
virtual void localModelChanges(const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *)
void updateScale(const FWViewContext *vc, const fireworks::Context &)
const FWCandidateLegoProxyBuilder & operator=(const FWCandidateLegoProxyBuilder &)
ModelInfo modelInfo(int iIndex) const