QGUIHistogramDisplay Class Reference
[Apollo Gui]

Inheritance diagram for QGUIHistogramDisplay:

QGUIBaseFrame

List of all members.


Detailed Description

online data monitoring window showing some statistics about the running measurement

Author:
Sergio Di Domizio

Public Member Functions

 QGUIHistogramDisplay (const TGWindow *parent, unsigned int Width, unsigned int Height)
 ctor
virtual ~QGUIHistogramDisplay ()
 dtor
void Close ()
 close window
void UpdateChannel ()
 update channel in QGUIHistogramHandler object
void UpdateDisplay ()
 update histograms every time timeout expires
void HandlePause ()
 handle pause button pressed
void SetUpdateActiveTypes ()
void SetUpdateColors ()
void UpdateRateMode (Int_t id)
void UpdateLinLogMode (Int_t id)
void UpdateSpectrumRange ()
void CheckSpectrumRange ()

Private Member Functions

void CreateSubFrames ()
void ConnectButtons ()
void GetActiveChannels ()
void UpdateColors ()
void UpdateActiveTypes ()

Private Attributes

TGCompositeFrame * fControlFrame
TGCompositeFrame * fDisplayFrame
TGCompositeFrame * fChannelFrame
TRootEmbeddedCanvas * fPulseCanvas
TRootEmbeddedCanvas * fSpectrumCanvas
TRootEmbeddedCanvas * fRateCanvas
QGUINumberSelectorfChSelector
TGTextButton * fCloseButton
TGTextButton * fPauseButton
TGCheckButton * fSpectrumSignalButton
TGCheckButton * fSpectrumNoiseButton
TGCheckButton * fSpectrumHeaterButton
TGCheckButton * fRateSignalButton
TGCheckButton * fRateNoiseButton
TGCheckButton * fRateHeaterButton
QGuiColorSelectfSignalColor
QGuiColorSelectfNoiseColor
QGuiColorSelectfHeaterColor
TGButtonGroup * fRateModeButton
TGButtonGroup * fLinLogButton
TGCheckButton * fMinAutoButton
TGCheckButton * fMaxAutoButton
TGNumberEntry * fSpectrumMinButton
TGNumberEntry * fSpectrumMaxButton
Int_t fSpectrumMin
Int_t fSpectrumMax
bool fAutoRangeSpectrumMin
bool fAutoRangeSpectrumMax
bool fLogScale
std::vector< unsigned int > fActiveChannels
const long kTimeout
TTimer fTimer
const Int_t kRateUpdatePeriodSec
bool fUpdateActiveTypes
bool fUpdateColors
bool fRateStacked
const Int_t kControlFrameWidth
QGUIHistogramHandler fHistoHandler

Member Function Documentation

void QGUIHistogramDisplay::HandlePause (  ) 

void QGUIHistogramDisplay::CreateSubFrames (  )  [private]

void QGUIHistogramDisplay::ConnectButtons (  )  [private]

void QGUIHistogramDisplay::GetActiveChannels (  )  [private]

void QGUIHistogramDisplay::UpdateColors (  )  [private]

void QGUIHistogramDisplay::UpdateActiveTypes (  )  [private]


Member Data Documentation

TGCompositeFrame* QGUIHistogramDisplay::fControlFrame [private]

frame with control buttons

Referenced by CreateSubFrames().

TGCompositeFrame* QGUIHistogramDisplay::fDisplayFrame [private]

frame with histograms

Referenced by CreateSubFrames().

TGCompositeFrame* QGUIHistogramDisplay::fChannelFrame [private]

frame with channel based histograms

Referenced by CreateSubFrames().

TRootEmbeddedCanvas* QGUIHistogramDisplay::fPulseCanvas [private]

last pulse canvas

Referenced by CreateSubFrames(), and ~QGUIHistogramDisplay().

TRootEmbeddedCanvas* QGUIHistogramDisplay::fSpectrumCanvas [private]

amplitude spectrum canvas

