|
typedef std::vector< Product * >
::iterator | Product_it |
|
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 26 of file FWPhotonProxyBuilder.cc.
FWPhotonProxyBuilder::FWPhotonProxyBuilder |
( |
void |
| ) |
|
|
inline |
virtual FWPhotonProxyBuilder::~FWPhotonProxyBuilder |
( |
void |
| ) |
|
|
inlinevirtual |
Reimplemented from FWSimpleProxyBuilderTemplate< reco::Photon >.
Definition at line 45 of file FWPhotonProxyBuilder.cc.
References fwLog, relativeConstraints::geom, FWGeometry::getCorners(), FWEventItem::getGeom(), errorMatrix2Lands_multiChannel::id, 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]);
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)
virtual double phi() const
momentum azimuthal angle
const FWGeometry * getGeom() const
const std::string & FWPhotonProxyBuilder::classPurpose |
( |
| ) |
|
|
static |
const std::string & FWPhotonProxyBuilder::classRegisterTypeName |
( |
| ) |
|
|
static |
const std::string & FWPhotonProxyBuilder::classTypeName |
( |
| ) |
|
|
static |
const std::string & FWPhotonProxyBuilder::classView |
( |
| ) |
|
|
static |
virtual bool FWPhotonProxyBuilder::haveSingleProduct |
( |
void |
| ) |
const |
|
inlinevirtual |
const std::string& FWPhotonProxyBuilder::purpose |
( |
| ) |
const |
|
inline |
const std::string& FWPhotonProxyBuilder::typeName |
( |
| ) |
const |
|
inline |
const std::string& FWPhotonProxyBuilder::view |
( |
| ) |
const |
|
inline |