Public Member Functions | |
QGCalibrationWindow (const TGWindow *p=0, UInt_t w=350, UInt_t h=300) | |
Constructor. | |
virtual | ~QGCalibrationWindow () |
Destructor. | |
void | AddPeak (Double_t energy) |
Add peak. | |
void | Clear () |
Clear data. | |
QGPlot * | GetCurrentPlot () const |
Get current plot. | |
void | HandleDrawButton () |
Handle draw button. | |
void | HandleHistogramDropDownBox (const char *text) |
Handle histogram drop down box. | |
void | HandleSaveButton () |
Handle save button. | |
void | SetProperty (const std::string &key, const std::string &value) |
Set property (used for opening a session). | |
Private Member Functions | |
void | LoadData (const std::string &histogramName) |
Load data for histogram. | |
void | SaveData () |
Save data for current histogram. | |
void | SetUpHistograms () |
Set up histogram drop down box. | |
Private Attributes | |
std::vector < QGCalibrationPeakFrame * > | fCalibrationPeakFrames |
Collection of calibration peak frames. | |
std::string | fCurrentHistogramName |
Current histogram name. | |
TGTextButton * | fDrawButton |
Draw button. | |
TGComboBox * | fHistogramDropDownBox |
Histogram drop down box. | |
TGHorizontalFrame * | fHistogramFrame |
Histogram frame. | |
std::map< std::string, std::map < QGCalibrationPeakFrame *, Double_t > > | fMaxData |
Max amplitude data for each histogram and peak. | |
std::map< std::string, std::map < QGCalibrationPeakFrame *, Double_t > > | fMinData |
Min amplitude data for each histogram and peak. | |
std::string | fOutputFilename |
Output filename. | |
TGTextButton * | fSaveButton |
Save button. |