TPeakFindPanel Class Reference

#include <TPeakFindPanel.h>

List of all members.

Public Member Functions

 TPeakFindPanel (TGWindow const *, TGWindow const *, UInt_t, UInt_t)
virtual ~TPeakFindPanel ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t, Long_t, Long_t)
 ClassDef (TPeakFindPanel, 1)

Protected Types

enum  ECommandIdentifiers {
  M_FILE_EXIT, M_ATTEMPT_FIT_PEAKS_BUTTON, M_ADD_POLY_BUTTON, M_DO_UNZOOM_BUTTON, M_FIND_BUTTON, M_DEFAULT_BUTTON,
  M_CLOSE_BUTTON, M_CLEAR_BUTTON, M_NUMBER_ENTRY_PEAKS, M_NUMBER_ENTRY_RESOLUTION, M_NUMBER_ENTRY_SIGMA, M_NUMBER_ENTRY_THRESHOLD
}

Protected Attributes

Double_t fSigma
Double_t fThreshold
Float_t fResolution
Int_t fNumberOfPeaks
TF1 * fFit
Bool_t fDoFit
Bool_t fAddPoly
Bool_t fDoUnzoom

Private Member Functions

void FindPeak ()
void DrawPeak ()
void LayoutGUI ()
void LayoutMenuBar ()
void GetXYBounds (Double_t &, Double_t &)
void InsertionSort (Float_t *, Float_t *, Int_t, Int_t)
void Clear ()
void SetDefaults ()
TH1 * GetHistogram ()

Private Attributes

TGNumberEntry * fNumberOfPeaksNE
TGNumberEntry * fResolutionNE
TGNumberEntry * fSigmaNE
TGNumberEntry * fThresholdNE
TGCheckButton * fAttemptFitCB
TGCheckButton * fAddPolyFitCB
TGCheckButton * fDoUnzoomCB
TGTextButton * fFindTB
TGTextButton * fDefaultsTB
TGTextButton * fCloseTB
TGTextButton * fClearPolyTB
TGVerticalFrame * fMainFrame
TGHorizontalFrame * fNumberOfPeaksHF
TGHorizontalFrame * fResolutionHF
TGHorizontalFrame * fSigmaHF
TGHorizontalFrame * fThresholdHF
TGHorizontalFrame * fFindDefaultsHF
TGHorizontalFrame * fCloseClearPolyHF
TSpectrum * fSpectrum
Int_t fNfound
Float_t * fXpeaks
Float_t * fYpeaks


Member Enumeration Documentation

enum TPeakFindPanel::ECommandIdentifiers [protected]
 

Enumeration values:
M_FILE_EXIT 
M_ATTEMPT_FIT_PEAKS_BUTTON 
M_ADD_POLY_BUTTON 
M_DO_UNZOOM_BUTTON 
M_FIND_BUTTON 
M_DEFAULT_BUTTON 
M_CLOSE_BUTTON 
M_CLEAR_BUTTON 
M_NUMBER_ENTRY_PEAKS 
M_NUMBER_ENTRY_RESOLUTION 
M_NUMBER_ENTRY_SIGMA 
M_NUMBER_ENTRY_THRESHOLD 

Definition at line 97 of file TPeakFindPanel.h.


Constructor & Destructor Documentation

TPeakFindPanel::TPeakFindPanel TGWindow const *  ,
TGWindow const *  ,
UInt_t  ,
UInt_t 
 

virtual TPeakFindPanel::~TPeakFindPanel  )  [virtual]
 


Member Function Documentation

TPeakFindPanel::ClassDef TPeakFindPanel  ,
 

void TPeakFindPanel::Clear  )  [private]
 

virtual void TPeakFindPanel::CloseWindow  )  [virtual]
 

void TPeakFindPanel::DrawPeak  )  [private]
 

void TPeakFindPanel::FindPeak  )  [private]
 

TH1* TPeakFindPanel::GetHistogram  )  [private]
 

void TPeakFindPanel::GetXYBounds Double_t &  ,
Double_t & 
[private]
 

void TPeakFindPanel::InsertionSort Float_t *  ,
Float_t *  ,
Int_t  ,
Int_t 
[private]
 

void TPeakFindPanel::LayoutGUI  )  [private]
 

