7 #include "TEvePointSet.h"
9 #include "TEveViewer.h"
10 #include "TGLViewer.h"
12 #include "TEveCaloLegoOverlay.h"
60 TEveCaloLegoOverlay*
overlay =
new TEveCaloLegoOverlay();
62 overlay->SetShowPerspective(kFALSE);
68 viewerGL()->SetCurrentCamera(TGLViewer::kCameraOrthoXOY);
74 viewerGL()->RequestDraw(TGLRnrCtx::kLODHigh);
85 TLatex* latex =
new TLatex(
x,
y,
"");
86 const double textsize(0.05);
87 latex->SetTextSize(2 * textsize);
89 float h = latex->GetTextSize() * 0.6;
94 x,
y, Form(
" E_{T} = %.1f GeV, #eta = %0.2f, #varphi = %0.2f",
photon->et(),
photon->eta(),
photon->phi()));
103 Double_t
x(0),
y(0),
z(0);
104 TEvePointSet* scposition =
new TEvePointSet(
"sc position");
105 scposition->SetPickable(kTRUE);
106 scposition->SetTitle(
"Super cluster centroid");
108 x =
i->caloPosition().eta();
109 y =
i->caloPosition().phi();
111 scposition->SetNextPoint(
x,
y,
z);
112 scposition->SetMarkerSize(1);
113 scposition->SetMarkerStyle(4);
114 scposition->SetMarkerColor(kBlue);
115 tList->AddElement(scposition);
118 TEvePointSet* seedposition =
new TEvePointSet(
"seed position");
119 seedposition->SetTitle(
"Seed cluster centroid");
120 seedposition->SetPickable(kTRUE);
122 x =
i->superCluster()->seed()->position().eta();
123 y =
i->superCluster()->seed()->position().phi();
124 seedposition->SetMarkerSize(0.01);
126 seedposition->SetNextPoint(
x,
y,
z);
127 seedposition->SetMarkerStyle(2);
128 seedposition->SetMarkerColor(kRed);
129 tList->AddElement(seedposition);