Go to the documentation of this file.
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) {
64 const reco::PFTauTagInfo* tauTagInfo = dynamic_cast<const reco::PFTauTagInfo*>((*it).pfTauTagInfoRef().get());
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";
const FWPFTauProxyBuilder & operator=(const FWPFTauProxyBuilder &)=delete
Base class for all types of Jets.
void buildBaseTau(const reco::BaseTau &iTau, const reco::Jet *iJet, TEveElement *comp, FWViewType::EType type, const FWViewContext *vc)
static const int kAllRPZBits
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void get(const T *&oData) const
#define REGISTER_PROXYBUILDER_METHODS()
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
static const int kAll3DBits
std::vector< PFTau > PFTauCollection
collection of PFTau objects
static const int kAllLegoBits
virtual void buildViewType(const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *)
value_type const * get() const
void addCircle(double eta, double phi, double radius, const unsigned int nLineSegments, TEveElement *comp, FWProxyBuilderBase *pb)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void buildViewType(const FWEventItem *iItem, TEveElementList *product, FWViewType::EType type, const FWViewContext *) override
const JetBaseRef & pfjetRef() const
std::vector< double > m_phis
~FWPFTauProxyBuilder() override