|
typedef std::vector< Product * >
::iterator | Product_it |
|
virtual void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) |
|
virtual void | build (const reco::Photon &iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *) |
|
virtual void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) |
|
const reco::Photon & | modelData (int index) |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) |
|
virtual void | clean () |
|
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 45 of file FWPhotonProxyBuilder.cc.
References fwLog, relativeConstraints::geom, FWGeometry::getCorners(), FWEventItem::getGeom(), FWProxyBuilderBase::item(), FWViewType::kISpy, FWViewType::kRhoPhi, FWViewType::kRhoPhiPF, FWViewType::kRhoZ, fwlog::kWarning, fireworks::makeRhoPhiSuperCluster(), fireworks::makeRhoZSuperCluster(), reco::LeafCandidate::phi(), FWProxyBuilderBase::setupAddElement(), and reco::Photon::superCluster().
65 std::vector<std::pair<DetId, float> > detIds = photon.
superCluster()->hitsAndFractions();
67 TEveBoxSet* boxset =
new TEveBoxSet();
68 boxset->Reset(TEveBoxSet::kBT_FreeBox,
true, 64);
69 boxset->UseSingleColor();
70 boxset->SetPickable(1);
72 for( std::vector<std::pair<DetId, float> >::iterator
id = detIds.begin(), ide = detIds.end();
75 const float* corners = geom->
getCorners( id->first.rawId() );
80 <<
"No corners available for supercluster constituent" << std::endl;
83 boxset->AddBox( &corners[0]);
virtual float phi() const
momentum azimuthal angle
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
const FWEventItem * item() const
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)
const FWGeometry * getGeom() const