Go to the documentation of this file.
9 #include "TEvePointSet.h"
10 #include "TEveStraightLineSet.h"
11 #include "TEveCompound.h"
37 TEveElementList* product,
50 unsigned int id = set->detId();
53 const float* pars =
geom->getParameters(
id);
54 const float* shape =
geom->getShapePars(
id);
62 product->AddElement(itemHolder);
64 TEvePointSet* pointSet =
new TEvePointSet;
66 if (!
geom->contains(
id)) {
67 fwLog(
fwlog::kWarning) <<
"failed get geometry of Phase2TrackerCluster1D with detid: " <<
id << std::endl;
76 geom->localToGlobal(
id, localPoint, globalPoint);
78 pointSet->SetNextPoint(globalPoint[0], globalPoint[1], globalPoint[2]);
87 "Phase2TrackerCluster1D",
FWPhase2TrackerCluster1DProxyBuilder(void)
static const int kAllRPZBits
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
void get(const T *&oData) const
#define REGISTER_PROXYBUILDER_METHODS()
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator begin(bool update=false) const
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
static const int kAll3DBits
const FWPhase2TrackerCluster1DProxyBuilder & operator=(const FWPhase2TrackerCluster1DProxyBuilder &)=delete
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
const FWGeometry * getGeom() const
const_iterator end(bool update=false) const
float phase2PixelLocalY(const double mpy, const float *, const float *)
float phase2PixelLocalX(const double mpx, const float *, const float *)
~FWPhase2TrackerCluster1DProxyBuilder(void) override
const data_type * const_iterator