Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DisplayCanvas Class Reference

Event Display for Balloon root files. More...

#include <DisplayCanvas.h>

Inheritance diagram for DisplayCanvas:

TObject List of all members.

Public Methods

 DisplayCanvas ()
void Draw ( Bool_t dataType )
 Main routine for drawing a single test beam event. More...

void setThresholds ( Float_t thresh[ 3 ][ 4 ] )
void Draw (Int_t event, Bool_t dataType )
 Draw routine for a event specified. More...

Int_t getCurrentEvent ()
Bool_t getScanDirection ()
void setCurrentEvent ( Int_t evt )
void setScanDirection ( Bool_t direction )
void setDrawingPads ()
 DisplayCanvas ()
void Draw ( Bool_t dataType )
 Main routine for drawing a single test beam event. More...

void setThresholds ( Float_t thresh[ 3 ][ 4 ] )
void Draw (Int_t event, Bool_t dataType )
 Draw routine for a event specified. More...

Int_t getCurrentEvent ()
Bool_t getScanDirection ()
void setCurrentEvent ( Int_t evt )
void setScanDirection ( Bool_t direction )
void setDrawingPads ()

Private Methods

void drawAxes ()
 Adds Axes to main pad. More...

void AnnotatePad ( TPad *pad, Char_t *title, UShort_t opt )
void DrawEventInfo ( TPad *pad )
void addEnergyScale ()
 Adds a Title displaying current Energy Scale. More...

Char_t* getText (TString color, Float_t energy)
 Returns Text Lines for addEnergyScale(). More...

Char_t* getTextInt (TString str, Int_t number)
 Returns Text Lines. More...

void drawAxes ()
 Adds Axes to main pad. More...

void AnnotatePad ( TPad *pad, Char_t *title, UShort_t opt )
void DrawEventInfo ( TPad *pad )
void addEnergyScale ()
 Adds a Title displaying current Energy Scale. More...

Char_t* getText (TString color, Float_t energy)
 Returns Text Lines for addEnergyScale(). More...

Char_t* getTextInt (TString str, Int_t number)
 Returns Text Lines. More...


Private Attributes

TCanvas* m_canvas
TPad* m_infoPad
TPad* m_3DPad
TPad* m_zxpad
TPad* m_zypad
TPad* m_xyTopPad
TPad* m_yxTopPad
TNodem_frameNode
TNodem_towerNode
CalDisplaym_CAL
AcdDisplaym_Acd
TkrDisplaym_Tkr
DigiEvent* m_event
Recon* m_recon
TTree* fTree
TTree* rTree
TObjArray* m_ped
TObjArray* m_acdped
TObjArray* m_xgtped
TObjArray* m_eventTextList
Bool_t m_scanForward
Int_t m_currentevent
Float_t m_axis_width
Float_t m_TowerHeight
Float_t m_TowerWidth
Float_t m_cal_lev [ 4 ]
Float_t m_acd_lev [ 4 ]
Float_t m_xgt_lev [ 4 ]
Float_t scale_factor
Float_t frame_x
Float_t frame_y
Float_t frame_z
TString* m_TextLine

Friends

class  TkrDisplay
class  CalDisplay
class  AcdDisplay

Detailed Description

Event Display for Balloon root files.

Definition at line 28 of file bfemDisplay/DisplayCanvas.h.


Constructor & Destructor Documentation

DisplayCanvas::DisplayCanvas ( )
 

DisplayCanvas::DisplayCanvas ( )
 


Member Function Documentation

void DisplayCanvas::AnnotatePad ( TPad * pad,
Char_t * title,
UShort_t opt ) [private]
 

Definition at line 318 of file DisplayCanvas.cxx.

void DisplayCanvas::AnnotatePad ( TPad * pad,
Char_t * title,
UShort_t opt ) [private]
 

Definition at line 318 of file DisplayCanvas.cxx.

Referenced by Draw().

void DisplayCanvas::Draw ( Int_t event,
Bool_t dataType ) [inline]
 

Draw routine for a event specified.

The routine calls the draw the event whose event number corresponds to the input integer 'event'. The current event variables ends up pointing to the event after 'event'.

Definition at line 114 of file doc/DisplayCanvas.h.

void DisplayCanvas::Draw ( Bool_t dataType )
 

Main routine for drawing a single test beam event.

The routine draws the event corresponding to m_currentevent,

which is incremented at the end of the routine, so that consecutive

