2 #include "TEveManager.h" 12 SetRole(TGLOverlayElement::kViewer);
33 fText =
"CMS Experiment at LHC, CERN";
38 fText +=
"\nData recorded: ";
40 fText +=
"\nRun/Event: ";
41 fText +=
event->id().run();
43 fText +=
event->id().event();
45 fText +=
"\nLumi section: ";
46 fText +=
event->luminosityBlock();
49 fText +=
"\nOrbit/Crossing: ";
50 fText +=
event->orbitNumber();
52 fText +=
event->bunchCrossing();
64 TGLAnnotation::Render(rnrCtx);
88 fTextSize = atof(
value->value().c_str());
92 fPosX = atof(
value->value().c_str());
96 fPosY = atof(
value->value().c_str());
void Render(TGLRnrCtx &rnrCtx) override
virtual void addTo(FWConfiguration &) const
const edm::EventBase * getCurrentEvent() const
virtual void setFrom(const FWConfiguration &)
FWEventAnnotation(TGLViewerBase *view)
FWConfiguration & addKeyValue(const std::string &, const FWConfiguration &)
static FWGUIManager * getGUIManager()
const FWConfiguration * valueForKey(const std::string &iKey) const
std::string getLocalTime(const edm::EventBase &event)
~FWEventAnnotation() override