35 TEveElement* iCompound,
64 TEveElement& oItemHolder,
68 candidate->SetMarkerColor(
item()->defaultDisplayProperties().color());
80 for (TEveElement::List_i
i =
parent->BeginChildren();
i !=
parent->EndChildren(); ++
i) {
81 if ((*i)->HasChildren()) {
82 TEveElement* el = (*i)->FirstChild();
95 if ((
parent)->HasChildren()) {
96 TEveElement* el = (
parent)->FirstChild();
98 candidate->SetMarkerColor(
item()->modelInfo(iId.
index()).displayProperties().color());
99 candidate->ElementChanged();
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
double pt() const final
transverse momentum
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const fireworks::Context & context() const
void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) override
void voteMaxEtAndEnergy(float Et, float energy) const
void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) override
FWPFCandidatesLegoProxyBuilder()
void updateScale(const FWViewContext *vc, const fireworks::Context &)
~FWPFCandidatesLegoProxyBuilder() override
void setTrackTypePF(const reco::PFCandidate &pfCand, TAttLine *track)
Particle reconstructed by the particle flow algorithm.
double et() const final
transverse energy
bool havePerViewProduct(FWViewType::EType) const override
const FWPFCandidatesLegoProxyBuilder & operator=(const FWPFCandidatesLegoProxyBuilder &)=delete
double phi() const final
momentum azimuthal angle
const FWEventItem * item() const
double energy() const final
energy
double eta() const final
momentum pseudorapidity