Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ButtonBar.cxx File Reference

#include "EventDisplayBase/ButtonBar.h"
#include <iostream>
#include <string>
#include <cstdlib>
#include "TGFrame.h"
#include "TGButton.h"
#include "TGLayout.h"
#include "TGLabel.h"
#include "TGTextEntry.h"
#include "TGPicture.h"
#include "TGMsgBox.h"
#include "EventDataModel/EventHandle.h"
#include "EventDataModel/EventHeader.h"
#include "EventDisplayBase/evdb.h"
#include "EventDisplayBase/IoModule.h"
#include "EventDisplayBase/PrintDialog.h"
#include "EventDisplayBase/GoToDialog.h"

Go to the source code of this file.

Functions

void gsGetEventNumbers (int &run, int &event)


Function Documentation

void gsGetEventNumbers int &  run,
int &  event
[static]
 

Definition at line 31 of file ButtonBar.cxx.

References edm::EventHeader::Event(), evdb::IoModule::GetEvent(), edm::EventHandle::Header(), evdb::IoModule::Instance(), and edm::EventHeader::Run().

Referenced by evdb::ButtonBar::NewEvent().

00032 {
00033   // Grad the header out of the event
00034   edm::EventHandle& evt  = IoModule::Instance()->GetEvent();
00035   edm::EventHeader& head = evt.Header();
00036 
00037   run   = head.Run();
00038   event = head.Event();
00039 }


Generated on Mon Nov 23 04:45:27 2009 for NOvA Offline by  doxygen 1.3.9.1