RootShower Class Reference

#include <RootShower.h>

Inheritance diagram for RootShower:

TGMainFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 RootShower (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~RootShower ()
void SetOk (Bool_t ok=true)
void Modified (Bool_t modified=true)
void SettingsModified (Bool_t modified=true)
void Interrupt (Bool_t inter=true)
Bool_t IsInterrupted ()
virtual void Initialize (Int_t first)
virtual void OnOpenFile (const Char_t *filename)
virtual void OnSaveFile (const Char_t *filename)
virtual void OnShowerProduce ()
virtual void Produce ()
virtual void ShowInfos ()
virtual void HighLight (TGListTreeItem *item)
virtual void OnShowSelected (TGListTreeItem *item)
virtual void Layout ()
virtual void CloseWindow ()
virtual Bool_t HandleConfigureNotify (Event_t *event)
virtual Bool_t HandleKey (Event_t *event)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual Bool_t HandleTimer (TTimer *)
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
void Clicked (TGListTreeItem *item, Int_t x, Int_t y)
void UpdateDisplay ()

Static Public Member Functions

static void setDefaultPosition (Int_t x, Int_t y)

Protected Attributes

Int_t fFirstParticle
Double_t fE0
Double_t fB

Private Member Functions

void MakeMenuBarFrame ()
void CloseMenuBarFrame ()
void ShowToolBar (Bool_t show=kTRUE)
TGListTreeItemAddToTree (const char *name=0)
void BuildEventTree ()

Private Attributes

Bool_t fOk
Bool_t fModified
Bool_t fSettingsModified
Bool_t fIsRunning
Bool_t fInterrupted
Bool_t fShowProcess
Bool_t fCreateGIFs
ULong_t fEventNr
UInt_t fNRun
TDatime fEventTime
Int_t fPicIndex
Int_t fPicNumber
Int_t fPicDelay
Int_t fPicReset
TEnvfRootShowerEnv
TGMenuBarfMenuBar
TGPopupMenufMenuFile
TGPopupMenufMenuEvent
TGPopupMenufMenuTools
TGPopupMenufMenuView
TGPopupMenufMenuHelp
TGLayoutHintsfMenuBarLayout
TGLayoutHintsfMenuBarItemLayout
TGLayoutHintsfMenuBarHelpLayout
TGToolBarfToolBar
TGLayoutHintsfL1
TGLayoutHintsfL2
TGLayoutHintsfL3
TGLayoutHintsfL4
TGLayoutHintsfL5
TGLayoutHintsfL6
TGLayoutHintsfL7
TGLayoutHintsfL8
GTitleFramefTitleFrame
TGCompositeFramefMainFrame
TGCompositeFramefSelectionFrame
GButtonFramefButtonFrame
TGCanvasfTreeView
TGListTreefEventListTree
TGListTreeItemfCurListItem
TContextMenufContextMenu
TGTabfDisplayFrame
TRootEmbeddedCanvasfEmbeddedCanvas
TRootEmbeddedCanvasfEmbeddedCanvas2
TRootEmbeddedCanvasfEmbeddedCanvas3
TGTextEditfTextView
TGHorizontalFramefHFrame
TGHorizontalFramefHFrame2
TGLayoutHintsfZoomButtonsLayout
TGButtonfZoomPlusButton
TGButtonfZoomMoinsButton
TGButtonfZoomPlusButton2
TGButtonfZoomMoinsButton2
TGStatusBarfStatusBar
TTimerfTimer
TCanvasfCA
TCanvasfCB
TCanvasfCC
MyEventfEvent
TPadfPadC
TH1FfHisto_dEdX

Static Private Attributes

static Int_t fgDefaultXPosition
static Int_t fgDefaultYPosition

Friends

class SettingsDialog

Detailed Description

Definition at line 59 of file RootShower.h.


Constructor & Destructor Documentation

RootShower::RootShower ( const TGWindow p,
UInt_t  w,
UInt_t  h 
)

Definition at line 292 of file RootShower.cxx.

References TList::Add(), TGToolBar::AddButton(), TGCompositeFrame::AddFrame(), TGFrame::AddInput(), TGTab::AddTab(), TString::Append(), TGContainer::Associate(), TGWidget::Associate(), bpic, bspic, BuildEventTree(), TCanvas::cd(), TPad::Draw(), fB, ToolBarData_t::fButton, fButtonFrame, fCA, fCB, fCC, TGObject::fClient, fContextMenu, fCreateGIFs, fDisplayFrame, fE0, fEmbeddedCanvas, fEmbeddedCanvas2, fEmbeddedCanvas3, fEvent, fEventListTree, fEventNr, fFirstParticle, fHFrame, fHFrame2, fHisto_dEdX, TGObject::fId, fIsRunning, fL1, fL2, fL3, fL4, fL5, fL6, fL7, fL8, fMainFrame, fModified, fNRun, fOk, fPadC, fPicDelay, fPicIndex, fPicNumber, fPicReset, ToolBarData_t::fPixmap, fRootShowerEnv, fSelectionFrame, fSettingsModified, fShowProcess, fStatusBar, fTextView, fTimer, fTitleFrame, fToolBar, fTreeView, fV1, fV2, fZoomButtonsLayout, fZoomMoinsButton, fZoomMoinsButton2, fZoomPlusButton, fZoomPlusButton2, gClient, TGToolBar::GetButton(), TRootEmbeddedCanvas::GetCanvas(), TGCompositeFrame::GetDefaultSize(), MyEvent::GetDetector(), TSystem::Getenv(), TGObject::GetId(), TROOT::GetListOfBrowsables(), TGClient::GetPicture(), TEnv::GetValue(), TGCanvas::GetViewPort(), TH1::GetXaxis(), TH1::GetYaxis(), gEventListTree, gProgPath, gROOT, gRootShower, gSystem, gVirtualX, i, MyEvent::Init(), MyDetector::Init(), Initialize(), kButtonDisabled, kDoubleBorder, kFALSE, kFixedWidth, kHorizontalFrame, kKeyPressMask, kKeyReleaseMask, kLHintsBottom, kLHintsCenterX, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kRaisedFrame, kSunkenFrame, kTRUE, kVerticalFrame, TSystem::Load(), TGTextView::LoadFile(), lpic, lspic, M_EVENT_NEXT, M_EVENT_SELECT, M_FILE_SAVEAS, M_INTERRUPT_SIMUL, M_SHOW_3D, M_ZOOM_MOINS, M_ZOOM_MOINS2, M_ZOOM_PLUS, M_ZOOM_PLUS2, MakeMenuBarFrame(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), PHOTON, TGFrame::Resize(), TPad::SetBorderMode(), TPad::SetBorderSize(), TGListTree::SetCanvas(), TGCanvas::SetContainer(), TAttFill::SetFillColor(), TGVSplitter::SetFrame(), TGMainFrame::SetIconName(), TH1::SetLabelFont(), TH1::SetLabelSize(), TGStatusBar::SetParts(), TGButton::SetState(), TH1::SetStats(), TGStatusBar::SetText(), TAttAxis::SetTitleFont(), TGButton::SetToolTipText(), TGMainFrame::SetWindowName(), TH1::SetXTitle(), TH1::SetYTitle(), tb_data, TGCompositeFrame::TGCompositeFrame(), TCanvas::Update(), and xpm_names.

RootShower::~RootShower (  )  [virtual]

Definition at line 644 of file RootShower.cxx.

References CloseMenuBarFrame(), fButtonFrame, fContextMenu, fDisplayFrame, fEmbeddedCanvas, fEventListTree, fHFrame, fHFrame2, fL1, fL2, fL3, fL4, fL5, fL6, fL7, fL8, fMainFrame, fSelectionFrame, fTextView, fTitleFrame, fTreeView, fZoomButtonsLayout, fZoomMoinsButton, fZoomMoinsButton2, fZoomPlusButton, and fZoomPlusButton2.


Member Function Documentation

void RootShower::MakeMenuBarFrame (  )  [private]

Definition at line 538 of file RootShower.cxx.

References TGPopupMenu::AddEntry(), TGCompositeFrame::AddFrame(), TGPopupMenu::AddLabel(), TGMenuBar::AddPopup(), TGPopupMenu::AddSeparator(), TGPopupMenu::Associate(), TGPopupMenu::CheckEntry(), TGPopupMenu::DisableEntry(), fMenuBar, fMenuBarHelpLayout, fMenuBarItemLayout, fMenuBarLayout, fMenuEvent, fMenuFile, fMenuHelp, fMenuTools, fMenuView, gClient, TGClient::GetRoot(), kHorizontalFrame, kLHintsExpandX, kLHintsLeft, kLHintsRight, kLHintsTop, kRaisedFrame, M_ANIMATE_GIF, M_FILE_EXIT, M_FILE_HTML, M_FILE_OPEN, M_FILE_SAVEAS, M_HELP_ABOUT, M_HELP_LICENSE, M_HELP_PHYSICS, M_HELP_SIMULATION, M_INSPECT_BROWSER, M_SETTINGS_DLG, M_SETTINGS_SAVE, M_SHOW_3D, M_SHOW_INFOS, M_SHOW_PROCESS, M_SHOW_TRACK, and M_VIEW_TOOLBAR.

Referenced by RootShower().

void RootShower::CloseMenuBarFrame (  )  [private]

Definition at line 614 of file RootShower.cxx.

References fMenuBar, fMenuBarHelpLayout, fMenuBarItemLayout, fMenuBarLayout, fMenuEvent, fMenuFile, fMenuHelp, and fMenuTools.

Referenced by ~RootShower().

void RootShower::ShowToolBar ( Bool_t  show = kTRUE  )  [private]

Definition at line 630 of file RootShower.cxx.

References TGPopupMenu::CheckEntry(), fMenuView, fToolBar, TGCompositeFrame::HideFrame(), M_VIEW_TOOLBAR, TGCompositeFrame::ShowFrame(), and TGPopupMenu::UnCheckEntry().

Referenced by ProcessMessage().

TGListTreeItem * RootShower::AddToTree ( const char *  name = 0  )  [private]

Definition at line 1014 of file RootShower.cxx.

References TGListTree::AddItem(), fCurListItem, and fEventListTree.

Referenced by BuildEventTree().

void RootShower::BuildEventTree (  )  [private]

Definition at line 1025 of file RootShower.cxx.

References AddToTree(), fCurListItem, and gBaseLTI.

Referenced by RootShower().

void RootShower::setDefaultPosition ( Int_t  x,
Int_t  y 
) [static]

Definition at line 681 of file RootShower.cxx.

References fgDefaultXPosition, and fgDefaultYPosition.

void RootShower::SetOk ( Bool_t  ok = true  )  [inline]

Definition at line 168 of file RootShower.h.

References fOk, and ok.

Referenced by RootShowerMsgBox::ProcessMessage().

void RootShower::Modified ( Bool_t  modified = true  )  [inline]

Definition at line 169 of file RootShower.h.

References fModified.

Referenced by ProcessMessage().

void RootShower::SettingsModified ( Bool_t  modified = true  )  [inline]

Definition at line 170 of file RootShower.h.

References fSettingsModified.

Referenced by ProcessMessage(), and SettingsDialog::ProcessMessage().

void RootShower::Interrupt ( Bool_t  inter = true  )  [inline]

Definition at line 171 of file RootShower.h.

References fInterrupted.

Referenced by Initialize(), OnShowerProduce(), ProcessMessage(), and Produce().

Bool_t RootShower::IsInterrupted (  )  [inline]

Definition at line 172 of file RootShower.h.

References fInterrupted.

Referenced by OnShowerProduce(), and Produce().

void RootShower::Initialize ( Int_t  first  )  [virtual]

Definition at line 1036 of file RootShower.cxx.

References TCanvas::cd(), TCanvas::Clear(), TGContainer::ClearViewPort(), TGListTree::DeleteChildren(), TGeoVolume::Draw(), fCA, fCB, TGObject::fClient, fCurListItem, fEventListTree, fStatusBar, TGeoManager::GetTopVolume(), TPad::GetView(), gGeoManager, Interrupt(), kFALSE, TGClient::NeedRedraw(), TAttFill::SetFillColor(), TView::SetPerspective(), TGStatusBar::SetText(), TView::SideView(), and TCanvas::Update().

Referenced by OnOpenFile(), ProcessMessage(), and RootShower().

void RootShower::OnOpenFile ( const Char_t filename  )  [virtual]

Definition at line 1287 of file RootShower.cxx.

References TGListTree::AddItem(), ANTINEUTRINO_E, ANTINEUTRINO_MUON, ANTINEUTRINO_TAU, TObject::AppendPad(), bpic, bspic, TCanvas::cd(), TPad::cd(), TGContainer::ClearViewPort(), TH1::Draw(), TPad::Draw(), TPolyLine3D::Draw(), TGPopupMenu::EnableEntry(), TParticle::Energy(), fB, fButtonFrame, fCA, fCC, TGObject::fClient, fE0, fEvent, fEventListTree, fFirstParticle, fHisto_dEdX, TH1::Fill(), TH1::Fit(), fMenuEvent, fMenuFile, fPadC, fStatusBar, fToolBar, gBaseLTI, gClient, TTree::GetBranch(), TGToolBar::GetButton(), MyParticle::GetChildId(), MyParticle::GetELoss(), TH1::GetEntries(), TTree::GetEntry(), TParticle::GetFirstMother(), TPad::GetFrame(), TH1::GetFunction(), MyParticle::GetName(), TF1::GetNDF(), MyParticle::GetNTracks(), MyEvent::GetParticle(), TParticle::GetPdgCode(), TGClient::GetPicture(), MyEvent::GetTotal(), MyParticle::GetTrack(), gGeoManager, gLTI, gTmpLTI, i, TGeoManager::Import(), MyEvent::Init(), Initialize(), j, GButtonFrame::kAllActive, kButtonUp, kRed, lpic, lspic, M_FILE_SAVEAS, M_SHOW_3D, M_SHOW_INFOS, TPad::Modified(), TGClient::NeedRedraw(), NEUTRINO_E, NEUTRINO_MUON, NEUTRINO_TAU, NULL, TGListTree::OpenItem(), PHOTON, TGListTree::Reparent(), TH1F::Reset(), TBranch::SetAddress(), TAttFill::SetFillColor(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TGListTreeItem::SetPictures(), TGButton::SetState(), GButtonFrame::SetState(), TGStatusBar::SetText(), TGListTree::SetToolTipItem(), TGListTreeItem::SetUserData(), TGMainFrame::SetWindowName(), sprintf(), TCanvas::Update(), and TPad::Update().

Referenced by ProcessMessage().

void RootShower::OnSaveFile ( const Char_t filename  )  [virtual]

Definition at line 1394 of file RootShower.cxx.

References TTree::Branch(), TFile::Close(), TGeoManager::Export(), fEvent, TTree::Fill(), gGeoManager, TTree::Print(), TFile::SetCompressionLevel(), TGMainFrame::SetWindowName(), sprintf(), and TTree::Write().

Referenced by ProcessMessage().

void RootShower::OnShowerProduce (  )  [virtual]

Definition at line 1138 of file RootShower.cxx.

References ANTINEUTRINO_E, ANTINEUTRINO_MUON, ANTINEUTRINO_TAU, TObject::AppendPad(), bpic, bspic, TCanvas::cd(), TPad::cd(), GTitleFrame::ChangeRightLogo(), TH1::Draw(), TPad::Draw(), TPolyLine3D::Draw(), fCA, fCC, fCreateGIFs, fEvent, fEventListTree, fEventTime, fHisto_dEdX, TH1::Fill(), fIsRunning, TH1::Fit(), fPadC, fPicDelay, fPicIndex, fPicReset, fShowProcess, fStatusBar, fTimer, fTitleFrame, gBaseLTI, gClient, MyParticle::GetChildId(), MyParticle::GetELoss(), TH1::GetEntries(), TPad::GetFrame(), TH1::GetFunction(), TF1::GetNDF(), MyParticle::GetNTracks(), MyEvent::GetParticle(), TParticle::GetPdgCode(), TGClient::GetPicture(), MyEvent::GetTotal(), MyParticle::GetTrack(), TPad::GetView(), gLTI, gSystem, i, Interrupt(), IsInterrupted(), j, kFALSE, kRed, kTRUE, lpic, lspic, TPad::Modified(), NEUTRINO_E, NEUTRINO_MUON, NEUTRINO_TAU, TGListTree::OpenItem(), PHOTON, TSystem::ProcessEvents(), Produce(), TTimer::Reset(), TH1F::Reset(), TPad::SaveAs(), TDatime::Set(), TAttFill::SetFillColor(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TView::SetPerspective(), TGListTreeItem::SetPictures(), TGStatusBar::SetText(), TGMainFrame::SetWindowName(), TTimer::TurnOff(), TTimer::TurnOn(), TCanvas::Update(), and TPad::Update().

Referenced by ProcessMessage().

void RootShower::Produce (  )  [virtual]

Definition at line 1070 of file RootShower.cxx.

References MyEvent::Action(), ALIVE, TGContainer::ClearViewPort(), CREATED, DEAD, TGPopupMenu::DisableEntry(), TGPopupMenu::EnableEntry(), fB, TGObject::fClient, fE0, fEvent, fEventListTree, fEventNr, fEventTime, fFirstParticle, fMenuEvent, fMenuFile, fNRun, fStatusBar, fToolBar, gBaseLTI, MyEvent::GetB(), TGToolBar::GetButton(), EventHeader::GetDate(), EventHeader::GetEnergy(), MyEvent::GetHeader(), MyEvent::GetLast(), MyEvent::GetNAlives(), MyEvent::GetParticle(), EventHeader::GetPrimary(), MyParticle::GetStatus(), MyEvent::GetTotal(), gLTI, gSystem, MyEvent::Init(), Interrupt(), IsInterrupted(), kButtonDisabled, kButtonUp, kFALSE, kTRUE, M_FILE_SAVEAS, M_SHOW_3D, M_SHOW_INFOS, TGClient::NeedRedraw(), TGListTree::OpenItem(), TSystem::ProcessEvents(), MyEvent::SetHeader(), TGButton::SetState(), MyParticle::SetStatus(), TGStatusBar::SetText(), and sprintf().

Referenced by OnShowerProduce().

void RootShower::ShowInfos (  )  [virtual]

Definition at line 1414 of file RootShower.cxx.

References TGObject::fClient, fEvent, MyEvent::GetB(), MyEvent::GetDetector(), MyDetector::GetDimensions(), EventHeader::GetEnergy(), MyEvent::GetHeader(), TGFrame::GetHeight(), TGObject::GetId(), MyParticle::GetName(), TGWindow::GetParent(), MyEvent::GetParticle(), MyDetector::GetTotalELoss(), TGFrame::GetWidth(), gVirtualX, TGFrame::Move(), TRootHelpDialog::Popup(), TRootHelpDialog::SetText(), sprintf(), str, and TGClient::WaitFor().

Referenced by ProcessMessage().

void RootShower::HighLight ( TGListTreeItem item  )  [virtual]

Definition at line 1238 of file RootShower.cxx.

void RootShower::OnShowSelected ( TGListTreeItem item  )  [virtual]

Definition at line 1245 of file RootShower.cxx.

References ANTINEUTRINO_E, ANTINEUTRINO_MUON, ANTINEUTRINO_TAU, TCanvas::cd(), TCanvas::Clear(), TGeoVolume::Draw(), TPolyLine3D::Draw(), fCB, fEvent, MyParticle::GetNTracks(), MyEvent::GetParticle(), TParticle::GetPdgCode(), TGeoManager::GetTopVolume(), MyEvent::GetTotal(), MyParticle::GetTrack(), TPad::GetView(), gGeoManager, gLTI, i, j, TPad::Modified(), NEUTRINO_E, NEUTRINO_MUON, NEUTRINO_TAU, PHOTON, retval, TPad::SetBorderMode(), TPad::SetBorderSize(), TAttFill::SetFillColor(), TView::SetPerspective(), and TCanvas::Update().

Referenced by ProcessMessage().

void RootShower::Layout (  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 690 of file RootShower.cxx.

References TGCompositeFrame::Layout().

void RootShower::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 699 of file RootShower.cxx.

References TGFrame::DeleteWindow(), TSystem::Exec(), fB, fE0, fFirstParticle, fModified, fOk, fRootShowerEnv, gApplication, gClient, TGClient::GetRoot(), gSystem, kEnvLocal, TSystem::Rename(), TEnv::SaveLevel(), TEnv::SetValue(), and TApplication::Terminate().

Referenced by ProcessMessage().

Bool_t RootShower::HandleConfigureNotify ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 724 of file RootShower.cxx.

References Event_t::fHeight, Event_t::fWidth, h, kTRUE, and w.

Bool_t RootShower::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 1453 of file RootShower.cxx.

References Event_t::fType, gVirtualX, TGMainFrame::HandleKey(), kC_COMMAND, kCM_MENU, kGKeyPress, kKey_A, kKey_Alt, kKey_B, kKey_CapsLock, kKey_Control, kKey_F1, kKey_I, kKey_Meta, kKey_NumLock, kKey_O, kKey_Q, kKey_ScrollLock, kKey_Shift, kKeyControlMask, kTRUE, M_FILE_EXIT, M_FILE_OPEN, M_FILE_SAVEAS, M_HELP_SIMULATION, M_INSPECT_BROWSER, M_SHOW_INFOS, MK_MSG(), n, TGFrame::SendMessage(), and x20.

Bool_t RootShower::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 739 of file RootShower.cxx.

References TCanvas::cd(), TGPopupMenu::CheckEntry(), TGContainer::ClearViewPort(), Clicked(), CloseWindow(), TGLViewer::CurrentCamera(), TGPopupMenu::DisableEntry(), TGLCamera::Dolly(), TGPopupMenu::EnableEntry(), TSystem::Exec(), fB, fButtonFrame, fCA, fCB, TGObject::fClient, fCreateGIFs, fDisplayFrame, fE0, fEvent, fEventListTree, TGFileInfo::fFilename, TGFileInfo::fFileTypes, fFirstParticle, fi, filetypes, fIsRunning, fMenuEvent, fMenuView, fRootShowerEnv, fSettingsModified, fShowProcess, fStatusBar, gClient, GET_MSG(), GET_SUBMSG(), TGTab::GetCurrent(), TGFrame::GetHeight(), TGObject::GetId(), TGWindow::GetParent(), TGClient::GetRoot(), TGListTree::GetSelected(), MyEvent::GetTotal(), TPad::GetView(), TPad::GetViewer3D(), TGFrame::GetWidth(), gHelpLicense, gPhysicsHelpText, gProgPath, gRootShower, gSimulationHelpText, gSystem, gVirtualX, html(), MyEvent::Init(), Initialize(), Interrupt(), TGPopupMenu::IsEntryChecked(), GButtonFrame::kAllActive, kButton1, kButton3, kC_COMMAND, kC_LISTTREE, TGLViewer::kCameraPerspXOY, kCM_BUTTON, kCM_MENU, kCT_ITEMCLICK, kCT_ITEMDBLCLICK, kEnvLocal, kFALSE, kFDOpen, kFDSave, GButtonFrame::kNoneActive, kTRUE, M_ANIMATE_GIF, M_EVENT_NEXT, M_EVENT_SELECT, M_FILE_EXIT, M_FILE_HTML, M_FILE_OPEN, M_FILE_SAVEAS, M_HELP_ABOUT, M_HELP_LICENSE, M_HELP_PHYSICS, M_HELP_SIMULATION, M_INSPECT_BROWSER, M_INTERRUPT_SIMUL, M_SETTINGS_DLG, M_SETTINGS_SAVE, M_SHOW_3D, M_SHOW_INFOS, M_SHOW_PROCESS, M_SHOW_TRACK, M_VIEW_TOOLBAR, M_ZOOM_MOINS, M_ZOOM_MOINS2, M_ZOOM_PLUS, M_ZOOM_PLUS2, TPad::Modified(), Modified(), TGFrame::Move(), TGClient::NeedRedraw(), OnOpenFile(), OnSaveFile(), OnShowerProduce(), OnShowSelected(), TMath::Pi(), TRootHelpDialog::Popup(), TSystem::Rename(), TGLCamera::RotateRad(), TEnv::SaveLevel(), TGLViewer::SetCurrentCamera(), GButtonFrame::SetState(), TGTab::SetTab(), TGStatusBar::SetText(), TRootHelpDialog::SetText(), SettingsDialog, SettingsModified(), TEnv::SetValue(), ShowInfos(), ShowToolBar(), sprintf(), TGPopupMenu::UnCheckEntry(), TView::UnzoomView(), TCanvas::Update(), TGClient::WaitFor(), x, y, and TView::ZoomView().

Bool_t RootShower::HandleTimer ( TTimer  )  [virtual]

Reimplemented from TGWindow.

Definition at line 1512 of file RootShower.cxx.

References GTitleFrame::ChangeRightLogo(), fPicIndex, fPicNumber, fTimer, fTitleFrame, kTRUE, and TTimer::Reset().

Int_t RootShower::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 1524 of file RootShower.cxx.

References ROOT::Math::gv_detail::dist(), TPolyLine3D::DistancetoPrimitive(), fEvent, fStatusBar, MyParticle::GetNTracks(), MyParticle::GetObjectInfo(), MyEvent::GetParticle(), MyEvent::GetTotal(), MyParticle::GetTrack(), gPad, i, j, kPointer, and TGStatusBar::SetText().

void RootShower::Clicked ( TGListTreeItem item,
Int_t  x,
Int_t  y 
)

Definition at line 1549 of file RootShower.cxx.

References TGContainer::ClearViewPort(), fContextMenu, fEventListTree, TGListTreeItem::GetUserData(), and TContextMenu::Popup().

Referenced by ProcessMessage().

void RootShower::UpdateDisplay (  )  [inline]

Definition at line 189 of file RootShower.h.

References fCA, TPad::Modified(), and TCanvas::Update().

Referenced by MyParticle::HighLight().


Friends And Related Function Documentation

friend class SettingsDialog [friend]

Definition at line 61 of file RootShower.h.

Referenced by ProcessMessage().


Member Data Documentation

Int_t RootShower::fgDefaultXPosition [static, private]

Definition at line 65 of file RootShower.h.

Referenced by setDefaultPosition().

Int_t RootShower::fgDefaultYPosition [static, private]

Definition at line 66 of file RootShower.h.

Referenced by setDefaultPosition().

Bool_t RootShower::fOk [private]

Definition at line 68 of file RootShower.h.

Referenced by CloseWindow(), RootShower(), and SetOk().

Bool_t RootShower::fModified [private]

Definition at line 69 of file RootShower.h.

Referenced by CloseWindow(), Modified(), and RootShower().

Bool_t RootShower::fSettingsModified [private]

Definition at line 70 of file RootShower.h.

Referenced by ProcessMessage(), RootShower(), and SettingsModified().

Bool_t RootShower::fIsRunning [private]

Definition at line 71 of file RootShower.h.

Referenced by OnShowerProduce(), ProcessMessage(), and RootShower().

Bool_t RootShower::fInterrupted [private]

Definition at line 72 of file RootShower.h.

Referenced by Interrupt(), and IsInterrupted().

Bool_t RootShower::fShowProcess [private]

Definition at line 73 of file RootShower.h.

Referenced by OnShowerProduce(), ProcessMessage(), and RootShower().

Bool_t RootShower::fCreateGIFs [private]

Definition at line 74 of file RootShower.h.

Referenced by OnShowerProduce(), ProcessMessage(), and RootShower().

ULong_t RootShower::fEventNr [private]

Definition at line 76 of file RootShower.h.

Referenced by Produce(), and RootShower().

UInt_t RootShower::fNRun [private]

Definition at line 77 of file RootShower.h.

Referenced by Produce(), and RootShower().

TDatime RootShower::fEventTime [private]

Definition at line 78 of file RootShower.h.

Referenced by OnShowerProduce(), and Produce().

Int_t RootShower::fPicIndex [private]

Definition at line 80 of file RootShower.h.

Referenced by HandleTimer(), OnShowerProduce(), and RootShower().

Int_t RootShower::fPicNumber [private]

Definition at line 81 of file RootShower.h.

Referenced by HandleTimer(), and RootShower().

Int_t RootShower::fPicDelay [private]

Definition at line 82 of file RootShower.h.

Referenced by OnShowerProduce(), and RootShower().

Int_t RootShower::fPicReset [private]

Definition at line 83 of file RootShower.h.

Referenced by OnShowerProduce(), and RootShower().

TEnv* RootShower::fRootShowerEnv [private]

Definition at line 85 of file RootShower.h.

Referenced by CloseWindow(), ProcessMessage(), and RootShower().

TGMenuBar* RootShower::fMenuBar [private]

Definition at line 87 of file RootShower.h.

Referenced by CloseMenuBarFrame(), and MakeMenuBarFrame().

TGPopupMenu* RootShower::fMenuFile [private]

Definition at line 88 of file RootShower.h.

Referenced by CloseMenuBarFrame(), MakeMenuBarFrame(), OnOpenFile(), and Produce().

TGPopupMenu* RootShower::fMenuEvent [private]

Definition at line 89 of file RootShower.h.

Referenced by CloseMenuBarFrame(), MakeMenuBarFrame(), OnOpenFile(), ProcessMessage(), and Produce().

TGPopupMenu* RootShower::fMenuTools [private]

Definition at line 90 of file RootShower.h.

Referenced by CloseMenuBarFrame(), and MakeMenuBarFrame().

TGPopupMenu* RootShower::fMenuView [private]

Definition at line 91 of file RootShower.h.

Referenced by MakeMenuBarFrame(), ProcessMessage(), and ShowToolBar().

TGPopupMenu* RootShower::fMenuHelp [private]

Definition at line 92 of file RootShower.h.

Referenced by CloseMenuBarFrame(), and MakeMenuBarFrame().

TGLayoutHints* RootShower::fMenuBarLayout [private]

Definition at line 93 of file RootShower.h.

Referenced by CloseMenuBarFrame(), and MakeMenuBarFrame().

TGLayoutHints* RootShower::fMenuBarItemLayout [private]

Definition at line 94 of file RootShower.h.

Referenced by CloseMenuBarFrame(), and MakeMenuBarFrame().

TGLayoutHints* RootShower::fMenuBarHelpLayout [private]

Definition at line 95 of file RootShower.h.

Referenced by CloseMenuBarFrame(), and MakeMenuBarFrame().

TGToolBar* RootShower::fToolBar [private]

Definition at line 100 of file RootShower.h.

Referenced by OnOpenFile(), Produce(), RootShower(), and ShowToolBar().

TGLayoutHints* RootShower::fL1 [private]

Definition at line 104 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fL2 [private]

Definition at line 105 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fL3 [private]

Definition at line 106 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fL4 [private]

Definition at line 107 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fL5 [private]

Definition at line 108 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fL6 [private]

Definition at line 109 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fL7 [private]

Definition at line 110 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fL8 [private]

Definition at line 111 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

GTitleFrame* RootShower::fTitleFrame [private]

Definition at line 114 of file RootShower.h.

Referenced by HandleTimer(), OnShowerProduce(), RootShower(), and ~RootShower().

TGCompositeFrame* RootShower::fMainFrame [private]

Definition at line 117 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGCompositeFrame* RootShower::fSelectionFrame [private]

Definition at line 120 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

GButtonFrame* RootShower::fButtonFrame [private]

Definition at line 121 of file RootShower.h.

Referenced by OnOpenFile(), ProcessMessage(), RootShower(), and ~RootShower().

TGCanvas* RootShower::fTreeView [private]

Definition at line 124 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGListTree* RootShower::fEventListTree [private]

Definition at line 125 of file RootShower.h.

Referenced by AddToTree(), Clicked(), Initialize(), OnOpenFile(), OnShowerProduce(), ProcessMessage(), Produce(), RootShower(), and ~RootShower().

TGListTreeItem* RootShower::fCurListItem [private]

Definition at line 126 of file RootShower.h.

Referenced by AddToTree(), BuildEventTree(), and Initialize().

TContextMenu* RootShower::fContextMenu [private]

Definition at line 127 of file RootShower.h.

Referenced by Clicked(), RootShower(), and ~RootShower().

TGTab* RootShower::fDisplayFrame [private]

Definition at line 130 of file RootShower.h.

Referenced by ProcessMessage(), RootShower(), and ~RootShower().

TRootEmbeddedCanvas* RootShower::fEmbeddedCanvas [private]

Definition at line 131 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TRootEmbeddedCanvas* RootShower::fEmbeddedCanvas2 [private]

Definition at line 132 of file RootShower.h.

Referenced by RootShower().

TRootEmbeddedCanvas* RootShower::fEmbeddedCanvas3 [private]

Definition at line 133 of file RootShower.h.

Referenced by RootShower().

TGTextEdit* RootShower::fTextView [private]

Definition at line 134 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGHorizontalFrame* RootShower::fHFrame [private]

Definition at line 137 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGHorizontalFrame * RootShower::fHFrame2 [private]

Definition at line 137 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGLayoutHints* RootShower::fZoomButtonsLayout [private]

Definition at line 138 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGButton* RootShower::fZoomPlusButton [private]

Definition at line 139 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGButton * RootShower::fZoomMoinsButton [private]

Definition at line 139 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGButton* RootShower::fZoomPlusButton2 [private]

Definition at line 140 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGButton * RootShower::fZoomMoinsButton2 [private]

Definition at line 140 of file RootShower.h.

Referenced by RootShower(), and ~RootShower().

TGStatusBar* RootShower::fStatusBar [private]

Definition at line 143 of file RootShower.h.

Referenced by DistancetoPrimitive(), Initialize(), OnOpenFile(), OnShowerProduce(), ProcessMessage(), Produce(), and RootShower().

TTimer* RootShower::fTimer [private]

Definition at line 145 of file RootShower.h.

Referenced by HandleTimer(), OnShowerProduce(), and RootShower().

TCanvas* RootShower::fCA [private]

Definition at line 146 of file RootShower.h.

Referenced by Initialize(), OnOpenFile(), OnShowerProduce(), ProcessMessage(), RootShower(), and UpdateDisplay().

TCanvas* RootShower::fCB [private]

Definition at line 147 of file RootShower.h.

Referenced by Initialize(), OnShowSelected(), ProcessMessage(), and RootShower().

TCanvas* RootShower::fCC [private]

Definition at line 148 of file RootShower.h.

Referenced by OnOpenFile(), OnShowerProduce(), and RootShower().

MyEvent* RootShower::fEvent [private]

Definition at line 150 of file RootShower.h.

Referenced by DistancetoPrimitive(), OnOpenFile(), OnSaveFile(), OnShowerProduce(), OnShowSelected(), ProcessMessage(), Produce(), RootShower(), and ShowInfos().

TPad* RootShower::fPadC [private]

Definition at line 151 of file RootShower.h.

Referenced by OnOpenFile(), OnShowerProduce(), and RootShower().

TH1F* RootShower::fHisto_dEdX [private]

Definition at line 153 of file RootShower.h.

Referenced by OnOpenFile(), OnShowerProduce(), and RootShower().

Int_t RootShower::fFirstParticle [protected]

Definition at line 156 of file RootShower.h.

Referenced by CloseWindow(), OnOpenFile(), ProcessMessage(), SettingsDialog::ProcessMessage(), Produce(), RootShower(), and SettingsDialog::SettingsDialog().

Double_t RootShower::fE0 [protected]

Definition at line 157 of file RootShower.h.

Referenced by CloseWindow(), OnOpenFile(), ProcessMessage(), SettingsDialog::ProcessMessage(), Produce(), RootShower(), and SettingsDialog::SettingsDialog().

Double_t RootShower::fB [protected]

Definition at line 158 of file RootShower.h.

Referenced by CloseWindow(), OnOpenFile(), ProcessMessage(), SettingsDialog::ProcessMessage(), Produce(), RootShower(), and SettingsDialog::SettingsDialog().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:06 2011 for ROOT_528-00b_version by  doxygen 1.5.1