11 std::vector<TEveVector> &bCorners)
12 : m_hasChild(
false), m_energy(E), m_et(
et), m_lPhi(lPhi), m_rPhi(rPhi), m_child(nullptr) {
44 TEveChunkManager::iterator li(
m_ls->GetLinePlex());
46 TEveStraightLineSet::Line_t &
l = *(TEveStraightLineSet::Line_t *)li();
52 l.fV2[0] = sc2.fX + v2.fX;
53 l.fV2[1] = sc2.fY + v2.fY;
58 l.fV1[0] = sc2.fX + v2.fX;
59 l.fV1[1] = sc2.fY + v2.fY;
60 l.fV2[0] = sc1.fX + v1.fX;
61 l.fV2[1] = sc1.fY + v1.fY;
66 l.fV1[0] = sc1.fX + v1.fX;
67 l.fV1[1] = sc1.fY + v1.fY;
82 TEveProjected *
proj = *(
m_ls)->BeginProjecteds();
83 proj->UpdateProjection();
110 std::vector<TEveVector> corners(2);
120 TEveElement *itemHolder,
122 std::vector<TEveVector> &bCorners) {
125 TEveVector v1, v2, v3, v4;
138 v3 = v3 + (vec *
scale);
143 v4 = v4 + (vec *
scale);
145 m_ls =
new TEveScalableStraightLineSet(
"rhophiRecHit");
146 m_ls->AddLine(v1.fX, v1.fY, 0, v3.fX, v3.fY, 0);
147 m_ls->AddLine(v3.fX, v3.fY, 0, v4.fX, v4.fY, 0);
148 m_ls->AddLine(v4.fX, v4.fY, 0, v2.fX, v2.fY, 0);
149 m_ls->AddLine(v2.fX, v2.fY, 0, v1.fX, v1.fY, 0);