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",
const fireworks::Context & context() const
#define REGISTER_PROXYBUILDER_METHODS()
const edm::EventSetup & c
#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 FWCandidateHGCalLegoProxyBuilder & operator=(const FWCandidateHGCalLegoProxyBuilder &)=delete
const edm::PtrVector< reco::BasicCluster > & clusters() 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
~FWCandidateHGCalLegoProxyBuilder() override