11 #include "TEveStraightLineSet.h"
51 const uint32_t&
id = ds.
id;
57 TEveStraightLineSet* lineSet =
new TEveStraightLineSet;
61 fwLog(
fwlog::kWarning) <<
"failed get geometry and topology of SiStripDigi with detid: " <<
id << std::endl;
64 float localTop[3] = {0.0, 0.0, 0.0};
65 float localBottom[3] = {0.0, 0.0, 0.0};
70 float globalBottom[3];
71 geom->
localToGlobal(
id, localTop, globalTop, localBottom, globalBottom);
73 lineSet->AddLine(globalTop[0], globalTop[1], globalTop[2], globalBottom[0], globalBottom[1], globalBottom[2]);
const FWSiStripDigiProxyBuilder & operator=(const FWSiStripDigiProxyBuilder &)=delete
#define REGISTER_PROXYBUILDER_METHODS()
#define REGISTER_FWPROXYBUILDER(_name_, _type_, _purpose_, _view_)
static const int kAllRPZBits
uint16_t *__restrict__ id
const float * getParameters(unsigned int id) const
void setupAddElement(TEveElement *el, TEveElement *parent, bool set_color=true) const
void get(const T *&oData) const
static const int kAll3DBits
void localSiStrip(short strip, float *localTop, float *localBottom, const float *pars, unsigned int id)
void localToGlobal(unsigned int id, const float *local, float *global, bool translatep=true) const
bool contains(unsigned int id) const
FWSiStripDigiProxyBuilder(void)
iterator end()
Return the off-the-end iterator.
~FWSiStripDigiProxyBuilder(void) override
iterator begin()
Return an iterator to the first DetSet.
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
const FWGeometry * getGeom() const