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