14 #include "TEveCompound.h"
16 #include "TEveGeoNode.h"
17 #include "TEveStraightLineSet.h"
18 #include "TEveTrack.h"
43 TEveElementList* product,
49 TEveElementList* product,
54 if (pfTaus ==
nullptr)
57 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(),
71 candidateEnd = candidates.end();
72 candidate != candidateEnd;
74 double itheta = (*candidate)->theta();
80 m_phis.push_back((*candidate)->phi());
90 fwLog(
fwlog::kInfo) <<
"FWPFTauProxyBuilder missing PFTauTagInfo. Skip drawing of jets.\n";
value_type const * get() const
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
void buildViewType(const FWEventItem *iItem, TEveElementList *product, FWViewType::EType type, const FWViewContext *) override
static const int kAllRPZBits
Base class for all types of Jets.
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
const JetBaseRef & pfjetRef() const
static const int kAll3DBits
void buildBaseTau(const reco::BaseTau &iTau, const reco::Jet *iJet, TEveElement *comp, FWViewType::EType type, const FWViewContext *vc)
~FWPFTauProxyBuilder() override
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
const FWPFTauProxyBuilder & operator=(const FWPFTauProxyBuilder &)=delete
static const int kAllLegoBits
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
std::vector< double > m_phis
virtual std::vector< const reco::Candidate * > getJetConstituentsQuick() const
quick list of constituents