11 std::vector<reco::PFCandidatePtr> consts = iData.getPFConstituents();
13 typedef std::vector<reco::PFCandidatePtr>::const_iterator IC;
15 for( IC ic = consts.begin();
16 ic != consts.end(); ic++ )
22 t.fP = TEveVector( pfCandPtr->px(), pfCandPtr->py(), pfCandPtr->pz() );
23 t.fV = TEveVector( pfCandPtr->vertex().x(), pfCandPtr->vertex().y(), pfCandPtr->vertex().z() );
24 t.fSign = pfCandPtr->charge();
const fireworks::Context & context() const
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
FWPFPatJet3DProxyBuilder()
REGISTER_PROXYBUILDER_METHODS()
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Jets made from PFObjects.
static const int kAll3DBits
virtual ~FWPatJet3DProxyBuilder()
virtual ~FWPFPatJet3DProxyBuilder()
REGISTER_PROXYBUILDER_METHODS()
Analysis-level calorimeter jet class.
void setTrackTypePF(const reco::PFCandidate &pfCand, TAttLine *track)
virtual ~FWPFJet3DProxyBuilder()