/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/src/root/gui/EventDisplay.cpp File Reference

#include <gui/EventDisplay.hh>
#include <string>
#include "root/CaloRun.hh"
#include "root/CaloEvent.hh"
#include "root/CaloHit.hh"
#include "root/MTEvent.hh"
#include "root/MTChannel.hh"
#include "xml/XMLTool.hh"
#include "tools/Toolbox.hh"
#include "Chamber.hh"
#include "DiracChamber1.hh"
#include "GassiplexChamber1.hh"
#include "GassiplexChamber4.hh"
#include "Hardroc1Chamber.hh"
#include "MicroException.hh"
#include "Log.hh"
#include <TGResourcePool.h>
#include <TView.h>
#include "TExec.h"
#include <TGSlider.h>
#include <TG3DLine.h>
#include <TGToolBar.h>
#include "TGSplitter.h"
#include "TGFileDialog.h"
#include <TGClient.h>
#include <TRootCanvas.h>
#include <TGMenu.h>
#include <TGStatusBar.h>
#include <TGButton.h>
#include <TColor.h>
#include <TGLabel.h>
#include <TGNumberEntry.h>
#include <TROOT.h>
#include <TRint.h>
#include <TKey.h>
#include <TCanvas.h>
#include <TTree.h>
#include <TFile.h>
#include <TSystem.h>
#include <TGeoManager.h>
#include <TGeoMatrix.h>
#include <RQ_OBJECT.h>
#include <iostream>
#include <sstream>
#include <TRootEmbeddedCanvas.h>
#include <TGListBox.h>
#include <TList.h>
#include "TRootHelpDialog.h"

Include dependency graph for EventDisplay.cpp:

Go to the source code of this file.

Defines

#define CALOEVENT   1
#define MTEVENT   2

Enumerations

enum  RootShowerMessageTypes {
  M_FILE_EVENT_OPEN, M_FILE_XML_OPEN, M_EVENT_PREV, M_EVENT_NEXT,
  M_EVENT_SELECT, M_ZOOM_PLUS, M_ZOOM_MOINS, M_SHOW_CHAMBER,
  M_COLOR_MICROMEGAS_HIT, M_ONLY_MICROMEGAS, M_FILE_EXIT
}

Variables

ClassImp(EventDisplay) std
const char * 
xpm_names []
ToolBarData_t tb_data []
const char * dnd_types []
const char * filetypes []


Define Documentation

#define CALOEVENT   1

Definition at line 66 of file EventDisplay.cpp.

Referenced by EventDisplay::adjustSlider(), EventDisplay::Display(), and EventDisplay::fillTreeInfo().

#define MTEVENT   2

Definition at line 67 of file EventDisplay.cpp.

Referenced by EventDisplay::Display(), and EventDisplay::fillTreeInfo().


Enumeration Type Documentation

enum RootShowerMessageTypes

Enumerator:
M_FILE_EVENT_OPEN 
M_FILE_XML_OPEN 
M_EVENT_PREV 
M_EVENT_NEXT 
M_EVENT_SELECT 
M_ZOOM_PLUS 
M_ZOOM_MOINS 
M_SHOW_CHAMBER 
M_COLOR_MICROMEGAS_HIT 
M_ONLY_MICROMEGAS 
M_FILE_EXIT 

Definition at line 97 of file EventDisplay.cpp.

00097                             {
00098    M_FILE_EVENT_OPEN,
00099    M_FILE_XML_OPEN,
00100    M_EVENT_PREV,
00101    M_EVENT_NEXT,
00102    M_EVENT_SELECT,
00103    M_ZOOM_PLUS,
00104    M_ZOOM_MOINS,
00105    M_SHOW_CHAMBER,
00106    M_COLOR_MICROMEGAS_HIT,
00107    M_ONLY_MICROMEGAS,
00108    M_FILE_EXIT,
00109 };


Variable Documentation

ClassImp (EventDisplay) std const char* xpm_names[]

Initial value:

 {
   "open.png",
   "openxml.png",
   "",
   "previous.png",
   "next.png",
   "",
   "zoom.png",
   "unzoom.png",
   "",
   "colorhits.png",
   "onlymicromegas.png",
   "showchamber.png",
   "",
   "exit.png",
   0
}

Definition at line 78 of file EventDisplay.cpp.

Referenced by EventDisplay::Init().

ToolBarData_t tb_data[]

Initial value:

 {
   { "", "Open Root event file",     kFALSE, M_FILE_EVENT_OPEN,  NULL },
   { "", "Open XML Steer file",      kFALSE, M_FILE_XML_OPEN,    NULL },
   { "",              0,             0,      -1,                 NULL },
   { "", "Previous event",           kFALSE, M_EVENT_PREV,       NULL },
   { "", "Next event",               kFALSE, M_EVENT_NEXT,       NULL },
   { "",              0,             0,      -1,                 NULL },
   { "", "Zoom",                     kFALSE, M_ZOOM_PLUS,        NULL },
   { "", "Unzoom",                   kFALSE, M_ZOOM_MOINS,       NULL },
   { "",  0            ,             0,      -1,                 NULL },
   { "", "Use different color for micromegas hits",kFALSE, M_COLOR_MICROMEGAS_HIT,  NULL },
   { "", "Show only micromegas hits",kFALSE, M_ONLY_MICROMEGAS,  NULL },
   { "", "Show chambers",            kFALSE, M_SHOW_CHAMBER,     NULL },
   { "",  0            ,             0,      -1,                 NULL },
   { "", "Exit Application",         kFALSE, M_FILE_EXIT,        NULL },
   { NULL,NULL            ,          0,      0,                  NULL }
}

Definition at line 112 of file EventDisplay.cpp.

Referenced by EventDisplay::Init().

const char* dnd_types[]

Initial value:

 {
   "ROOT files",    "*.root",
    0,               0
}

Definition at line 130 of file EventDisplay.cpp.

Referenced by EventDisplay::OpenFile(), and EventDisplay::OpenXMLFile().

const char* filetypes[]

Initial value:

 { "All files",     "*",
                            "ROOT files",    "*.root",
                            0,               0 }

Definition at line 135 of file EventDisplay.cpp.


Generated on Mon Jan 7 13:17:13 2013 for MicromegasFramework by  doxygen 1.4.7