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

Detailed Description

Definition at line 49 of file TPeakFindPanel.h.


Member Enumeration Documentation

Enumerator:
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 75 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 95 of file TPeakFindPanel.h.

TGCheckButton * TPeakFindPanel::fAddPolyFitCB [private]

Definition at line 53 of file TPeakFindPanel.h.

TGCheckButton* TPeakFindPanel::fAttemptFitCB [private]

Definition at line 53 of file TPeakFindPanel.h.

TGTextButton * TPeakFindPanel::fClearPolyTB [private]

Definition at line 54 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fCloseClearPolyHF [private]

Definition at line 57 of file TPeakFindPanel.h.

TGTextButton * TPeakFindPanel::fCloseTB [private]

Definition at line 54 of file TPeakFindPanel.h.

TGTextButton * TPeakFindPanel::fDefaultsTB [private]

Definition at line 54 of file TPeakFindPanel.h.

Bool_t TPeakFindPanel::fDoFit [protected]

Definition at line 95 of file TPeakFindPanel.h.

Bool_t TPeakFindPanel::fDoUnzoom [protected]

Definition at line 95 of file TPeakFindPanel.h.

TGCheckButton * TPeakFindPanel::fDoUnzoomCB [private]

Definition at line 53 of file TPeakFindPanel.h.

TGHorizontalFrame* TPeakFindPanel::fFindDefaultsHF [private]

Definition at line 57 of file TPeakFindPanel.h.

TGTextButton* TPeakFindPanel::fFindTB [private]

Definition at line 54 of file TPeakFindPanel.h.

TF1* TPeakFindPanel::fFit [protected]

Definition at line 94 of file TPeakFindPanel.h.

TGVerticalFrame* TPeakFindPanel::fMainFrame [private]

Definition at line 55 of file TPeakFindPanel.h.

Int_t TPeakFindPanel::fNfound [private]

Definition at line 60 of file TPeakFindPanel.h.

Int_t TPeakFindPanel::fNumberOfPeaks [protected]

Definition at line 93 of file TPeakFindPanel.h.

TGHorizontalFrame* TPeakFindPanel::fNumberOfPeaksHF [private]

Definition at line 56 of file TPeakFindPanel.h.

TGNumberEntry* TPeakFindPanel::fNumberOfPeaksNE [private]

Definition at line 52 of file TPeakFindPanel.h.

Float_t TPeakFindPanel::fResolution [protected]

Definition at line 92 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fResolutionHF [private]

Definition at line 56 of file TPeakFindPanel.h.

TGNumberEntry * TPeakFindPanel::fResolutionNE [private]

Definition at line 52 of file TPeakFindPanel.h.

Double_t TPeakFindPanel::fSigma [protected]

Definition at line 91 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fSigmaHF [private]

Definition at line 56 of file TPeakFindPanel.h.

TGNumberEntry * TPeakFindPanel::fSigmaNE [private]

Definition at line 52 of file TPeakFindPanel.h.

TSpectrum* TPeakFindPanel::fSpectrum [private]

Definition at line 58 of file TPeakFindPanel.h.

Double_t TPeakFindPanel::fThreshold [protected]

Definition at line 91 of file TPeakFindPanel.h.

TGHorizontalFrame * TPeakFindPanel::fThresholdHF [private]

Definition at line 56 of file TPeakFindPanel.h.

TGNumberEntry * TPeakFindPanel::fThresholdNE [private]

Definition at line 52 of file TPeakFindPanel.h.

Float_t* TPeakFindPanel::fXpeaks [private]

Definition at line 61 of file TPeakFindPanel.h.

Float_t* TPeakFindPanel::fYpeaks [private]

[fNfound]

Definition at line 62 of file TPeakFindPanel.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends

Generated on 15 Nov 2016 for Roody by  doxygen 1.6.1