2 #include "TEveManager.h" 12 TGLAnnotation(view,
"Event Info", 0.05, 0.95),
15 SetRole(TGLOverlayElement::kViewer);
48 fText =
"CMS Experiment at LHC, CERN";
54 fText +=
"\nData recorded: ";
56 fText +=
"\nRun/Event: ";
57 fText +=
event->id().run();
59 fText +=
event->id().event();
62 fText +=
"\nLumi section: ";
63 fText +=
event->luminosityBlock();
67 fText +=
"\nOrbit/Crossing: ";
68 fText +=
event->orbitNumber();
70 fText +=
event->bunchCrossing();
85 TGLAnnotation::Render(rnrCtx);
112 if (value) fTextSize = atof(value->
value().c_str());
115 if (value) fPosX = atof(value->value().c_str());
118 if (value) fPosY = atof(value->value().c_str());
void Render(TGLRnrCtx &rnrCtx) override
virtual void setFrom(const FWConfiguration &)
FWEventAnnotation(TGLViewerBase *view)
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
const std::string & value(unsigned int iIndex=0) const
const edm::EventBase * getCurrentEvent() const
static FWGUIManager * getGUIManager()
std::string getLocalTime(const edm::EventBase &event)
virtual void addTo(FWConfiguration &) const
const FWConfiguration * valueForKey(const std::string &iKey) const
~FWEventAnnotation() override