]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPainterDataSourceFrame.h
new FMD correction objects
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterDataSourceFrame.h
index e51b20cea7960df4f92353c81cf47b240e22d495..c6733ec5aa4d97b7690235466f2a2488799bca5d 100644 (file)
@@ -16,6 +16,7 @@
 #  include <TGFrame.h>
 #endif
 
+class AliMUONPainterDataSourceItem;
 class AliMUONVTrackerDataMaker;
 class TGCheckButton;
 class TGComboBox;
@@ -34,16 +35,26 @@ public:
   
   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);
@@ -58,6 +69,10 @@ private:
 
   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   
@@ -67,8 +82,13 @@ private:
   TGCompositeFrame* fRawSelector21; ///< idem
   TGCompositeFrame* fRawSelector22; ///< idem
   TGCompositeFrame* fRawSelector23; ///< idem
-  TGCheckButton* fCalibrateButton; ///< to trig calibration of raw data
+  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* fCalibrateEmelecGain; ///< to trig calibration of raw data (full blown calibration but with factory gains)
   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
@@ -80,10 +100,14 @@ private:
   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,2) // Data source selection frame
+  ClassDef(AliMUONPainterDataSourceFrame,4) // Data source selection frame
 };
 
 #endif