AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONMchViewApplication Class Reference

Main class for the mchview program. More...

#include <AliMUONMchViewApplication.h>

Inheritance diagram for AliMUONMchViewApplication:

Public Member Functions

 AliMUONMchViewApplication (const char *name, int *argc, char **argv, UInt_t w=0, UInt_t h=0, UInt_t ox=0, UInt_t oy=0)
 
virtual ~AliMUONMchViewApplication ()
 
void HandleMenu (Int_t i)
 
void Open (const char *filename)
 

Static Public Member Functions

static const char * Version ()
 Return the version number of the mchview application. More...
 
static const char * FullVersion ()
 Return the SVN revision and version number of the mchview application. More...
 

Private Member Functions

 AliMUONMchViewApplication (const AliMUONMchViewApplication &rhs)
 Not implemented. More...
 
AliMUONMchViewApplicationoperator= (const AliMUONMchViewApplication &rhs)
 Not implemented. More...
 
void CompareData ()
 
void CompareAlignments ()
 
void CreateMenuBar (UInt_t w)
 
void Save ()
 
void Save (const char *filename)
 
void Open ()
 
void PrintAs ()
 
void ReleaseNotes ()
 
void ReadDir (TDirectory &dir)
 
AliMUONPainterMatrixGenerateStartupMatrix ()
 

Private Attributes

TGMainFrame * fMainFrame
 pointer to our mainframe More...
 
TList * fPainterMasterFrameList
 list of painterMasterFrame objects More...
 
TGTab * fTabs
 our tabs More...
 

Static Private Attributes

static const Int_t fgkFILESAVEAS
 File/Save As... menu. More...
 
static const Int_t fgkFILEOPEN
 File/Open... menu. More...
 
static const Int_t fgkFILEEXIT
 File/Exit menu. More...
 
static const Int_t fgkFILEPRINTAS
 File/Print As... menu. More...
 
static const Int_t fgkABOUT
 About menu. More...
 
static const Int_t fgkCOMPAREDATA
 Tools/Compare Data menu. More...
 
static const Int_t fgkCOMPAREALIGNMENTS
 Tools/Compare Alignments menu. More...
 
static const char * fgkFileTypes []
 For the open menu. More...
 

Detailed Description

Main class for the mchview program.

Main class for the mchview program

Author
Laurent Aphecetche, Subatech

Definition at line 25 of file AliMUONMchViewApplication.h.

Constructor & Destructor Documentation

AliMUONMchViewApplication::AliMUONMchViewApplication ( const char *  name,
int *  argc,
char **  argv,
UInt_t  w = 0,
UInt_t  h = 0,
UInt_t  ox = 0,
UInt_t  oy = 0 
)

ctor (w,h) is the size in pixel (if 0,0 it will be computed as 70%,90% of display size) (ox,oy) is the offset from the top-left of the display

Definition at line 80 of file AliMUONMchViewApplication.cxx.

AliMUONMchViewApplication::~AliMUONMchViewApplication ( )
virtual

dtor

Definition at line 212 of file AliMUONMchViewApplication.cxx.

AliMUONMchViewApplication::AliMUONMchViewApplication ( const AliMUONMchViewApplication rhs)
private

Not implemented.

Member Function Documentation

void AliMUONMchViewApplication::CompareAlignments ( )
private

Launch compare data dialog

Definition at line 257 of file AliMUONMchViewApplication.cxx.

Referenced by HandleMenu().

void AliMUONMchViewApplication::CompareData ( )
private

Launch compare data dialog

Definition at line 279 of file AliMUONMchViewApplication.cxx.

Referenced by HandleMenu().

void AliMUONMchViewApplication::CreateMenuBar ( UInt_t  w)
private

Create the application menu bar

Definition at line 301 of file AliMUONMchViewApplication.cxx.

Referenced by AliMUONMchViewApplication().

static const char* AliMUONMchViewApplication::FullVersion ( )
inlinestatic

Return the SVN revision and version number of the mchview application.

Definition at line 38 of file AliMUONMchViewApplication.h.

Referenced by AliMUONMchViewApplication(), and CreateMenuBar().

AliMUONPainterMatrix * AliMUONMchViewApplication::GenerateStartupMatrix ( )
private

Kind of bootstrap method to trigger the generation of all contours

Definition at line 220 of file AliMUONMchViewApplication.cxx.

Referenced by AliMUONMchViewApplication().

void AliMUONMchViewApplication::HandleMenu ( Int_t  i)

Handle the click of one menu item

