12 std::vector<reco::PFCandidatePtr > consts = iData.getPFConstituents();
14 typedef std::vector<reco::PFCandidatePtr >::const_iterator IC;
16 for( IC ic = consts.begin(); ic != consts.end(); ++ic )
21 pfCandPtr->pt(), pfCandPtr->eta(), pfCandPtr->phi() );
31 template<
class T>
void 35 for( TEveElement::List_i
i = parent->BeginChildren();
i!= parent->EndChildren(); ++
i )
37 if ( ( *i )->HasChildren() )
40 for( TEveElement::List_i j = (*i)->BeginChildren(); j != (*i)->EndChildren(); ++j )
50 template<
class T>
void 54 if ( ( parent )->HasChildren() )
56 for( TEveElement::List_i j = parent->BeginChildren(); j != parent->EndChildren(); ++j )
60 cand->SetMarkerColor( dp.
color() );
61 cand->ElementChanged();
const fireworks::Context & context() const
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
virtual ~FWPFJetLegoProxyBuilder()
void voteMaxEtAndEnergy(float Et, float energy) const
virtual ~FWPatJetLegoProxyBuilder()
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Jets made from PFObjects.
const FWEventItem * item() const
FWPFPatJetLegoProxyBuilder()
virtual void localModelChanges(const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc)
FWPatJetLegoProxyBuilder()
FWPFJetLegoProxyBuilder()
void updateScale(const FWViewContext *vc, const fireworks::Context &)
Analysis-level calorimeter jet class.
void setTrackTypePF(const reco::PFCandidate &pfCand, TAttLine *track)
virtual ~FWPFPatJetLegoProxyBuilder()
ModelInfo modelInfo(int iIndex) const
virtual void scaleProduct(TEveElementList *parent, FWViewType::EType, const FWViewContext *vc)