1 #include "TEvePointSet.h" 31 TEveElement& oItemHolder,
36 TEvePointSet* pointSet =
new TEvePointSet;
45 if (!
geom->contains(rawid)) {
51 if (
hit->hasPositionAndError()) {
54 }
else if (
const SiStripRecHit1D*
hit = dynamic_cast<const SiStripRecHit1D*>(rechit)) {
55 if (
hit->hasPositionAndError()) {
60 float localPos[3] = {
pos.x(),
pos.y(),
pos.z()};
62 geom->localToGlobal(rawid, localPos, globalPos);
63 pointSet->SetNextPoint(globalPos[0], globalPos[1], globalPos[2]);
70 "Track Tracking RecHits",
#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
static const int kAll3DBits
const FWTrackTrackingRecHitProxyBuilder & operator=(const FWTrackTrackingRecHitProxyBuilder &)=delete
~FWTrackTrackingRecHitProxyBuilder(void) override
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.
FWTrackTrackingRecHitProxyBuilder(void)
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
const FWGeometry * getGeom() const
DetId geographicalId() const
constexpr uint32_t rawId() const
get the raw id
virtual LocalPoint localPosition() const =0
const FWEventItem * item() const