events can be displayed by rerunning the Draw() routine.

Initially m_currentevent points to the first event.

Definition at line 116 of file DisplayCanvas.cxx.

void DisplayCanvas::Draw ( Int_t event,
Bool_t dataType ) [inline]
 

Draw routine for a event specified.

The routine calls the draw the event whose event number corresponds to the input integer 'event'. The current event variables ends up pointing to the event after 'event'.

Definition at line 114 of file bfemDisplay/DisplayCanvas.h.

void DisplayCanvas::Draw ( Bool_t dataType )
 

Main routine for drawing a single test beam event.

The routine draws the event corresponding to m_currentevent,

which is incremented at the end of the routine, so that consecutive

events can be displayed by rerunning the Draw() routine.

Initially m_currentevent points to the first event.

Definition at line 116 of file DisplayCanvas.cxx.

Referenced by Draw(), m_evtCtrl(), and EDControl::processCommand().

void DisplayCanvas::DrawEventInfo ( TPad * pad ) [private]
 

Definition at line 366 of file DisplayCanvas.cxx.

void DisplayCanvas::DrawEventInfo ( TPad * pad ) [private]
 

Definition at line 366 of file DisplayCanvas.cxx.

Referenced by Draw().

void DisplayCanvas::addEnergyScale ( ) [private]
 

Adds a Title displaying current Energy Scale.

Definition at line 492 of file DisplayCanvas.cxx.

void DisplayCanvas::addEnergyScale ( ) [private]
 

Adds a Title displaying current Energy Scale.

Definition at line 492 of file DisplayCanvas.cxx.

Referenced by Draw().

void DisplayCanvas::drawAxes ( ) [private]
 

Adds Axes to main pad.

Definition at line 595 of file DisplayCanvas.cxx.

void DisplayCanvas::drawAxes ( ) [private]
 

Adds Axes to main pad.

Definition at line 595 of file DisplayCanvas.cxx.

Int_t DisplayCanvas::getCurrentEvent ( ) [inline]
 

Definition at line 119 of file doc/DisplayCanvas.h.

Int_t DisplayCanvas::getCurrentEvent ( ) [inline]
 

Definition at line 119 of file bfemDisplay/DisplayCanvas.h.

Referenced by EDControl::processCommand().

Bool_t DisplayCanvas::getScanDirection ( ) [inline]
 

Definition at line 120 of file doc/DisplayCanvas.h.

Bool_t DisplayCanvas::getScanDirection ( ) [inline]
 

Definition at line 120 of file bfemDisplay/DisplayCanvas.h.

Referenced by EDControl::processCommand().

Char_t * DisplayCanvas::getText ( TString color,
Float_t energy ) [private]
 

Returns Text Lines for addEnergyScale().

Definition at line 617 of file DisplayCanvas.cxx.

Char_t * DisplayCanvas::getText ( TString color,
Float_t energy ) [private]
 

Returns Text Lines for addEnergyScale().

Definition at line 617 of file DisplayCanvas.cxx.

Char_t * DisplayCanvas::getTextInt ( TString str,
Int_t number ) [private]
 

Returns Text Lines.

Definition at line 643 of file DisplayCanvas.cxx.

Char_t * DisplayCanvas::getTextInt ( TString str,
Int_t number ) [private]
 

Returns Text Lines.

Definition at line 643 of file DisplayCanvas.cxx.

void DisplayCanvas::setCurrentEvent ( Int_t evt ) [inline]
 

Definition at line 122 of file doc/DisplayCanvas.h.

void DisplayCanvas::setCurrentEvent ( Int_t evt ) [inline]
 

Definition at line 122 of file bfemDisplay/DisplayCanvas.h.

Referenced by EDControl::processCommand().

void DisplayCanvas::setDrawingPads ( )
 

Definition at line 267 of file DisplayCanvas.cxx.

void DisplayCanvas::setDrawingPads ( )
 

Definition at line 267 of file DisplayCanvas.cxx.

Referenced by Draw(), and EDControl::processCommand().

void DisplayCanvas::setScanDirection ( Bool_t direction ) [inline]
 

Definition at line 123 of file doc/DisplayCanvas.h.

void DisplayCanvas::setScanDirection ( Bool_t direction ) [inline]
 

Definition at line 123 of file bfemDisplay/DisplayCanvas.h.

Referenced by EDControl::processCommand().

void DisplayCanvas::setThresholds ( Float_t thresh[3][4] )
 

