]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPainterDataSourceFrame.h
The logics of handling the geometry file for simulation has changed. The variables...
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterDataSourceFrame.h
index 8d7913e6770825f1346352f2c688aee57f079793..29315a19cba2a6d137f674dbf9c3dcf3455762e0 100644 (file)
 #  include <TGFrame.h>
 #endif
 
+class AliMUONAttPainter;
 class AliMUONPainterDataSourceItem;
+class AliMUONPainterMatrix;
 class AliMUONVTrackerDataMaker;
+class AliMUONVTrackerData;
 class TGCheckButton;
 class TGComboBox;
 class TGGroupFrame;
@@ -51,9 +54,18 @@ public:
   
   void OpenRecentSource();
 
-  void StartRunning(AliMUONPainterDataSourceItem* item);
+  void StartRunning();
 
-  void StopRunning(AliMUONPainterDataSourceItem* item);
+  void StopRunning();
+
+  static void CreatePedestalCanvases(AliMUONVTrackerData* data,
+                                     Double_t pedMin=0, Double_t pedMax=500,
+                                     Double_t sigmaMin=0, Double_t sigmaMax=5);
+  
+  static AliMUONPainterMatrix* CreateFullTracker(AliMUONVTrackerData* data, 
+                                                 Int_t dim, 
+                                                 Double_t xmin, Double_t xmax, 
+                                                 const AliMUONAttPainter& att);
 
 private:
   /// Not implemented
@@ -73,6 +85,8 @@ private:
 
   void CreateACFDataSource(const TString& acfPath, const TString& type);
   
+  void RegisterDataSource(AliMUONVTrackerDataMaker* reader, const char* dsName);
+  
 private:
     
   TGGroupFrame* fRecentSourceSelector; ///< to select recently used sources   
@@ -85,6 +99,7 @@ private:
   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
@@ -106,7 +121,7 @@ private:
   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,3) // Data source selection frame
+  ClassDef(AliMUONPainterDataSourceFrame,4) // Data source selection frame
 };
 
 #endif