Public Member Functions | |
QGCalibrationPeakFrame (TGWindow *p=0, UInt_t w=10, UInt_t h=10) | |
Constructor. | |
virtual | ~QGCalibrationPeakFrame () |
Destructor. | |
void | Clear () |
Clear data. | |
Double_t | GetEnergy () const |
Get energy of peak. | |
Double_t | GetMaxAmplitude () const |
Get max amplitude. | |
Double_t | GetMinAmplitude () const |
Get min amplitude. | |
void | HandleSetButton () |
Handle set button. | |
Bool_t | IsMaxAmplitudeSet () const |
Return true if max amplitude is set. | |
Bool_t | IsMinAmplitudeSet () const |
Return true if min amplitude is set. | |
void | SetEnergy (Double_t energy) |
Set energy. | |
void | SetMaxAmplitude (Double_t max) |
Set max amplitude. | |
void | SetMinAmplitude (Double_t min) |
Set min amplitude. | |
Private Attributes | |
Double_t | fEnergy |
Energy of the peak. | |
TGTextEntry * | fMaxAmplitudeBox |
Max amplitude box. | |
TGTextEntry * | fMinAmplitudeBox |
Min amplitude box. | |
TGTextEntry * | fPeakEnergyBox |
Box for peak energy. | |
TGTextButton * | fSetButton |
Set button. |