Definition at line 466 of file DisplayCanvas.cxx.

void DisplayCanvas::setThresholds ( Float_t thresh[3][4] )
 

Definition at line 466 of file DisplayCanvas.cxx.

Referenced by m_evtCtrl(), and EDControl::processCommand().


Friends And Related Function Documentation

class AcdDisplay [friend]
 

Definition at line 103 of file bfemDisplay/DisplayCanvas.h.

Referenced by ClassImp().

class CalDisplay [friend]
 

Definition at line 102 of file bfemDisplay/DisplayCanvas.h.

Referenced by ClassImp().

class TkrDisplay [friend]
 

Default Destructor.

Definition at line 101 of file bfemDisplay/DisplayCanvas.h.

Referenced by ClassImp().


Member Data Documentation

TTree * DisplayCanvas::fTree [private]
 

Definition at line 56 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::frame_x [private]
 

Definition at line 78 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::frame_y [private]
 

Definition at line 78 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::frame_z [private]
 

Definition at line 78 of file doc/DisplayCanvas.h.

TPad * DisplayCanvas::m_3DPad [private]
 

Definition at line 36 of file doc/DisplayCanvas.h.

AcdDisplay * DisplayCanvas::m_Acd [private]
 

Definition at line 51 of file doc/DisplayCanvas.h.

CalDisplay * DisplayCanvas::m_CAL [private]
 

Definition at line 50 of file doc/DisplayCanvas.h.

TString * DisplayCanvas::m_TextLine [private]
 

Definition at line 88 of file doc/DisplayCanvas.h.

TkrDisplay * DisplayCanvas::m_Tkr [private]
 

Definition at line 52 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::m_TowerHeight [private]
 

Definition at line 69 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::m_TowerWidth [private]
 

Definition at line 70 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::m_acd_lev[4] [private]
 

Definition at line 73 of file doc/DisplayCanvas.h.

TObjArray * DisplayCanvas::m_acdped [private]
 

Definition at line 60 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::m_axis_width [private]
 

Definition at line 68 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::m_cal_lev[4] [private]
 

Definition at line 72 of file doc/DisplayCanvas.h.

TCanvas * DisplayCanvas::m_canvas [private]
 

Definition at line 34 of file doc/DisplayCanvas.h.

Int_t DisplayCanvas::m_currentevent [private]
 

Definition at line 66 of file doc/DisplayCanvas.h.

DigiEvent * DisplayCanvas::m_event [private]
 

Definition at line 54 of file doc/DisplayCanvas.h.

TObjArray * DisplayCanvas::m_eventTextList [private]
 

Definition at line 63 of file doc/DisplayCanvas.h.

TNode * DisplayCanvas::m_frameNode [private]
 

Definition at line 44 of file doc/DisplayCanvas.h.

TPad * DisplayCanvas::m_infoPad [private]
 

Definition at line 35 of file doc/DisplayCanvas.h.

TObjArray * DisplayCanvas::m_ped [private]
 

Definition at line 59 of file doc/DisplayCanvas.h.

Recon * DisplayCanvas::m_recon [private]
 

Definition at line 55 of file doc/DisplayCanvas.h.

Bool_t DisplayCanvas::m_scanForward [private]
 

Definition at line 65 of file doc/DisplayCanvas.h.

TNode * DisplayCanvas::m_towerNode [private]
 

Definition at line 45 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::m_xgt_lev[4] [private]
 

Definition at line 74 of file doc/DisplayCanvas.h.

TObjArray * DisplayCanvas::m_xgtped [private]
 

Definition at line 61 of file doc/DisplayCanvas.h.

TPad * DisplayCanvas::m_xyTopPad [private]
 

Definition at line 39 of file doc/DisplayCanvas.h.

TPad * DisplayCanvas::m_yxTopPad [private]
 

Definition at line 40 of file doc/DisplayCanvas.h.

TPad * DisplayCanvas::m_zxpad [private]
 

Definition at line 37 of file doc/DisplayCanvas.h.

TPad * DisplayCanvas::m_zypad [private]
 

Definition at line 38 of file doc/DisplayCanvas.h.

TTree * DisplayCanvas::rTree [private]
 

Definition at line 57 of file doc/DisplayCanvas.h.

Float_t DisplayCanvas::scale_factor [private]
 

Definition at line 77 of file doc/DisplayCanvas.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 14 20:41:43 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000