|
typedef std::vector< Product * >::iterator | Product_it |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) override |
|
virtual void | build (const void *, unsigned int iIndex, TEveElement &iItemHolder, const FWViewContext *)=0 |
|
void | build (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, const FWViewContext *context) override |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
void | buildViewType (const FWEventItem *iItem, TEveElementList *product, FWViewType::EType viewType, const FWViewContext *) override |
|
virtual void | buildViewType (const TrackingParticle &iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *) |
|
virtual void | buildViewType (const void *, unsigned int iIndex, TEveElement &iItemHolder, FWViewType::EType, const FWViewContext *)=0 |
|
void | buildViewType (const void *iData, unsigned int iIndex, TEveElement &oItemHolder, FWViewType::EType viewType, const FWViewContext *context) override |
|
const TrackingParticle & | modelData (int index) |
|
void | build () |
|
virtual void | build (const FWEventItem *iItem, TEveElementList *product, const FWViewContext *) |
|
virtual void | buildViewType (const FWEventItem *iItem, TEveElementList *, FWViewType::EType, const FWViewContext *) |
|
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 |
|
void FWTrackingParticleProxyBuilderFullFramework::build |
( |
const TrackingParticle & |
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< TrackingParticle >.
Definition at line 94 of file FWTrackingParticleProxyBuilderFullFramework.cc.
100 t.fP = TEveVector(iData.
px(), iData.
py(), iData.
pz());
101 t.fV = TEveVector(iData.
vx(), iData.
vy(), iData.
vz());
104 TEveTrack*
track =
new TEveTrack(&
t,
context().getTrackPropagator());
106 track->SetLineStyle(7);
113 TEvePointSet* pointSet =
new TEvePointSet;
119 float global[3] = {0.0, 0.0, 0.0};
120 float globalDir[3] = {0.0, 0.0, 0.0};
123 std::pair<TrackingParticleRef, TrackPSimHitRef> clusterTPpairWithDummyTP(tpr,
TrackPSimHitRef());
126 clusterTPpairWithDummyTP,
130 std::vector<const PSimHit*> phits;
131 for (
auto ri =
range.first; ri !=
range.second; ++ri)
132 phits.push_back(ri->second.get());
134 std::sort(phits.begin(), phits.end(), [](
const PSimHit*
a,
const PSimHit*
b) {
return a->tof() <
b->tof(); });
135 for (
auto phi = phits.begin();
phi != phits.end(); ++
phi) {
147 geom->localToGlobal(phit->
detUnitId(), localDir, globalDir,
false);
148 pointSet->SetNextPoint(global[0], global[1], global[2]);
153 track->AddPathMark(TEvePathMark(TEvePathMark::kReference,
154 TEveVector(global[0], global[1], global[2]),
155 TEveVector(globalDir[0], globalDir[1], globalDir[2])));
References a, b, TrackingParticle::charge(), AlCaHLTBitMon_QueryRunRegistry::comp, FWProxyBuilderBase::context(), PSimHit::detUnitId(), relativeConstraints::geom, FWEventItem::getGeom(), FWProxyBuilderBase::item(), DTRecHitClients_cfi::local, PSimHit::localPosition(), m_assocList, PSimHit::momentumAtEntry(), phi, TrackingParticle::px(), TrackingParticle::py(), TrackingParticle::pz(), FastTimerService_cff::range, FWProxyBuilderBase::setupAddElement(), SimHitTPAssociationProducer::simHitTPAssociationListGreater(), OrderedSet::t, tpch, HLT_2018_cff::track, TrackingParticle::vx(), TrackingParticle::vy(), TrackingParticle::vz(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().