Definition at line 336 of file AliMUONMchViewApplication.cxx.

void AliMUONMchViewApplication::Open ( const char *  filename)

Open a given file containing saved VTrackerDataMaker objects

Definition at line 395 of file AliMUONMchViewApplication.cxx.

void AliMUONMchViewApplication::Open ( )
private

Open file dialog

Definition at line 370 of file AliMUONMchViewApplication.cxx.

Referenced by HandleMenu().

AliMUONMchViewApplication& AliMUONMchViewApplication::operator= ( const AliMUONMchViewApplication rhs)
private

Not implemented.

void AliMUONMchViewApplication::PrintAs ( )
private

Print as...

Definition at line 466 of file AliMUONMchViewApplication.cxx.

Referenced by HandleMenu().

void AliMUONMchViewApplication::ReadDir ( TDirectory &  dir)
private

Read the given directory and import VTrackerData objects found

Definition at line 419 of file AliMUONMchViewApplication.cxx.

Referenced by Open().

void AliMUONMchViewApplication::ReleaseNotes ( )
private

Display release notes

Definition at line 489 of file AliMUONMchViewApplication.cxx.

Referenced by HandleMenu().

void AliMUONMchViewApplication::Save ( )
private

Open "Save VTrackerData objects to file" dialog

Definition at line 708 of file AliMUONMchViewApplication.cxx.

Referenced by HandleMenu().

void AliMUONMchViewApplication::Save ( const char *  filename)
private

Save VTrackerDataMaker objects into file of given name

Definition at line 722 of file AliMUONMchViewApplication.cxx.

static const char* AliMUONMchViewApplication::Version ( )
inlinestatic

Return the version number of the mchview application.

Definition at line 35 of file AliMUONMchViewApplication.h.

Referenced by FullVersion().

Member Data Documentation

const Int_t AliMUONMchViewApplication::fgkABOUT
staticprivate

About menu.

Definition at line 68 of file AliMUONMchViewApplication.h.

Referenced by CreateMenuBar(), and HandleMenu().

const Int_t AliMUONMchViewApplication::fgkCOMPAREALIGNMENTS
staticprivate

Tools/Compare Alignments menu.

Definition at line 70 of file AliMUONMchViewApplication.h.

Referenced by CreateMenuBar(), and HandleMenu().

const Int_t AliMUONMchViewApplication::fgkCOMPAREDATA
staticprivate

Tools/Compare Data menu.

Definition at line 69 of file AliMUONMchViewApplication.h.

Referenced by CreateMenuBar(), and HandleMenu().

const Int_t AliMUONMchViewApplication::fgkFILEEXIT
staticprivate

File/Exit menu.

Definition at line 66 of file AliMUONMchViewApplication.h.

Referenced by CreateMenuBar(), and HandleMenu().

const Int_t AliMUONMchViewApplication::fgkFILEOPEN
staticprivate

File/Open... menu.

Definition at line 65 of file AliMUONMchViewApplication.h.

Referenced by CreateMenuBar(), and HandleMenu().

const Int_t AliMUONMchViewApplication::fgkFILEPRINTAS
staticprivate

File/Print As... menu.

Definition at line 67 of file AliMUONMchViewApplication.h.

Referenced by CreateMenuBar(), and HandleMenu().

CLASSIMP const Int_t AliMUONMchViewApplication::fgkFILESAVEAS
staticprivate

File/Save As... menu.

Definition at line 64 of file AliMUONMchViewApplication.h.

Referenced by CreateMenuBar(), and HandleMenu().

const char * AliMUONMchViewApplication::fgkFileTypes
staticprivate
Initial value:
= {
"ROOT files", "*.root",
"All files", "*",
0, 0 }

For the open menu.

Definition at line 72 of file AliMUONMchViewApplication.h.

Referenced by Open().

TGMainFrame* AliMUONMchViewApplication::fMainFrame
private

pointer to our mainframe

Definition at line 60 of file AliMUONMchViewApplication.h.

Referenced by AliMUONMchViewApplication(), and CreateMenuBar().

TList* AliMUONMchViewApplication::fPainterMasterFrameList
private

list of painterMasterFrame objects

Definition at line 61 of file AliMUONMchViewApplication.h.

Referenced by AliMUONMchViewApplication(), PrintAs(), and ~AliMUONMchViewApplication().

TGTab* AliMUONMchViewApplication::fTabs
private

our tabs

Definition at line 62 of file AliMUONMchViewApplication.h.

Referenced by AliMUONMchViewApplication().


The documentation for this class was generated from the following files: