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.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]);
const FWEtlRecHitProxyBuilder & operator=(const FWEtlRecHitProxyBuilder &)=delete
#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
static const int kAll3DBits
~FWEtlRecHitProxyBuilder(void) override
const FWGeometry * getGeom() const
TEveCompound * createCompound(bool set_color=true, bool propagate_color_to_all_children=false) const
FWEtlRecHitProxyBuilder(void)