11 #include "TEveStraightLineSet.h"
49 const uint32_t&
id = ds.
id;
51 const float* pars =
geom->getParameters(
id);
55 TEveStraightLineSet* lineSet =
new TEveStraightLineSet;
58 if (!
geom->contains(
id)) {
59 fwLog(
fwlog::kWarning) <<
"failed get geometry and topology of SiStripDigi with detid: " <<
id << std::endl;
62 float localTop[3] = {0.0, 0.0, 0.0};
63 float localBottom[3] = {0.0, 0.0, 0.0};
68 float globalBottom[3];
69 geom->localToGlobal(
id, localTop, globalTop, localBottom, globalBottom);
71 lineSet->AddLine(globalTop[0], globalTop[1], globalTop[2], globalBottom[0], globalBottom[1], globalBottom[2]);