|
typedef std::vector< Product * >
::iterator | Product_it |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
|
virtual void | build (const reco::Photon &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
const reco::Photon & | modelData (int index) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
|
void | clean () override |
|
virtual void | cleanLocal () |
|
TEveCompound * | createCompound (bool set_color=true, bool propagate_color_to_all_children=false) const |
|
| FWProxyBuilderBase (const FWProxyBuilderBase &) |
|
void | increaseComponentTransparency (unsigned int index, TEveElement *holder, const std::string &name, Char_t transpOffset) |
|
virtual void | localModelChanges (const FWModelId &iId, TEveElement *iCompound, FWViewType::EType viewType, const FWViewContext *vc) |
|
virtual void | modelChanges (const FWModelIds &, Product *) |
|
const FWProxyBuilderBase & | operator= (const FWProxyBuilderBase &) |
|
virtual void | scaleProduct (TEveElementList *parent, FWViewType::EType, const FWViewContext *vc) |
|
FWSimpleProxyHelper | m_helper |
|
std::vector< Product * > | m_products |
|
Definition at line 25 of file FWPhotonProxyBuilder.cc.
Reimplemented from FWSimpleProxyBuilderTemplate< reco::Photon >.
Definition at line 47 of file FWPhotonProxyBuilder.cc.
References fwLog, relativeConstraints::geom, FWGeometry::getCorners(), FWEventItem::getGeom(), gpuClustering::id, FWProxyBuilderBase::item(), FWViewType::kISpy, FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, fwlog::kWarning, fireworks::makeRhoPhiSuperCluster(), fireworks::makeRhoZSuperCluster(), reco::LeafCandidate::phi(), FWProxyBuilderBase::setupAddElement(), reco::Photon::superCluster(), and trackerHitRTTI::vector.
62 std::vector<std::pair<DetId, float> > detIds = photon.
superCluster()->hitsAndFractions();
64 TEveBoxSet* boxset =
new TEveBoxSet();
65 boxset->Reset(TEveBoxSet::kBT_FreeBox,
true, 64);
66 boxset->UseSingleColor();
67 boxset->SetPickable(
true);
69 for (
std::vector<std::pair<DetId, float> >::iterator
id = detIds.begin(), ide = detIds.end();
id != ide; ++
id) {
70 const float* corners = geom->
getCorners(
id->first.rawId());
72 if (corners ==
nullptr) {
76 boxset->AddBox(&corners[0]);
uint16_t *__restrict__ id
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWEventItem * item() const
reco::SuperClusterRef superCluster() const override
Ref to SuperCluster.
bool makeRhoZSuperCluster(FWProxyBuilderBase *, const reco::SuperClusterRef &iCluster, float iPhi, TEveElement &oItemHolder)
const float * getCorners(unsigned int id) const
bool makeRhoPhiSuperCluster(FWProxyBuilderBase *, const reco::SuperClusterRef &iCluster, float iPhi, TEveElement &oItemHolder)
double phi() const final
momentum azimuthal angle
const FWGeometry * getGeom() const