14 #include "TEveCompound.h"
16 #include "TEveGeoNode.h"
17 #include "TEveStraightLineSet.h"
18 #include "TEveTrack.h"
51 if( pfTaus == 0 )
return;
53 for( reco::PFTauCollection::const_iterator it = pfTaus->begin(), itEnd = pfTaus->end(); it != itEnd; ++it)
68 std::vector<double> phis;
70 for( std::vector<const reco::Candidate*>::const_iterator candidate = candidates.begin(), candidateEnd = candidates.end();
71 candidate != candidateEnd; ++candidate )
73 double itheta = (*candidate)->theta();
77 m_phis.push_back( (*candidate)->phi() );
89 fwLog(
fwlog::kInfo) <<
"FWPFTauProxyBuilder missing PFTauTagInfo. Skip drawing of jets.\n";
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
std::vector< PFTau > PFTauCollection
collection of PFTau objects
static const int kAllRPZBits
REGISTER_PROXYBUILDER_METHODS()
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.