#include <FWEventAnnotation.h>
Definition at line 11 of file FWEventAnnotation.h.
FWEventAnnotation::FWEventAnnotation |
( |
TGLViewerBase * |
view | ) |
|
Definition at line 11 of file FWEventAnnotation.cc.
11 : TGLAnnotation(view,
"Event Info", 0.05, 0.95),
m_level(1) {
12 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 32 of file FWEventAnnotation.cc.
References FWGUIManager::getCurrentEvent(), FWGUIManager::getGUIManager(), fireworks::getLocalTime(), and m_level.
Referenced by setEvent(), and setLevel().
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();
const edm::EventBase * getCurrentEvent() const
static FWGUIManager * getGUIManager()
std::string getLocalTime(const edm::EventBase &event)
int FWEventAnnotation::m_level |
|
private |