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 double pt() const =0
transverse momentum
virtual ~FWCandidateLegoProxyBuilder()
void voteMaxEtAndEnergy(float Et, float energy) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWEventItem * item() const
REGISTER_PROXYBUILDER_METHODS()
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
virtual double phi() const =0
momentum azimuthal angle
virtual double eta() const =0
momentum pseudorapidity