Referenced by CreateSubFrames(), and ~QGUIHistogramDisplay().

TRootEmbeddedCanvas* QGUIHistogramDisplay::fRateCanvas [private]

counting rate canvas

Referenced by CreateSubFrames(), and ~QGUIHistogramDisplay().

TGTextButton* QGUIHistogramDisplay::fCloseButton [private]

close button

Referenced by ConnectButtons(), CreateSubFrames(), and ~QGUIHistogramDisplay().

TGTextButton* QGUIHistogramDisplay::fPauseButton [private]

spectrum signal check button

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateActiveTypes().

spectrum noise check button

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateActiveTypes().

spectrum heater check button

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateActiveTypes().

TGCheckButton* QGUIHistogramDisplay::fRateSignalButton [private]

rate signal check button

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateActiveTypes().

TGCheckButton* QGUIHistogramDisplay::fRateNoiseButton [private]

rate noise check button

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateActiveTypes().

TGCheckButton* QGUIHistogramDisplay::fRateHeaterButton [private]

rate heater check button

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateActiveTypes().

signal color selction widget

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateColors().

noise color selection widget

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateColors().

heater color selection widget

Referenced by ConnectButtons(), CreateSubFrames(), HandlePause(), and UpdateColors().

TGButtonGroup* QGUIHistogramDisplay::fRateModeButton [private]

rate display mode button

Referenced by ConnectButtons(), CreateSubFrames(), and HandlePause().

TGButtonGroup* QGUIHistogramDisplay::fLinLogButton [private]

spectrum y scale mode button

Referenced by ConnectButtons(), CreateSubFrames(), and HandlePause().

TGCheckButton* QGUIHistogramDisplay::fMinAutoButton [private]

auto/manual toggle for specturm lower bound

Referenced by ConnectButtons(), CreateSubFrames(), and HandlePause().

TGCheckButton* QGUIHistogramDisplay::fMaxAutoButton [private]

auto/manual toggle for specturm upper bound

Referenced by ConnectButtons(), CreateSubFrames(), and HandlePause().

TGNumberEntry* QGUIHistogramDisplay::fSpectrumMinButton [private]

spectrum lower bound selection

Referenced by ConnectButtons(), CreateSubFrames(), and HandlePause().

TGNumberEntry* QGUIHistogramDisplay::fSpectrumMaxButton [private]

spectrum upper bound selection

Referenced by ConnectButtons(), CreateSubFrames(), and HandlePause().

specrtum lower bound in mV

specrtum lower bound in mV

use autorange in spectrum min

Referenced by CreateSubFrames(), and UpdateDisplay().

use autorange in spectrum max

Referenced by CreateSubFrames(), and UpdateDisplay().

use log scale in spectrum y axis

Referenced by CreateSubFrames(), and UpdateDisplay().

std::vector<unsigned int> QGUIHistogramDisplay::fActiveChannels [private]

list of active lg channels

Referenced by CreateSubFrames(), and GetActiveChannels().

const long QGUIHistogramDisplay::kTimeout [private]

histograms update period in ms

TTimer QGUIHistogramDisplay::fTimer [private]

timer for histogram update

Referenced by Close(), HandlePause(), UpdateChannel(), and ~QGUIHistogramDisplay().

max time in s to elapse before forcing counting rate histo update

call UpdateActiveTypes() at the next call to UpdateDisplay()

Referenced by UpdateActiveTypes().

call UpdateColors() at the next call to UpdateDisplay()

Referenced by UpdateColors().

whether to draw rate histogram in stacked mode

Referenced by CreateSubFrames(), and UpdateDisplay().

control frame width

object that handles file i/o and histograms manipulation

Referenced by Close(), CreateSubFrames(), UpdateActiveTypes(), UpdateChannel(), UpdateColors(), and UpdateDisplay().


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

Generated on Tue Nov 16 10:50:06 2010 for CUORE Software by  doxygen 1.5.6