#include <FWEventAnnotation.h>
Definition at line 12 of file FWEventAnnotation.h.
FWEventAnnotation::FWEventAnnotation |
( |
TGLViewerBase * |
view | ) |
|
Definition at line 11 of file FWEventAnnotation.cc.
12 TGLAnnotation(view,
"Event Info", 0.05, 0.95),
15 SetRole(TGLOverlayElement::kViewer);
FWEventAnnotation::~FWEventAnnotation |
( |
| ) |
|
|
override |
void FWEventAnnotation::Render |
( |
TGLRnrCtx & |
rnrCtx | ) |
|
|
override |
void FWEventAnnotation::setEvent |
( |
| ) |
|
void FWEventAnnotation::setLevel |
( |
long |
x | ) |
|
void FWEventAnnotation::updateOverlayText |
( |
| ) |
|
|
private |
Definition at line 46 of file FWEventAnnotation.cc.
References FWGUIManager::getCurrentEvent(), FWGUIManager::getGUIManager(), fireworks::getLocalTime(), and m_level.
Referenced by setEvent(), and setLevel().
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();
const edm::EventBase * getCurrentEvent() const
static FWGUIManager * getGUIManager()
std::string getLocalTime(const edm::EventBase &event)
int FWEventAnnotation::m_level |
|
private |