11 #include "TEvePointSet.h" 12 #include "TEveCompound.h" 51 unsigned int id =
hit.
id().rawId();
53 if (!
geom->contains(
id)) {
58 TEvePointSet* pointSet =
new TEvePointSet();
61 product->AddElement(itemHolder);
63 const float* pars =
geom->getParameters(
id);
66 float x_local = (
hit.positionError() > 0. ?
hit.position() : (
hit.row() + 0.5f) * pars[0] + pars[2]);
67 float y_local = (
hit.column() + 0.5f) * pars[1] + pars[3];
69 const float localPoint[3] = {x_local, y_local, 0.0};
72 geom->localToGlobal(
id, localPoint, globalPoint);
74 pointSet->SetNextPoint(globalPoint[0], globalPoint[1], globalPoint[2]);
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
~FWBtlRecHitProxyBuilder(void) override
static const int kAll3DBits
FWBtlRecHitProxyBuilder(void)
const FWGeometry * getGeom() const
const FWBtlRecHitProxyBuilder & operator=(const FWBtlRecHitProxyBuilder &)=delete
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const