ROOT logo
#ifndef ASCII2HISTDIALOG
#define ASCII2HISTDIALOG
#include "TArrayD.h"
#include "TGWindow.h"
#include "TString.h"
#include "TGMrbValuesAndText.h"
#include <iostream>
//_____________________________________________________________________________________


namespace std {} using namespace std;
class Ascii2HistDialog : public TObject {

private:
   TArrayD  fXval;
   TArrayD  fYval;
   TArrayD  fZval;
   TArrayD  fWval;

   TGMrbValuesAndText *fDialog;
   TString  fCommand;
   TString  fCommandHead;
   TString  fReadCommand;
   TString  fHistFileName;
   TString  fHistName;
   TString  fHistTitle;
   Int_t    fNvalues;
   Int_t		fDim;					// dimension of histogram
   Int_t    fSpectrum;        // Channel Contents only, no X values
   Int_t    f1Dim;            // X values to be filled
   Int_t    f1DimWithWeight;  // X, Weight
   Int_t    f1DimWithErrors;  // X, Weight, Error
   Int_t    f2Dim;            // X, Y values to be filled
   Int_t    f2DimWithWeight;  // X,Y,  Weight
   Int_t    f3Dim;            // X, Y, Z values to be filled
   Int_t    f3DimWithWeight;  // X,Y,Z,  Weight
   Int_t    fBidSelection;
   Int_t    fNskip;
   Double_t fError;  
   Int_t    fNbinsX; 
   Double_t fXlow;  
   Double_t fXup;   
   Int_t    fNbinsY; 
   Double_t fYlow;  
   Double_t fYup;   
   Int_t    fNbinsZ; 
   Double_t fZlow;  
   Double_t fZup;   
   Int_t    f1DimNbinsX; 
   Int_t    f2DimNbinsX; 
   Int_t    f3DimNbinsX; 
   Int_t    f2DimNbinsY; 
   Int_t    f3DimNbinsY; 
   Int_t    fKeepLimits;
 
public:
   Ascii2HistDialog(TGWindow * win = NULL);
   ~Ascii2HistDialog();
   void Draw_The_Hist();
   void Read_Input();
   void Show_Head_of_File();
   void SaveDefaults();
   void GetDim();
   void SetDim();
   void RestoreDefaults();
   void CloseDown(Int_t wid);
   void CRButtonPressed(Int_t /*wid*/, Int_t /*bid*/, TObject */*obj*/);

ClassDef(Ascii2HistDialog,0)
};
#endif
 Ascii2HistDialog.h:1
 Ascii2HistDialog.h:2
 Ascii2HistDialog.h:3
 Ascii2HistDialog.h:4
 Ascii2HistDialog.h:5
 Ascii2HistDialog.h:6
 Ascii2HistDialog.h:7
 Ascii2HistDialog.h:8
 Ascii2HistDialog.h:9
 Ascii2HistDialog.h:10
 Ascii2HistDialog.h:11
 Ascii2HistDialog.h:12
 Ascii2HistDialog.h:13
 Ascii2HistDialog.h:14
 Ascii2HistDialog.h:15
 Ascii2HistDialog.h:16
 Ascii2HistDialog.h:17
 Ascii2HistDialog.h:18
 Ascii2HistDialog.h:19
 Ascii2HistDialog.h:20
 Ascii2HistDialog.h:21
 Ascii2HistDialog.h:22
 Ascii2HistDialog.h:23
 Ascii2HistDialog.h:24
 Ascii2HistDialog.h:25
 Ascii2HistDialog.h:26
 Ascii2HistDialog.h:27
 Ascii2HistDialog.h:28
 Ascii2HistDialog.h:29
 Ascii2HistDialog.h:30
 Ascii2HistDialog.h:31
 Ascii2HistDialog.h:32
 Ascii2HistDialog.h:33
 Ascii2HistDialog.h:34
 Ascii2HistDialog.h:35
 Ascii2HistDialog.h:36
 Ascii2HistDialog.h:37
 Ascii2HistDialog.h:38
 Ascii2HistDialog.h:39
 Ascii2HistDialog.h:40
 Ascii2HistDialog.h:41
 Ascii2HistDialog.h:42
 Ascii2HistDialog.h:43
 Ascii2HistDialog.h:44
 Ascii2HistDialog.h:45
 Ascii2HistDialog.h:46
 Ascii2HistDialog.h:47
 Ascii2HistDialog.h:48
 Ascii2HistDialog.h:49
 Ascii2HistDialog.h:50
 Ascii2HistDialog.h:51
 Ascii2HistDialog.h:52
 Ascii2HistDialog.h:53
 Ascii2HistDialog.h:54
 Ascii2HistDialog.h:55
 Ascii2HistDialog.h:56
 Ascii2HistDialog.h:57
 Ascii2HistDialog.h:58
 Ascii2HistDialog.h:59
 Ascii2HistDialog.h:60
 Ascii2HistDialog.h:61
 Ascii2HistDialog.h:62
 Ascii2HistDialog.h:63
 Ascii2HistDialog.h:64
 Ascii2HistDialog.h:65
 Ascii2HistDialog.h:66
 Ascii2HistDialog.h:67
 Ascii2HistDialog.h:68
 Ascii2HistDialog.h:69
 Ascii2HistDialog.h:70
 Ascii2HistDialog.h:71