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;
69 std::vector<const reco::Candidate*>
candidates =
jet->getJetConstituentsQuick();
70 for (std::vector<const reco::Candidate*>::const_iterator candidate =
candidates.begin(),
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";
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
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
Base class for all types of Jets.
void get(const T *&oData) const
static const int kAll3DBits
const JetBaseRef & pfjetRef() const
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
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
static const int kAllLegoBits
std::vector< double > m_phis
value_type const * get() const