void TPeakFindPanel::LayoutMenuBar  )  [private]
 

virtual Bool_t TPeakFindPanel::ProcessMessage Long_t  ,
Long_t  ,
Long_t 
[virtual]
 

void TPeakFindPanel::SetDefaults  )  [private]
 


Member Data Documentation

Bool_t TPeakFindPanel::fAddPoly [protected]
 

Definition at line 117 of file TPeakFindPanel.h.

TGCheckButton * TPeakFindPanel::fAddPolyFitCB [private]
 

Definition at line 75 of file TPeakFindPanel.h.

TGCheckButton* TPeakFindPanel::fAttemptFitCB [private]
 

Definition at line 75 of file TPeakFindPanel.h.

TGTextButton * TPeakFindPanel::fClearPolyTB [private]
 

Definition at line 76 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fCloseClearPolyHF [private]
 

Definition at line 79 of file TPeakFindPanel.h.

TGTextButton * TPeakFindPanel::fCloseTB [private]
 

Definition at line 76 of file TPeakFindPanel.h.

TGTextButton * TPeakFindPanel::fDefaultsTB [private]
 

Definition at line 76 of file TPeakFindPanel.h.

Bool_t TPeakFindPanel::fDoFit [protected]
 

Definition at line 117 of file TPeakFindPanel.h.

Bool_t TPeakFindPanel::fDoUnzoom [protected]
 

Definition at line 117 of file TPeakFindPanel.h.

TGCheckButton * TPeakFindPanel::fDoUnzoomCB [private]
 

Definition at line 75 of file TPeakFindPanel.h.

TGHorizontalFrame* TPeakFindPanel::fFindDefaultsHF [private]
 

Definition at line 79 of file TPeakFindPanel.h.

TGTextButton* TPeakFindPanel::fFindTB [private]
 

Definition at line 76 of file TPeakFindPanel.h.

TF1* TPeakFindPanel::fFit [protected]
 

Definition at line 116 of file TPeakFindPanel.h.

TGVerticalFrame* TPeakFindPanel::fMainFrame [private]
 

Definition at line 77 of file TPeakFindPanel.h.

Int_t TPeakFindPanel::fNfound [private]
 

Definition at line 82 of file TPeakFindPanel.h.

Int_t TPeakFindPanel::fNumberOfPeaks [protected]
 

Definition at line 115 of file TPeakFindPanel.h.

TGHorizontalFrame* TPeakFindPanel::fNumberOfPeaksHF [private]
 

Definition at line 78 of file TPeakFindPanel.h.

TGNumberEntry* TPeakFindPanel::fNumberOfPeaksNE [private]
 

Definition at line 74 of file TPeakFindPanel.h.

Float_t TPeakFindPanel::fResolution [protected]
 

Definition at line 114 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fResolutionHF [private]
 

Definition at line 78 of file TPeakFindPanel.h.

TGNumberEntry * TPeakFindPanel::fResolutionNE [private]
 

Definition at line 74 of file TPeakFindPanel.h.

Double_t TPeakFindPanel::fSigma [protected]
 

Definition at line 113 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fSigmaHF [private]
 

Definition at line 78 of file TPeakFindPanel.h.

TGNumberEntry * TPeakFindPanel::fSigmaNE [private]
 

Definition at line 74 of file TPeakFindPanel.h.

TSpectrum* TPeakFindPanel::fSpectrum [private]
 

Definition at line 80 of file TPeakFindPanel.h.

Double_t TPeakFindPanel::fThreshold [protected]
 

Definition at line 113 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fThresholdHF [private]
 

Definition at line 78 of file TPeakFindPanel.h.

TGNumberEntry * TPeakFindPanel::fThresholdNE [private]
 

Definition at line 74 of file TPeakFindPanel.h.

Float_t* TPeakFindPanel::fXpeaks [private]
 

Definition at line 83 of file TPeakFindPanel.h.

Float_t* TPeakFindPanel::fYpeaks [private]
 

[fNfound]

Definition at line 84 of file TPeakFindPanel.h.


The documentation for this class was generated from the following file:
Roody DOC Version 1.0.1 ---- TRIUMF ----
Contributions: Pierre-Andre Amaudruz - Joe Chuma - Doxygen - Greg King - Konstantin Olchanski - Matthias Schneebeli