14 #include "TEveCompound.h"
16 #include "TEveGeoNode.h"
17 #include "TEveStraightLineSet.h"
18 #include "TEveTrack.h"
52 if( pfTaus == 0 )
return;
54 for( reco::PFTauCollection::const_iterator it = pfTaus->begin(), itEnd = pfTaus->end(); it != itEnd; ++it)
69 std::vector<double> phis;
71 for( std::vector<const reco::Candidate*>::const_iterator candidate = candidates.begin(), candidateEnd = candidates.end();
72 candidate != candidateEnd; ++candidate )
74 double itheta = (*candidate)->theta();
78 m_phis.push_back( (*candidate)->phi() );
90 fwLog(
fwlog::kInfo) <<
"FWPFTauProxyBuilder missing PFTauTagInfo. Skip drawing of jets.\n";
virtual void buildViewType(const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *)
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
std::vector< PFTau > PFTauCollection
collection of PFTau objects
static const int kAllRPZBits
const PFJetRef & pfjetRef() const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
virtual ~FWPFTauProxyBuilder()
Jets made from PFObjects.
static const int kAll3DBits
const FWPFTauProxyBuilder & operator=(const FWPFTauProxyBuilder &)
void buildBaseTau(const reco::BaseTau &iTau, const reco::Jet *iJet, TEveElement *comp, FWViewType::EType type, const FWViewContext *vc)
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
static const int kAllLegoBits
virtual std::vector< const reco::Candidate * > getJetConstituentsQuick() const
quick list of constituents
virtual void buildViewType(const FWEventItem *iItem, TEveElementList *product, FWViewType::EType type, const FWViewContext *)
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
std::vector< double > m_phis
T const * get() const
Returns C++ pointer to the item.