#include <FWEventAnnotation.h>
Definition at line 11 of file FWEventAnnotation.h.
◆ FWEventAnnotation() [1/2]
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::~FWEventAnnotation |
( |
| ) |
|
|
override |
◆ FWEventAnnotation() [2/2]
◆ addTo()
◆ operator=()
◆ Render()
void FWEventAnnotation::Render |
( |
TGLRnrCtx & |
rnrCtx | ) |
|
|
override |
◆ setEvent()
void FWEventAnnotation::setEvent |
( |
| ) |
|
◆ setFrom()
◆ setLevel()
void FWEventAnnotation::setLevel |
( |
long |
x | ) |
|
◆ updateOverlayText()
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)
◆ m_level
int FWEventAnnotation::m_level |
|
private |