1 #ifndef _FWCANDIDATEHGCALLEGOPROXYBUILDER_H_ 2 #define _FWCANDIDATEHGCALLEGOPROXYBUILDER_H_ 53 for (TEveElement::List_i
i =
parent->BeginChildren();
i !=
parent->EndChildren(); ++
i) {
54 if ((*i)->HasChildren()) {
55 TEveElement *el = (*i)->FirstChild();
68 if ((
parent)->HasChildren()) {
69 TEveElement *el = (
parent)->FirstChild();
71 candidate->SetMarkerColor(
item()->modelInfo(iId.
index()).displayProperties().color());
72 candidate->ElementChanged();
79 TEveElement &oItemHolder,
84 auto pt =
c->energy() / std::cosh(
c->eta());
87 candidate->SetMarkerColor(
item()->defaultDisplayProperties().color());
96 "HGCal Multiclusters Lego",
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const edm::PtrVector< reco::BasicCluster > & clusters() const
const fireworks::Context & context() const
const FWCandidateHGCalLegoProxyBuilder & operator=(const FWCandidateHGCalLegoProxyBuilder &)=delete
void voteMaxEtAndEnergy(float Et, float energy) const
void localModelChanges(const FWModelId &, TEveElement *, FWViewType::EType, const FWViewContext *) override
bool havePerViewProduct(FWViewType::EType) const override
FWCandidateHGCalLegoProxyBuilder()
void updateScale(const FWViewContext *vc, const fireworks::Context &)
void scaleProduct(TEveElementList *, FWViewType::EType, const FWViewContext *) override
const FWEventItem * item() const
~FWCandidateHGCalLegoProxyBuilder() override