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();
82 candidate->SetMarkerColor( dp.
color() );
83 candidate->ElementChanged();
93 iData.
et(), iData.
pt(),
94 iData.
eta(), iData.
phi() );
96 candidate->SetMarkerColor(
item()->defaultDisplayProperties().
color() );
const fireworks::Context & context() const
FWCandidateLegoProxyBuilder()
virtual double energy() const =0
energy
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
virtual double et() const =0
transverse energy
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
virtual void scaleProduct(TEveElementList *, FWViewType::EType, const FWViewContext *) override
const FWEventItem * item() const
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
virtual double phi() const =0
momentum azimuthal angle
virtual double eta() const =0
momentum pseudorapidity