# include <TGFrame.h>
#endif
-class TObjArray;
-class TGGroupFrame;
+class AliMUONPainterDataSourceItem;
class AliMUONVTrackerDataMaker;
-class TGTextEntry;
-class TGNumberEntry;
+class TGCheckButton;
class TGComboBox;
+class TGGroupFrame;
+class TGNumberEntry;
+class TGTextEntry;
+class TObjArray;
class AliMUONPainterDataSourceFrame : public TGCompositeFrame
{
AliMUONPainterDataSourceFrame(const TGWindow* p, UInt_t w, UInt_t h);
virtual ~AliMUONPainterDataSourceFrame();
+ void CalibrateButtonClicked();
+
void CreateOCDBDataSource();
+ void CreateACFDataSource();
+
void CreateRawDataSource();
- void DataReaderWasRegistered(AliMUONVTrackerDataMaker* reader);
+ void DataMakerWasRegistered(AliMUONVTrackerDataMaker* reader);
- void DataReaderWasUnregistered(AliMUONVTrackerDataMaker* reader);
+ void DataMakerWasUnregistered(AliMUONVTrackerDataMaker* reader);
+ void HistogramButtonClicked();
+
void OpenFileDialog();
- void OpenRecentSource();
+ void OpenFileDialogACF();
+ void OpenRecentSource();
+
+ void StartRunning();
+
+ void StopRunning();
+
private:
/// Not implemented
AliMUONPainterDataSourceFrame(const AliMUONPainterDataSourceFrame& rhs);
void CreateOCDBDataSource(const TString& cdbPath, Int_t runNumber, const TString& type);
+ void CreateACFDataSource(const TString& uri);
+
+ void CreateACFDataSource(const TString& acfPath, const TString& type);
+
private:
TGGroupFrame* fRecentSourceSelector; ///< to select recently used sources
+
TGGroupFrame* fRawSelector; ///< to select a new raw data source
+ TGCompositeFrame* fRawSelector2; ///< idem
+ TGCompositeFrame* fRawSelector21; ///< idem
+ TGCompositeFrame* fRawSelector22; ///< idem
+ TGCompositeFrame* fRawSelector23; ///< idem
+ TGCheckButton* fCalibrateNoGain; ///< to trig calibration of raw data (only 0 suppression)
+ TGCheckButton* fCalibrateGainConstantCapa; ///< to trig calibration of raw data (0-supp and gain w/ constant capacitance)
+ TGCheckButton* fCalibrateGain; ///< to trig calibration of raw data (full blown calibration)
+ TGCheckButton* fHistogramButton; ///< to trig histogramming of raw data
+ TGNumberEntry* fHistoMin; ///< xmin of histo to make
+ TGNumberEntry* fHistoMax; ///< xmax of histo to make
+ TGTextEntry* fRawOCDBPath; ///< OCDB path for raw data calibration
+
TGGroupFrame* fOCDBSelector; ///< to select a new OCDB data source
TGGroupFrame* fDataReaders; ///< to display currently active data sources
TGTextEntry* fFilePath; ///< raw data file path text entry widget
- TGTextEntry* fRawOCDBPath; ///< OCDB path for raw data calibration
TGTextEntry* fOCDBPath; ///< OCDB path text entry widget
TGNumberEntry* fRunSelector; ///< OCDB run number entry widget
TGComboBox* fOCDBTypes; ///< OCDB type combo box entry widget
TGComboBox* fRecentSources; ///< recent sources combo box
TObjArray* fItems; ///< list of data readers we handle
+ TGGroupFrame* fACFSelector; ///< to select ACF (ASCII calibration files)
+ TGTextEntry* fACFPath; ///< path to ASCII calibration file
+ TGComboBox* fACFTypes; ///< types of ASCII calibration files
+
static const char* fgkNumberOfDataSourcesKey; ///< key used to store the # of data sources in the resource file
static const char* fgkDataSourceURIKey; ///< key usde to store the data source URIs in the resource file
- ClassDef(AliMUONPainterDataSourceFrame,1) // Data source selection frame
+ ClassDef(AliMUONPainterDataSourceFrame,3) // Data source selection frame
};
#endif