1 #ifndef _FWCANDIDATEHGCALLEGOPROXYBUILDER_H_ 2 #define _FWCANDIDATEHGCALLEGOPROXYBUILDER_H_ 57 for( TEveElement::List_i
i = parent->BeginChildren();
i != parent->EndChildren(); ++
i )
59 if( (*i)->HasChildren() )
61 TEveElement *el = (*i)->FirstChild();
74 if( (parent)->HasChildren() )
76 TEveElement *el = (
parent)->FirstChild();
79 candidate->SetMarkerColor( dp.
color() );
80 candidate->ElementChanged();
93 auto pt =
c->energy()/std::cosh(
c->eta());
98 candidate->SetMarkerColor(
item()->defaultDisplayProperties().
color() );
const fireworks::Context & context() const
virtual bool havePerViewProduct(FWViewType::EType) const override
#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
const FWEventItem * item() const
const edm::PtrVector< reco::BasicCluster > & clusters() const
virtual ~FWCandidateHGCalLegoProxyBuilder()
virtual void localModelChanges(const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) override
FWCandidateHGCalLegoProxyBuilder()
void updateScale(const FWViewContext *vc, const fireworks::Context &)
const FWCandidateHGCalLegoProxyBuilder & operator=(const FWCandidateHGCalLegoProxyBuilder &)
virtual void scaleProduct(TEveElementList *, FWViewType::EType, const FWViewContext *) override
ModelInfo modelInfo(int iIndex) const