#include <FWPFTrackRPZProxyBuilder.h>
|
typedef std::vector< Product * >
::iterator | Product_it |
|
const reco::Track & | 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 FWPFTrackRPZProxyBuilder.h.
FWPFTrackRPZProxyBuilder::FWPFTrackRPZProxyBuilder |
( |
| ) |
|
|
inline |
virtual FWPFTrackRPZProxyBuilder::~FWPFTrackRPZProxyBuilder |
( |
| ) |
|
|
inlinevirtual |
void FWPFTrackRPZProxyBuilder::build |
( |
const reco::Track & |
iData, |
|
|
unsigned int |
iIndex, |
|
|
TEveElement & |
oItemHolder, |
|
|
const FWViewContext * |
|
|
) |
| |
|
privatevirtual |
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 5 of file FWPFTrackRPZProxyBuilder.cc.
References a, b, trackerHits::c, FWPFTrackUtils::getCollisionMarkers(), i, prof2calltree::last, FWProxyBuilderBase::setupAddElement(), FWPFTrackUtils::setupTrack(), detailsBasic3DVector::y, and detailsBasic3DVector::z.
10 TEvePointSet *rzps =
new TEvePointSet();
13 Float_t *trackPoints = trk->GetP();
14 unsigned int last = ( trk->GetN() - 1 ) * 3;
15 float y = trackPoints[last+1];
16 float z = trackPoints[last+2];
19 for(
signed int i = 0;
i < ps->GetN(); ++
i )
23 ps->GetPoint(
i, a, b, c );
27 else if( y > 0 && b < 0 )
32 else if( z > 0 && c < 0 )
35 rzps->SetNextPoint( a, b, c );
38 if( rzps->GetN() != 0 )
TEvePointSet * getCollisionMarkers(const TEveTrack *)
TEveTrack * setupTrack(const reco::Track &)
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const std::string & FWPFTrackRPZProxyBuilder::classPurpose |
( |
| ) |
|
|
static |
const std::string & FWPFTrackRPZProxyBuilder::classRegisterTypeName |
( |
| ) |
|
|
static |
const std::string & FWPFTrackRPZProxyBuilder::classTypeName |
( |
| ) |
|
|
static |
const std::string & FWPFTrackRPZProxyBuilder::classView |
( |
| ) |
|
|
static |
const std::string& FWPFTrackRPZProxyBuilder::purpose |
( |
| ) |
const |
|
inline |
const std::string& FWPFTrackRPZProxyBuilder::typeName |
( |
| ) |
const |
|
inline |
const std::string& FWPFTrackRPZProxyBuilder::view |
( |
| ) |
const |
|
inline |