|
typedef std::vector< Product * >::iterator | Product_it |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
virtual void | buildViewType (const reco::Track &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
const reco::Track & | 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 26 of file FWTrackProxyBuilder.cc.
void FWTrackProxyBuilder::build |
( |
const reco::Track & |
iData, |
|
|
unsigned int |
iIndex, |
|
|
TEveElement & |
oItemHolder, |
|
|
const FWViewContext * |
|
|
) |
| |
|
overrideprivatevirtual |
iIndex is the index where iData is found in the container from which it came iItemHolder is the object to which you add your own objects which inherit from TEveElement
Reimplemented from FWSimpleProxyBuilderTemplate< reco::Track >.
Definition at line 63 of file FWTrackProxyBuilder.cc.
References FWProxyBuilderBase::context(), fw::estimate_field(), reco::TrackBase::eta(), reco::Track::extra(), FWEventItem::getConfig(), CaloRecHitAuxSetter::getField(), fireworks::Context::getField(), fireworks::Context::getTrackerTrackPropagator(), fireworks::Context::getTrackPropagator(), FWMagField::guessField(), edm::Ref< C, T, F >::isAvailable(), FWProxyBuilderBase::item(), FWMagField::kNone, fireworks::prepareTrack(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, reco::TrackBase::pt(), FWProxyBuilderBase::setupAddElement(), FWProxyBuilderConfiguration::value(), and ApeEstimator_cff::width.
66 if( fabs( iData.
eta() ) < 2.0 && iData.
pt() > 0.5 && iData.
pt() < 30 ) {
79 trk->SetLineWidth(width);
const fireworks::Context & context() const
FWProxyBuilderConfiguration * getConfig() const
const TrackExtraRef & extra() const
reference to "extra" object
unsigned getField(const uint32_t u, const unsigned mask, const unsigned offset)
TEveTrack * prepareTrack(const reco::Track &track, TEveTrackPropagator *propagator, const std::vector< TEveVector > &extraRefPoints=std::vector< TEveVector >())
TEveTrackPropagator * getTrackerTrackPropagator() const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
TEveTrackPropagator * getTrackPropagator() const
const FWEventItem * item() const
double estimate_field(const reco::Track &track, bool highQuality=false)
double eta() const
pseudorapidity of momentum vector
FWMagField * getField() const
void guessField(float estimate) const
double pt() const
track transverse momentum
T value(const std::string &name)