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

GoToDialog.cxx File Reference

Simple dialog to go to specified event. More...

#include "EventDisplayBase/GoToDialog.h"
#include <cstdlib>
#include "TGLayout.h"
#include "TGButton.h"
#include "TGLabel.h"
#include "TGTextEntry.h"
#include "EventDisplayBase/evdb.h"
#include "EventDisplayBase/IoModule.h"
#include "EventDataModel/EventHandle.h"
#include "EventDataModel/EventHeader.h"

Go to the source code of this file.

Functions

void GetEventNumbers (int &run, int &event)


Detailed Description

Simple dialog to go to specified event.

Version:
Id
GoToDialog.cxx,v 1.2 2008/08/25 19:20:54 fmwk Exp
Author:
messier@indiana.edu

Definition in file GoToDialog.cxx.


Function Documentation

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

Definition at line 24 of file GoToDialog.cxx.

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

00025 {
00026   // Grad the header out of the event
00027   edm::EventHandle& evt  = IoModule::Instance()->GetEvent();
00028   edm::EventHeader& head = evt.Header();
00029   
00030   run   = head.Run();
00031   event = head.Event();
00032 }


Generated on Wed Oct 15 02:35:28 2008 for NOvA Offline by  doxygen 1.3.9.1