CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaGui.h

Go to the documentation of this file.
00001 #ifndef ZTR_TEcnaGui
00002 #define ZTR_TEcnaGui
00003 
00004 #include "TObject.h"
00005 #include "TSystem.h"
00006 
00007 #include "TROOT.h"
00008 
00009 #include "TApplication.h"
00010 #include "TGClient.h"
00011 #include "TRint.h"
00012 
00013 #include "TString.h"
00014 
00015 #include "TGButton.h"
00016 #include "TGWidget.h"
00017 #include "TGToolTip.h"
00018 #include "TGResourcePool.h"
00019 #include "TGCanvas.h"
00020 #include "TGWindow.h"
00021 #include "TGMenu.h"
00022 #include "TGFrame.h"
00023 #include "TGTextEntry.h"
00024 #include "TGLayout.h"
00025 #include "TGFont.h"
00026 
00027 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaObject.h"
00028 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParEcal.h"
00029 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaNumbering.h"
00030 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaHistos.h"
00031 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParHistos.h"
00032 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaRun.h"
00033 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaWrite.h"
00034 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParPaths.h"
00035 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParCout.h"
00036 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaRead.h"
00037 
00038 
00212 
00213 class TEcnaGui : public TGMainFrame {
00214 
00215  private:
00216 
00217   //..... Attributes
00218 
00219   Int_t              fgMaxCar;   // Max nb of caracters for char*
00220 
00221   Int_t              fCnew,        fCdelete;
00222   Int_t              fCnewRoot,    fCdeleteRoot;
00223 
00224   TString            fTTBELL;
00225 
00226   Int_t              fCnaCommand,  fCnaError;
00227 
00228   Int_t              fConfirmSubmit;
00229   Int_t              fConfirmRunNumber;
00230   TString            fConfirmRunNumberString;
00231   Int_t              fConfirmCalcScc;
00232 
00233   //==============================================. GUI box: menus, buttons,..
00234 
00235   TGWindow*          fCnaP;
00236   UInt_t             fCnaW,    fCnaH;
00237   TString            fSubDet;
00238   TString            fStexName, fStinName;
00239 
00240   //------------------------------------------------------------------------------------
00241   TEcnaObject*        fObjectManager;
00242   TEcnaHistos*        fHistos;
00243   TEcnaParHistos*     fCnaParHistos;
00244   TEcnaParPaths*      fCnaParPaths;
00245   TEcnaParCout*       fCnaParCout;
00246   TEcnaParEcal*       fEcal;
00247   TEcnaNumbering*     fEcalNumbering;
00248   TEcnaWrite*         fCnaWrite;
00249   //TEcnaRead*          fMyRootFile;
00250 
00251   //------------------- General frame, void frame, standard layout
00252   TGLayoutHints      *fLayoutGeneral,     *fLayoutBottLeft,     *fLayoutBottRight;
00253   TGLayoutHints      *fLayoutTopLeft,     *fLayoutTopRight;  
00254   TGLayoutHints      *fLayoutCenterYLeft, *fLayoutCenterYRight, *fLayoutCenterXTop;      
00255  
00256   TGCompositeFrame   *fVoidFrame;
00257 
00258   //===================== 1rst PART: SUBMIT, CALCULATIONS =======================================
00259 
00260   //++++++++++++++++++++++++++++++ Horizontal frame Analysis + First requested evt number + Run number
00261   TGCompositeFrame   *fAnaNorsRunFrame;
00262   TGLayoutHints      *fLayoutAnaNorsRunFrame;
00263   //--------------------------------- Sub-Frame Analysis Name (Button+Entry Field)
00264   TGCompositeFrame   *fAnaFrame;
00265   TGTextButton       *fAnaBut;
00266   Int_t               fAnaButC;
00267   TGLayoutHints      *fLayoutAnaBut;
00268   TGTextEntry        *fAnaText;
00269   TGTextBuffer       *fEntryAnaNumber;
00270   TGLayoutHints      *fLayoutAnaField;
00271   //--------------------------------- Sub-Frame First requested event number (Button+Entry Field)
00272   TGCompositeFrame   *fFevFrame;
00273   TGTextButton       *fFevBut;
00274   TGLayoutHints      *fLayoutFevBut;
00275   TGTextEntry        *fFevText;
00276   TGTextBuffer       *fEntryFevNumber;
00277   TGLayoutHints      *fLayoutFevFieldText;
00278   TGLayoutHints      *fLayoutFevFieldFrame;
00279   //-------------------------------- Sub-Frame Run number (Button+Entry Field)  
00280   TGCompositeFrame   *fRunFrame;  
00281   TGTextButton       *fRunBut;
00282   Int_t               fRunButC;
00283   TGLayoutHints      *fLayoutRunBut;
00284   TGTextEntry        *fRunText;
00285   TGTextBuffer       *fEntryRunNumber;
00286   TGLayoutHints      *fLayoutRunField;
00287 
00288   //++++++++++++++++++++++++ Horizontal frame Nb Of Samples + last requested events + Clean + Submit
00289   TGCompositeFrame   *fFevLevStexFrame;
00290   TGLayoutHints      *fLayoutFevLevStexFrame;
00291   //--------------------------------- Sub-Frame Number Of Requested Samples (Button+Entry Field)
00292   TGCompositeFrame   *fNorsFrame;
00293   TGTextButton       *fNorsBut;
00294   Int_t               fNorsButC;
00295   TGLayoutHints      *fLayoutNorsBut;
00296   TGTextEntry        *fNorsText;
00297   TGTextBuffer       *fEntryNorsNumber;
00298   TGLayoutHints      *fLayoutNorsField;
00299 
00300   //--------------------------------- Sub-Frame Last requested event (Button+Entry Field)
00301   TGCompositeFrame   *fLevFrame;
00302   TGTextButton       *fLevBut;
00303   TGLayoutHints      *fLayoutLevBut;
00304   TGTextEntry        *fLevText;
00305   TGTextBuffer       *fEntryLevNumber;
00306   TGLayoutHints      *fLayoutLevFieldText;
00307   TGLayoutHints      *fLayoutLevFieldFrame;
00308   //------------------------------------------- Clean Menu
00309   TGPopupMenu        *fMenuClean;
00310   TGMenuBar          *fMenuBarClean;
00311   Int_t               fMenuCleanSubC, fMenuCleanJobC, fMenuCleanPythC, fMenuCleanAllC;
00312   TGLayoutHints      *fLayoutRunCleanFrame;
00313   //------------------------------------------- Submit Menu
00314   TGPopupMenu        *fMenuSubmit;
00315   TGMenuBar          *fMenuBarSubmit;
00316   Int_t               fMenuSubmit8nmC, fMenuSubmit1nhC, fMenuSubmit8nhC, fMenuSubmit1ndC, fMenuSubmit1nwC;
00317 
00318  //++++++++++++++++++++++++++++++  Horizontal Frame:Stex number + NbOfReqEvts
00319   TGCompositeFrame   *fCompStRqFrame;
00320   TGLayoutHints      *fLayoutCompStRqFrame;
00321   //--------------------------------- Sub-Frame Stex Number
00322   TGCompositeFrame   *fStexFrame;
00323   TGTextButton       *fStexBut;
00324   TGLayoutHints      *fLayoutStexBut;
00325   TGTextEntry        *fStexText;
00326   TGTextBuffer       *fEntryStexNumber;
00327   TGLayoutHints      *fLayoutStexFieldText;
00328   TGLayoutHints      *fLayoutStexFieldFrame;
00329 
00330   //--------------------------------- Sub-Frame Number of requested Events (Button+Entry Field)
00331   TGCompositeFrame   *fRevFrame;
00332   TGTextButton       *fRevBut;
00333   TGLayoutHints      *fLayoutRevBut;
00334   TGTextEntry        *fRevText;
00335   TGTextBuffer       *fEntryRevNumber;
00336   TGLayoutHints      *fLayoutRevFieldText;
00337   TGLayoutHints      *fLayoutRevFieldFrame;
00338 
00339   //++++++++++++++++++++++++++++++  Horizontal StexStin numbering + Calculations
00340   TGCompositeFrame   *fCompStnbFrame;
00341   TGLayoutHints      *fLayoutCompStnbFrame;
00342 
00343   //------------------------------------------- Stex Stin Numbering view (Button)
00344   TGTextButton       *fButStexNb;
00345   Int_t               fButStexNbC;
00346   TGLayoutHints      *fLayoutStexNbBut;
00347   //--------------------------------- Sub-Frame NbSamp for calculation
00348   TGCompositeFrame   *fNbSampForCalcFrame;
00349   TGTextButton       *fNbSampForCalcBut;
00350   TGLayoutHints      *fLayoutNbSampForCalcBut;
00351   TGTextEntry        *fNbSampForCalcText;
00352   TGTextBuffer       *fEntryNbSampForCalcNumber;
00353   TGLayoutHints      *fLayoutNbSampForCalcFieldText;
00354   TGLayoutHints      *fLayoutNbSampForCalcFieldFrame;
00355   //------------------------------------------- CALCULATION (comput) Menu
00356   TGPopupMenu        *fMenuComput;
00357   TGMenuBar          *fMenuBarComput;
00358   Int_t               fMenuComputStdC, fMenuComputSccC, fMenuComputSttC;
00359   TGLayoutHints      *fLayoutRunComputFrame;
00360 
00361   //=========================== 2nd PART: STEXs ================================================
00362 
00363   //+++++++++++++++++++++++++++++++++++++++++++ Frame for quantities relative to the Stex
00364   TGCompositeFrame   *fStexUpFrame;
00365 
00366   //................................ Menus+Ymin+Ymax for the Stex ............................
00367 
00368   //...................................... Found evts in the data
00369 
00370   TGCompositeFrame   *fVmmD_NOE_ChNbFrame;
00371 
00372   TGCompositeFrame   *fVmaxD_NOE_ChNbFrame;
00373   TGTextButton       *fVmaxD_NOE_ChNbBut;
00374   TGLayoutHints      *fLayoutVmaxD_NOE_ChNbBut;
00375   TGTextBuffer       *fEntryVmaxD_NOE_ChNbNumber;
00376   TGTextEntry        *fVmaxD_NOE_ChNbText;
00377   TGLayoutHints      *fLayoutVmaxD_NOE_ChNbFieldText;
00378   TGLayoutHints      *fLayoutVmaxD_NOE_ChNbFrame;
00379  
00380   TGCompositeFrame   *fVminD_NOE_ChNbFrame;
00381   TGTextButton       *fVminD_NOE_ChNbBut;
00382   TGLayoutHints      *fLayoutVminD_NOE_ChNbBut;
00383   TGTextBuffer       *fEntryVminD_NOE_ChNbNumber;
00384   TGTextEntry        *fVminD_NOE_ChNbText;
00385   TGLayoutHints      *fLayoutVminD_NOE_ChNbFieldText;
00386   TGLayoutHints      *fLayoutVminD_NOE_ChNbFrame;
00387 
00388   TGPopupMenu        *fMenuD_NOE_ChNb;
00389   TGMenuBar          *fMenuBarD_NOE_ChNb;
00390   TGLayoutHints      *fLayoutMenuBarD_NOE_ChNb;
00391   Int_t               fMenuD_NOE_ChNbFullC;
00392   Int_t               fMenuD_NOE_ChNbSameC;
00393   Int_t               fMenuD_NOE_ChNbHocoVecoC;
00394   Int_t               fMenuD_NOE_ChNbAsciiFileC;
00395 
00396   TGLayoutHints      *fLayoutVmmD_NOE_ChNbFrame;
00397 
00398   //................................... Horizontal frame Pedestals, noises, cor(s,s)
00399   TGCompositeFrame   *fStexHozFrame;
00400 
00401   //------------------------------------------------------------- (PEDESTALS)
00402   TGCompositeFrame   *fVmmD_Ped_ChNbFrame;
00403 
00404   TGCompositeFrame   *fVmaxD_Ped_ChNbFrame;
00405   TGTextButton       *fVmaxD_Ped_ChNbBut;
00406   TGLayoutHints      *fLayoutVmaxD_Ped_ChNbBut;
00407   TGTextEntry        *fVmaxD_Ped_ChNbText;
00408   TGTextBuffer       *fEntryVmaxD_Ped_ChNbNumber;
00409   TGLayoutHints      *fLayoutVmaxD_Ped_ChNbFieldText;
00410   TGLayoutHints      *fLayoutVmaxD_Ped_ChNbFrame;
00411  
00412   TGCompositeFrame   *fVminD_Ped_ChNbFrame;
00413   TGTextButton       *fVminD_Ped_ChNbBut;
00414   TGLayoutHints      *fLayoutVminD_Ped_ChNbBut;
00415   TGTextEntry        *fVminD_Ped_ChNbText;
00416   TGTextBuffer       *fEntryVminD_Ped_ChNbNumber;
00417   TGLayoutHints      *fLayoutVminD_Ped_ChNbFieldText;
00418   TGLayoutHints      *fLayoutVminD_Ped_ChNbFrame;
00419 
00420   TGPopupMenu        *fMenuD_Ped_ChNb;
00421   TGMenuBar          *fMenuBarD_Ped_ChNb;
00422   TGLayoutHints      *fLayoutMenuBarD_Ped_ChNb;
00423   Int_t               fMenuD_Ped_ChNbFullC;
00424   Int_t               fMenuD_Ped_ChNbSameC;
00425   Int_t               fMenuD_Ped_ChNbHocoVecoC;
00426   Int_t               fMenuD_Ped_ChNbAsciiFileC;
00427 
00428   TGLayoutHints      *fLayoutVmmD_Ped_ChNbFrame;
00429 
00430   //---------------------------------------------------- (TOTAL NOISE)
00431   TGCompositeFrame   *fVmmD_TNo_ChNbFrame;
00432 
00433   TGCompositeFrame   *fVmaxD_TNo_ChNbFrame;
00434   TGTextButton       *fVmaxD_TNo_ChNbBut;
00435   TGLayoutHints      *fLayoutVmaxD_TNo_ChNbBut;
00436   TGTextBuffer       *fEntryVmaxD_TNo_ChNbNumber;
00437   TGTextEntry        *fVmaxD_TNo_ChNbText;
00438   TGLayoutHints      *fLayoutVmaxD_TNo_ChNbFieldText;
00439   TGLayoutHints      *fLayoutVmaxD_TNo_ChNbFrame;
00440 
00441   TGCompositeFrame   *fVminD_TNo_ChNbFrame;
00442   TGTextButton       *fVminD_TNo_ChNbBut;
00443   TGLayoutHints      *fLayoutVminD_TNo_ChNbBut;
00444   TGTextBuffer       *fEntryVminD_TNo_ChNbNumber;
00445   TGTextEntry        *fVminD_TNo_ChNbText;
00446   TGLayoutHints      *fLayoutVminD_TNo_ChNbFieldText;
00447   TGLayoutHints      *fLayoutVminD_TNo_ChNbFrame;
00448 
00449   TGPopupMenu        *fMenuD_TNo_ChNb;
00450   TGMenuBar          *fMenuBarD_TNo_ChNb;
00451   TGLayoutHints      *fLayoutMenuBarD_TNo_ChNb; 
00452   Int_t               fMenuD_TNo_ChNbFullC;
00453   Int_t               fMenuD_TNo_ChNbSameC;
00454   Int_t               fMenuD_TNo_ChNbSamePC;
00455   Int_t               fMenuD_TNo_ChNbHocoVecoC;
00456   Int_t               fMenuD_TNo_ChNbAsciiFileC;
00457 
00458   TGLayoutHints      *fLayoutVmmD_TNo_ChNbFrame;
00459 
00460   //--------------------------------------------------------- (LOW FREQUENCY NOISE)
00461   TGCompositeFrame   *fVmmD_LFN_ChNbFrame;
00462 
00463   TGCompositeFrame   *fVmaxD_LFN_ChNbFrame;
00464   TGTextButton       *fVmaxD_LFN_ChNbBut;
00465   TGLayoutHints      *fLayoutVmaxD_LFN_ChNbBut;
00466   TGTextEntry        *fVmaxD_LFN_ChNbText;
00467   TGTextBuffer       *fEntryVmaxD_LFN_ChNbNumber;
00468   TGLayoutHints      *fLayoutVmaxD_LFN_ChNbFieldText;
00469   TGLayoutHints      *fLayoutVmaxD_LFN_ChNbFrame;
00470 
00471   TGCompositeFrame   *fVminD_LFN_ChNbFrame;
00472   TGTextButton       *fVminD_LFN_ChNbBut;
00473   TGLayoutHints      *fLayoutVminD_LFN_ChNbBut;
00474   TGTextBuffer       *fEntryVminD_LFN_ChNbNumber;
00475   TGTextEntry        *fVminD_LFN_ChNbText;
00476   TGLayoutHints      *fLayoutVminD_LFN_ChNbFieldText;
00477   TGLayoutHints      *fLayoutVminD_LFN_ChNbFrame;
00478 
00479   TGPopupMenu        *fMenuD_LFN_ChNb;
00480   TGMenuBar          *fMenuBarD_LFN_ChNb;
00481   TGLayoutHints      *fLayoutMenuBarD_LFN_ChNb;
00482   Int_t               fMenuD_LFN_ChNbFullC;
00483   Int_t               fMenuD_LFN_ChNbSameC;
00484   Int_t               fMenuD_LFN_ChNbSamePC;
00485   Int_t               fMenuD_LFN_ChNbHocoVecoC;
00486   Int_t               fMenuD_LFN_ChNbAsciiFileC;
00487 
00488   TGLayoutHints      *fLayoutVmmD_LFN_ChNbFrame;
00489 
00490   //---------------------------------------------- (HIGH FREQUENCY NOISE)
00491   TGCompositeFrame   *fVmmD_HFN_ChNbFrame;
00492 
00493   TGCompositeFrame   *fVmaxD_HFN_ChNbFrame;
00494   TGTextButton       *fVmaxD_HFN_ChNbBut;
00495   TGLayoutHints      *fLayoutVmaxD_HFN_ChNbBut;
00496   TGTextEntry        *fVmaxD_HFN_ChNbText;
00497   TGTextBuffer       *fEntryVmaxD_HFN_ChNbNumber;
00498   TGLayoutHints      *fLayoutVmaxD_HFN_ChNbFieldText;
00499   TGLayoutHints      *fLayoutVmaxD_HFN_ChNbFrame;
00500 
00501   TGCompositeFrame   *fVminD_HFN_ChNbFrame;
00502   TGTextButton       *fVminD_HFN_ChNbBut;
00503   TGLayoutHints      *fLayoutVminD_HFN_ChNbBut;
00504   TGTextBuffer       *fEntryVminD_HFN_ChNbNumber;
00505   TGTextEntry        *fVminD_HFN_ChNbText;
00506   TGLayoutHints      *fLayoutVminD_HFN_ChNbFieldText;
00507   TGLayoutHints      *fLayoutVminD_HFN_ChNbFrame;
00508 
00509   TGPopupMenu        *fMenuD_HFN_ChNb;
00510   TGMenuBar          *fMenuBarD_HFN_ChNb;
00511   TGLayoutHints      *fLayoutMenuBarD_HFN_ChNb;
00512   Int_t               fMenuD_HFN_ChNbFullC;
00513   Int_t               fMenuD_HFN_ChNbSameC;
00514   Int_t               fMenuD_HFN_ChNbSamePC;
00515   Int_t               fMenuD_HFN_ChNbHocoVecoC;
00516   Int_t               fMenuD_HFN_ChNbAsciiFileC;
00517 
00518   TGLayoutHints      *fLayoutVmmD_HFN_ChNbFrame;
00519 
00520   //--------------------------------------------------- (MEAN CORSS)
00521   TGCompositeFrame   *fVmmD_MCs_ChNbFrame;
00522 
00523   TGCompositeFrame   *fVmaxD_MCs_ChNbFrame;
00524   TGTextButton       *fVmaxD_MCs_ChNbBut;
00525   TGLayoutHints      *fLayoutVmaxD_MCs_ChNbBut;
00526   TGTextEntry        *fVmaxD_MCs_ChNbText;
00527   TGTextBuffer       *fEntryVmaxD_MCs_ChNbNumber;
00528   TGLayoutHints      *fLayoutVmaxD_MCs_ChNbFieldText;
00529   TGLayoutHints      *fLayoutVmaxD_MCs_ChNbFrame;
00530 
00531   TGCompositeFrame   *fVminD_MCs_ChNbFrame;
00532   TGTextButton       *fVminD_MCs_ChNbBut;
00533   TGLayoutHints      *fLayoutVminD_MCs_ChNbBut;
00534   TGTextBuffer       *fEntryVminD_MCs_ChNbNumber;
00535   TGTextEntry        *fVminD_MCs_ChNbText;
00536   TGLayoutHints      *fLayoutVminD_MCs_ChNbFieldText;
00537   TGLayoutHints      *fLayoutVminD_MCs_ChNbFrame;
00538 
00539   TGPopupMenu        *fMenuD_MCs_ChNb;
00540   TGMenuBar          *fMenuBarD_MCs_ChNb;
00541   TGLayoutHints      *fLayoutMenuBarD_MCs_ChNb;
00542   Int_t               fMenuD_MCs_ChNbFullC;
00543   Int_t               fMenuD_MCs_ChNbSameC;
00544   Int_t               fMenuD_MCs_ChNbSamePC;
00545   Int_t               fMenuD_MCs_ChNbHocoVecoC;
00546   Int_t               fMenuD_MCs_ChNbAsciiFileC;
00547 
00548   TGLayoutHints      *fLayoutVmmD_MCs_ChNbFrame;
00549 
00550   //---------------------------------------------- (SIGMA OF COR(S,S))
00551   TGCompositeFrame   *fVmmD_SCs_ChNbFrame;
00552 
00553   TGCompositeFrame   *fVmaxD_SCs_ChNbFrame;
00554   TGTextButton       *fVmaxD_SCs_ChNbBut;
00555   TGLayoutHints      *fLayoutVmaxD_SCs_ChNbBut;
00556   TGTextEntry        *fVmaxD_SCs_ChNbText;
00557   TGTextBuffer       *fEntryVmaxD_SCs_ChNbNumber;
00558   TGLayoutHints      *fLayoutVmaxD_SCs_ChNbFieldText;
00559   TGLayoutHints      *fLayoutVmaxD_SCs_ChNbFrame;
00560 
00561   TGCompositeFrame   *fVminD_SCs_ChNbFrame;
00562   TGTextButton       *fVminD_SCs_ChNbBut;
00563   TGLayoutHints      *fLayoutVminD_SCs_ChNbBut;
00564   TGTextEntry        *fVminD_SCs_ChNbText;
00565   TGTextBuffer       *fEntryVminD_SCs_ChNbNumber;
00566   TGLayoutHints      *fLayoutVminD_SCs_ChNbFieldText;
00567   TGLayoutHints      *fLayoutVminD_SCs_ChNbFrame;
00568 
00569   TGPopupMenu        *fMenuD_SCs_ChNb;
00570   TGMenuBar          *fMenuBarD_SCs_ChNb;
00571   TGLayoutHints      *fLayoutMenuBarD_SCs_ChNb;
00572   Int_t               fMenuD_SCs_ChNbFullC;
00573   Int_t               fMenuD_SCs_ChNbSameC;
00574   Int_t               fMenuD_SCs_ChNbSamePC;
00575   Int_t               fMenuD_SCs_ChNbHocoVecoC; 
00576   Int_t               fMenuD_SCs_ChNbAsciiFileC;
00577 
00578   TGLayoutHints      *fLayoutVmmD_SCs_ChNbFrame;
00579 
00580   //----------------------------------------------------------------------------------
00581 
00582   TGLayoutHints      *fLayoutStexHozFrame;
00583 
00584   //...................................... LF and HF Correlations between channels
00585   TGCompositeFrame   *fVmmLHFccFrame;
00586 
00587   TGCompositeFrame   *fVmaxLHFccFrame;
00588   TGTextButton       *fVmaxLHFccBut;
00589   TGLayoutHints      *fLayoutVmaxLHFccBut;
00590   TGTextEntry        *fVmaxLHFccText;
00591   TGTextBuffer       *fEntryVmaxLHFccNumber;
00592   TGLayoutHints      *fLayoutVmaxLHFccFieldText;
00593   TGLayoutHints      *fLayoutVmaxLHFccFrame;
00594 
00595   TGCompositeFrame   *fVminLHFccFrame;
00596   TGTextButton       *fVminLHFccBut;
00597   TGLayoutHints      *fLayoutVminLHFccBut;
00598   TGTextBuffer       *fEntryVminLHFccNumber;
00599   TGTextEntry        *fVminLHFccText;
00600   TGLayoutHints      *fLayoutVminLHFccFieldText;
00601   TGLayoutHints      *fLayoutVminLHFccFrame;
00602 
00603   TGPopupMenu        *fMenuLHFcc;
00604   TGMenuBar          *fMenuBarLHFcc;
00605   TGLayoutHints      *fLayoutMenuBarLHFcc;
00606   Int_t               fMenuLFccColzC, fMenuLFccLegoC, fMenuHFccColzC, fMenuHFccLegoC;
00607 
00608   TGLayoutHints      *fLayoutVmmLHFccFrame;
00609 
00610   //...................................... Low Freq Mean Cor(c,c) for each pair of Stins
00611   TGCompositeFrame   *fVmmLFccMosFrame;
00612 
00613   TGCompositeFrame   *fVmaxLFccMosFrame;
00614   TGTextButton       *fVmaxLFccMosBut;
00615   TGLayoutHints      *fLayoutVmaxLFccMosBut;
00616   TGTextEntry        *fVmaxLFccMosText;
00617   TGTextBuffer       *fEntryVmaxLFccMosNumber;
00618   TGLayoutHints      *fLayoutVmaxLFccMosFieldText;
00619   TGLayoutHints      *fLayoutVmaxLFccMosFrame;
00620 
00621   TGCompositeFrame   *fVminLFccMosFrame;
00622   TGTextButton       *fVminLFccMosBut;
00623   TGLayoutHints      *fLayoutVminLFccMosBut;
00624   TGTextEntry        *fVminLFccMosText;
00625   TGTextBuffer       *fEntryVminLFccMosNumber;
00626   TGLayoutHints      *fLayoutVminLFccMosFieldText;
00627   TGLayoutHints      *fLayoutVminLFccMosFrame;
00628 
00629   TGPopupMenu        *fMenuLFccMos;
00630   TGMenuBar          *fMenuBarLFccMos;
00631   TGLayoutHints      *fLayoutMenuBarLFccMos;
00632   Int_t               fMenuLFccMosColzC, fMenuLFccMosLegoC;
00633 
00634   TGLayoutHints      *fLayoutVmmLFccMosFrame;
00635 
00636   //...................................... High Freq Mean Cor(c,c) for each pair of Stins
00637   TGCompositeFrame   *fVmmHFccMosFrame;
00638 
00639   TGCompositeFrame   *fVmaxHFccMosFrame;
00640   TGTextButton       *fVmaxHFccMosBut;
00641   TGLayoutHints      *fLayoutVmaxHFccMosBut;
00642   TGTextEntry        *fVmaxHFccMosText;
00643   TGTextBuffer       *fEntryVmaxHFccMosNumber;
00644   TGLayoutHints      *fLayoutVmaxHFccMosFieldText;
00645   TGLayoutHints      *fLayoutVmaxHFccMosFrame;
00646 
00647   TGCompositeFrame   *fVminHFccMosFrame;
00648   TGTextButton       *fVminHFccMosBut;
00649   TGLayoutHints      *fLayoutVminHFccMosBut;
00650   TGTextEntry        *fVminHFccMosText;
00651   TGTextBuffer       *fEntryVminHFccMosNumber;
00652   TGLayoutHints      *fLayoutVminHFccMosFieldText;
00653   TGLayoutHints      *fLayoutVminHFccMosFrame;
00654 
00655   TGPopupMenu        *fMenuHFccMos;
00656   TGMenuBar          *fMenuBarHFccMos;
00657   TGLayoutHints      *fLayoutMenuBarHFccMos;
00658   Int_t               fMenuHFccMosColzC, fMenuHFccMosLegoC;
00659 
00660   TGLayoutHints      *fLayoutVmmHFccMosFrame;
00661 
00662 
00663   TGLayoutHints      *fLayoutStexUpFrame;
00664 
00665  //================================= 3rd PART: STINs ================================================
00666 
00667   //+++++++++++++++++++++++++++++++++++++++++ Horizontal frame Stin_A + Stin_B
00668   TGCompositeFrame   *fStinSpFrame; 
00669 
00670   //----------------------------------- SubFrame Stin_A (Button + EntryField)
00671   TGCompositeFrame   *fTxSubFrame;
00672 
00673   TGCompositeFrame   *fStinAFrame;          
00674   TGTextButton       *fStinABut;
00675   Int_t               fStinAButC;
00676   TGLayoutHints      *fLayoutStinABut; 
00677   TGTextBuffer       *fEntryStinANumber; 
00678   TGTextEntry        *fStinAText;
00679   TGLayoutHints      *fLayoutStinAField;
00680   
00681   //............................ Stin Crystal Numbering view (Button)
00682   TGTextButton       *fButChNb;
00683   Int_t               fButChNbC;
00684   TGLayoutHints      *fLayoutChNbBut;
00685 
00686   //............................ Menus Stin_A
00687   TGPopupMenu        *fMenuCorssAll;
00688   TGMenuBar          *fMenuBarCorssAll;
00689   Int_t               fMenuCorssAllColzC, fMenuCovssAllColzC;
00690 
00691   //TGPopupMenu        *fMenuCovssAll;
00692   //TGMenuBar          *fMenuBarCovssAll;
00693   //Int_t               fMenuCovssAllColzC;
00694 
00695   TGLayoutHints      *fLayoutTxSubFrame;
00696 
00697   //----------------------------------- SubFrame Stin_B (Button + EntryField)
00698   TGCompositeFrame   *fTySubFrame;
00699 
00700   TGCompositeFrame   *fStinBFrame;
00701   TGTextButton       *fStinBBut;
00702   Int_t               fStinBButC;
00703   TGLayoutHints      *fLayoutStinBBut;
00704   TGTextBuffer       *fEntryStinBNumber;
00705   TGTextEntry        *fStinBText;
00706   TGLayoutHints      *fLayoutStinBField;
00707 
00708   TGLayoutHints      *fLayoutTySubFrame;
00709 
00710   TGLayoutHints      *fLayoutStinSpFrame;
00711 
00712   //.................................. Menus for Horizontal frame (Stin_A + Stin_B)
00713   TGPopupMenu        *fMenuLFCorcc; 
00714   TGMenuBar          *fMenuBarLFCorcc;   
00715   Int_t               fMenuLFCorccColzC, fMenuLFCorccLegoC; 
00716 
00717   TGPopupMenu        *fMenuHFCorcc;
00718   TGMenuBar          *fMenuBarHFCorcc;   
00719   Int_t               fMenuHFCorccColzC, fMenuHFCorccLegoC;    
00720 
00721  //======================== 4th PART:CHANNEL, SAMPLE ================================================
00722 
00723   //++++++++++++++++++++++++ Horizontal frame channel number (Stin_A crystal number) + sample number
00724   TGCompositeFrame   *fChSpFrame;
00725 
00726   //------------------------------------- SubFrame Channel (Button + EntryField)
00727   TGCompositeFrame   *fChSubFrame;
00728 
00729   TGCompositeFrame   *fChanFrame;
00730   TGTextButton       *fChanBut;
00731   Int_t               fChanButC;
00732   TGLayoutHints      *fLayoutChanBut;
00733   TGTextBuffer       *fEntryChanNumber;
00734   TGTextEntry        *fChanText;
00735   TGLayoutHints      *fLayoutChanField;
00736 
00737   //................................ Menus Stin_A crystal number
00738   TGPopupMenu        *fMenuCorss;
00739   TGMenuBar          *fMenuBarCorss;
00740   Int_t               fMenuCorssColzC,  fMenuCorssBoxC,   fMenuCorssTextC;
00741   Int_t               fMenuCorssContzC, fMenuCorssLegoC;
00742   Int_t               fMenuCorssSurf1C, fMenuCorssSurf2C, fMenuCorssSurf3C, fMenuCorssSurf4C;
00743   Int_t               fMenuCorssAsciiFileC;
00744 
00745   TGPopupMenu        *fMenuCovss;
00746   TGMenuBar          *fMenuBarCovss;
00747   Int_t               fMenuCovssColzC,  fMenuCovssBoxC,   fMenuCovssTextC;
00748   Int_t               fMenuCovssContzC, fMenuCovssLegoC;
00749   Int_t               fMenuCovssSurf1C, fMenuCovssSurf2C, fMenuCovssSurf3C, fMenuCovssSurf4C;
00750   Int_t               fMenuCovssAsciiFileC;
00751 
00752   TGPopupMenu        *fMenuD_MSp_SpNb;
00753   TGMenuBar          *fMenuBarD_MSp_SpNb;
00754   Int_t               fMenuD_MSp_SpNbLineFullC,    fMenuD_MSp_SpNbLineSameC,
00755                       fMenuD_MSp_SpNbLineAllStinC;
00756 
00757   TGPopupMenu        *fMenuD_MSp_SpDs;
00758   TGMenuBar          *fMenuBarD_MSp_SpDs;
00759   Int_t               fMenuD_MSp_SpDsLineFullC,    fMenuD_MSp_SpDsLineSameC,
00760                       fMenuD_MSp_SpDsLineAllStinC;
00761 
00762   TGPopupMenu        *fMenuD_SSp_SpNb;
00763   TGMenuBar          *fMenuBarD_SSp_SpNb; 
00764   Int_t               fMenuD_SSp_SpNbLineFullC, fMenuD_SSp_SpNbLineSameC,
00765                       fMenuD_SSp_SpNbLineAllStinC;
00766 
00767   TGPopupMenu        *fMenuD_SSp_SpDs;
00768   TGMenuBar          *fMenuBarD_SSp_SpDs; 
00769   Int_t               fMenuD_SSp_SpDsLineFullC, fMenuD_SSp_SpDsLineSameC,
00770                       fMenuD_SSp_SpDsLineAllStinC;
00771 
00772   TGLayoutHints      *fLayoutChSubFrame;
00773 
00774   //------------------------------------ SubFrame Sample (Button + EntryField)
00775   TGCompositeFrame   *fSpSubFrame;
00776 
00777   TGCompositeFrame   *fSampFrame;
00778   TGTextButton       *fSampBut;
00779   TGLayoutHints      *fLayoutSampBut;
00780   Int_t               fSampButC;
00781   TGTextEntry        *fSampText;
00782   TGTextBuffer       *fEntrySampNumber;
00783   TGLayoutHints      *fLayoutSampField;
00784 
00785   TGLayoutHints      *fLayoutSpSubFrame;
00786 
00787   //................................ Menus Sample number
00788 
00789   //     (no menu in this SubFrame)
00790 
00791   TGLayoutHints      *fLayoutChSpFrame;
00792 
00793   //++++++++++++++++++++++++++++++++++++ Menu Adc count Distribution
00794   TGPopupMenu        *fMenuAdcProj;
00795   TGMenuBar          *fMenuBarAdcProj;
00796   TGLayoutHints      *fLayoutMenuBarAdcProj;
00797   Int_t               fMenuAdcProjLineLinyFullC, fMenuAdcProjLineLinySameC;
00798   Int_t               fMenuAdcProjSampLineFullC, fMenuAdcProjSampLineSameC;
00799 
00800  //========================= 5th PART: HISTORY PLOTS ================================================
00801 
00802   //++++++++++++++++++++++++++++++++++++ Frame: Run List (Rul) (Button + EntryField)
00803   TGCompositeFrame   *fRulFrame;
00804   TGTextButton       *fRulBut;
00805   TGLayoutHints      *fLayoutRulBut;
00806   TGTextEntry        *fRulText;
00807   TGTextBuffer       *fEntryRulNumber;
00808   TGLayoutHints      *fLayoutRulFieldText;
00809   TGLayoutHints      *fLayoutRulFieldFrame;
00810 
00811   //................................ Menus for history plots
00812   TGPopupMenu        *fMenuHistory;
00813   TGMenuBar          *fMenuBarHistory;
00814   Int_t               fMenuH_Ped_DatePolmFullC, fMenuH_Ped_DatePolmSameC;
00815   Int_t               fMenuH_TNo_DatePolmFullC, fMenuH_TNo_DatePolmSameC, fMenuH_TNo_DatePolmSamePC;
00816   Int_t               fMenuH_LFN_DatePolmFullC, fMenuH_LFN_DatePolmSameC, fMenuH_LFN_DatePolmSamePC;
00817   Int_t               fMenuH_HFN_DatePolmFullC, fMenuH_HFN_DatePolmSameC, fMenuH_HFN_DatePolmSamePC;
00818   Int_t               fMenuH_MCs_DatePolmFullC, fMenuH_MCs_DatePolmSameC, fMenuH_MCs_DatePolmSamePC;
00819   Int_t               fMenuH_SCs_DatePolmFullC, fMenuH_SCs_DatePolmSameC, fMenuH_SCs_DatePolmSamePC;
00820 
00821  //========================= 6th PART: LAST BUTTONS ================================================
00822 
00823   //++++++++++++++++++++++++++++++++++++ Lin/Log X +  Lin/Log Y + Projection along Y axis Frame
00824   TGCompositeFrame   *fLinLogFrame;
00825 
00826   //---------------------------------- Lin/Log X
00827   TGCheckButton      *fButLogx;
00828   Int_t               fButLogxC; 
00829   TGLayoutHints      *fLayoutLogxBut;
00830   //---------------------------------- Lin/Log Y
00831   TGCheckButton      *fButLogy;
00832   Int_t               fButLogyC; 
00833   TGLayoutHints      *fLayoutLogyBut;
00834 
00835   //---------------------------------- Projection on Y axis
00836   TGCheckButton      *fButProjy;
00837   Int_t               fButProjyC; 
00838   TGLayoutHints      *fLayoutProjyBut;
00839 
00840   //++++++++++++++++++++++++++++++++++++ Frame: General title (Gent) (Button + EntryField)
00841   TGCompositeFrame   *fGentFrame;
00842   TGTextButton       *fGentBut;
00843   TGLayoutHints      *fLayoutGentBut;
00844   TGTextEntry        *fGentText;
00845   TGTextBuffer       *fEntryGentNumber;
00846   TGLayoutHints      *fLayoutGentFieldText;
00847   TGLayoutHints      *fLayoutGentFieldFrame;
00848 
00849   //++++++++++++++++++++++++++++++++++++ Color palette + EXIT BUTTON frame
00850   TGCompositeFrame   *fColorExitFrame;
00851   TGLayoutHints      *fLayoutColorExitFrame;
00852 
00853   //---------------------------------- Color palette
00854   TGCheckButton      *fButColPal;
00855   Int_t               fButColPalC; 
00856   TGLayoutHints      *fLayoutColPalBut;
00857   //---------------------------------- Exit
00858   TGTextButton       *fButExit;
00859   Int_t               fButExitC;      
00860   TGLayoutHints      *fLayoutExitBut;
00861 
00862   //++++++++++++++++++++++++++++++++++++ Last Frame
00863   TGCompositeFrame   *fLastFrame;
00864 
00865   //--------------------------------- Clone Last Canvas (Button)
00866   TGTextButton       *fButClone;
00867   Int_t               fButCloneC;
00868   TGLayoutHints      *fLayoutCloneBut;
00869   //--------------------------------- Root version (Button)
00870   TGTextButton       *fButRoot;
00871   Int_t               fButRootC;
00872   TGLayoutHints      *fLayoutRootBut;
00873   //--------------------------------- Help (Button)
00874   TGTextButton       *fButHelp;
00875   Int_t               fButHelpC;
00876   TGLayoutHints      *fLayoutHelpBut;
00877 
00878   //==================================================== Miscellaneous parameters
00879 
00880   //ofstream fFcout_f;
00881 
00882   TString  fKeyAnaType;           // Type of analysis
00883 
00884   Int_t    fKeyNbOfSamples;       // Nb of required samples (file)
00885   TString  fKeyNbOfSamplesString; // Nb of required samples (file) in TString
00886   Int_t    fKeyRunNumber;               // Run number
00887   TString  fKeyRunNumberString;         // Run number characters in TString
00888   Int_t    fKeyFirstReqEvtNumber;       // First requested event number
00889   TString  fKeyFirstReqEvtNumberString; // First requested event number in TString
00890   Int_t    fKeyLastReqEvtNumber;        // Last requested event number
00891   TString  fKeyLastReqEvtNumberString;  // Last requested event number in TString 
00892   Int_t    fKeyReqNbOfEvts;             // Requested number of events
00893   TString  fKeyReqNbOfEvtsString;       // Requested number of events in TString 
00894 
00895   Int_t    fKeyStexNumber;              // Stex number
00896   TString  fKeyStexNumberString;        // Stex number in TString 
00897   Int_t    fKeyNbOfSampForCalc;         // Nb of required samples (calculation)
00898   TString  fKeyNbOfSampForCalcString;   // Nb of required samples (calculation) in TString
00899 
00900   TString  fKeyFileNameRunList;   // Name of the file containing the run parameters list
00901   TString  fKeyRunListInitCode;
00902   //TString  fKeyPyf;               //  Name of file containing the data file names
00903   //                                // which are in the "source" sector of the python file
00904 
00905   TString  fPythonFileName;       //  python file name (for cmsRun)
00906 
00907   TString  fKeyScaleX;
00908   TString  fKeyScaleY;
00909   TString  fKeyProjY;
00910   TString  fKeyColPal;
00911   TString  fKeyGeneralTitle;    // General title for the plots 
00912 
00913   //................... VISUALIZATION PARAMETERS  
00914 
00915   Int_t    fKeyStinANumber; // Stin X number
00916   Int_t    fKeyStinBNumber; // Stin Y number
00917   Int_t    fKeyChanNumber;  // Channel number
00918   Int_t    fKeySampNumber;  // Sample number
00919 
00920   //................... ymin and ymax values
00921 
00922   Double_t fKeyVminD_NOE_ChNb; 
00923   Double_t fKeyVmaxD_NOE_ChNb;
00924  
00925   Double_t fKeyVminD_Ped_ChNb; 
00926   Double_t fKeyVmaxD_Ped_ChNb; 
00927 
00928   Double_t fKeyVminD_TNo_ChNb; 
00929   Double_t fKeyVmaxD_TNo_ChNb; 
00930 
00931   Double_t fKeyVminD_MCs_ChNb; 
00932   Double_t fKeyVmaxD_MCs_ChNb;
00933 
00934   Double_t fKeyVminD_LFN_ChNb; 
00935   Double_t fKeyVmaxD_LFN_ChNb; 
00936 
00937   Double_t fKeyVminD_HFN_ChNb; 
00938   Double_t fKeyVmaxD_HFN_ChNb; 
00939 
00940   Double_t fKeyVminD_SCs_ChNb; 
00941   Double_t fKeyVmaxD_SCs_ChNb; 
00942 
00943   Double_t fKeyVminLFccMos; 
00944   Double_t fKeyVmaxLFccMos;
00945   Double_t fKeyVminHFccMos; 
00946   Double_t fKeyVmaxHFccMos;
00947 
00948   Double_t fKeyVminLHFcc; 
00949   Double_t fKeyVmaxLHFcc;
00950 
00951   //................... plot parameters (for onlyone,same options)
00952 
00953   TString  fMemoScaleX;
00954   TString  fMemoScaleY;
00955   TString  fMemoProjY;
00956 
00957   TString  fMemoColPal;
00958 
00959   TString  fOptPlotFull;
00960   TString  fOptPlotSame;
00961   TString  fOptPlotSameP;
00962   TString  fOptPlotSameInStin;
00963   TString  fOptAscii;
00964 
00965   //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
00966 
00967  public:
00968   TEcnaGui();
00969   TEcnaGui(TEcnaObject*, const TString, const TGWindow *, UInt_t, UInt_t);
00970 
00971   // TEcnaGui(const TString, const TGWindow *, UInt_t, UInt_t);
00972   virtual  ~TEcnaGui();
00973 
00974   void Init();
00975   void DialogBox();
00976 
00977   void InitKeys();
00978 
00979   void DisplayInEntryField(TGTextEntry*, Int_t&);
00980   void DisplayInEntryField(TGTextEntry*, Double_t&);
00981   void DisplayInEntryField(TGTextEntry*, const TString);
00982 
00983   void DoButtonAna();
00984 
00985   void DoButtonNors();
00986   void DoButtonRun();
00987 
00988 
00989   void DoButtonFev();
00990   void DoButtonLev();
00991   void DoButtonRev();
00992   void DoButtonStex();
00993   void DoButtonNbSampForCalc();
00994   void DoButtonStexNb();
00995 
00996   //########################################
00997   void DoButtonVminD_NOE_ChNb();
00998   void DoButtonVmaxD_NOE_ChNb();
00999 
01000   void DoButtonVminD_Ped_ChNb();
01001   void DoButtonVmaxD_Ped_ChNb();
01002 
01003   void DoButtonVminD_TNo_ChNb();
01004   void DoButtonVmaxD_TNo_ChNb();
01005 
01006   void DoButtonVminD_LFN_ChNb();
01007   void DoButtonVmaxD_LFN_ChNb();
01008 
01009   void DoButtonVminD_HFN_ChNb();
01010   void DoButtonVmaxD_HFN_ChNb();
01011 
01012   void DoButtonVminD_MCs_ChNb();
01013   void DoButtonVmaxD_MCs_ChNb();
01014 
01015   void DoButtonVminD_SCs_ChNb();
01016   void DoButtonVmaxD_SCs_ChNb();
01017 
01018   void DoButtonVminLFccMos();
01019   void DoButtonVmaxLFccMos();
01020   void DoButtonVminHFccMos();
01021   void DoButtonVmaxHFccMos();
01022 
01023   void DoButtonVminLHFcc();
01024   void DoButtonVmaxLHFcc();
01025 
01026   //########################################
01027 
01028   void DoButtonStinA();
01029   void DoButtonStinB();
01030 
01031   void DoButtonChNb();
01032   void DoButtonChan();
01033   void DoButtonSamp();
01034 
01035   void DoButtonRul();
01036 
01037   void DoButtonLogx();
01038   void DoButtonLogy();
01039   void DoButtonProjy();
01040 
01041   void DoButtonGent();
01042 
01043   void DoButtonColPal();
01044   void DoButtonExit();
01045 
01046   void DoButtonClone();
01047   void DoButtonRoot();
01048   void DoButtonHelp();
01049 
01050   void HandleMenu(Int_t);
01051 
01052   void SubmitOnBatchSystem(const TString);
01053   void CleanBatchFiles(const TString);
01054   void Calculations(const TString);
01055 
01056   //------------------- VISUALIZATION METHODS
01057 
01058   // void ViewMatrixCorrelationStins(const TString);  // (RESERVE)
01059   // void ViewMatrixCovarianceStins(const TString);   // (RESERVE)
01060 
01061   void ViewMatrixLowFrequencyMeanCorrelationsBetweenStins(const TString);  
01062   void ViewMatrixHighFrequencyMeanCorrelationsBetweenStins(const TString);   
01063 
01064   void ViewMatrixLowFrequencyCorrelationsBetweenChannels(const Int_t&, const Int_t&, const TString);
01065   void ViewMatrixHighFrequencyCorrelationsBetweenChannels(const Int_t&, const Int_t&, const TString);
01066 
01067   void ViewMatrixCorrelationSamples(const Int_t&, const Int_t&, const TString);
01068   void ViewMatrixCovarianceSamples(const Int_t&, const Int_t&, const TString);
01069 
01070   void ViewSorSNumberOfEvents();             // SorS = Stas or Stex
01071   void ViewSorSPedestals();
01072   void ViewSorSTotalNoise();
01073   void ViewSorSMeanCorss();
01074   void ViewSorSLowFrequencyNoise();
01075   void ViewSorSHighFrequencyNoise();
01076   void ViewSorSSigmaOfCorss();
01077 
01078   void ViewStexLowFrequencyCorcc();
01079   void ViewStexHighFrequencyCorcc();
01080 
01081   void ViewStinCorrelationSamples(const Int_t&);
01082   void ViewStinCovarianceSamples(const Int_t&);
01083   void ViewStinCrystalNumbering(const Int_t&);
01084   void ViewStexStinNumbering();
01085 
01086   void ViewHistoSorSNumberOfEventsOfCrystals(const TString);    // SorS = Stas or Stex
01087   void ViewHistoSorSNumberOfEventsDistribution(const TString);
01088   void ViewHistoSorSPedestalsOfCrystals(const TString);
01089   void ViewHistoSorSPedestalsDistribution(const TString);
01090   void ViewHistoSorSTotalNoiseOfCrystals(const TString);
01091   void ViewHistoSorSTotalNoiseDistribution(const TString);
01092   void ViewHistoSorSMeanCorssOfCrystals(const TString);
01093   void ViewHistoSorSMeanCorssDistribution(const TString);
01094   void ViewHistoSorSLowFrequencyNoiseOfCrystals(const TString);
01095   void ViewHistoSorSLowFrequencyNoiseDistribution(const TString);
01096   void ViewHistoSorSHighFrequencyNoiseOfCrystals(const TString);
01097   void ViewHistoSorSHighFrequencyNoiseDistribution(const TString);
01098   void ViewHistoSorSSigmaOfCorssOfCrystals(const TString);
01099   void ViewHistoSorSSigmaOfCorssDistribution(const TString);
01100 
01101   void ViewHistoCrystalSampleMeans(const Int_t&, const Int_t&, const TString);
01102   void ViewHistoCrystalSampleMeansDistribution(const Int_t&, const Int_t&, const TString);
01103   void ViewHistoCrystalSampleSigmas(const Int_t&, const Int_t&, const TString);
01104   void ViewHistoCrystalSampleSigmasDistribution(const Int_t&, const Int_t&, const TString);
01105 
01106   void ViewHistoCrystalSampleValues(const Int_t&, const Int_t&, const Int_t&, const TString);
01107   void ViewHistoSampleEventDistribution(const Int_t&, const Int_t&, const Int_t&, const TString);
01108 
01109   void ViewHistimeCrystalPedestals(const TString, const Int_t&, const Int_t&, const TString);
01110   void ViewHistimeCrystalTotalNoise(const TString, const Int_t&, const Int_t&, const TString);
01111   void ViewHistimeCrystalLowFrequencyNoise(const TString, const Int_t&, const Int_t&, const TString);
01112   void ViewHistimeCrystalHighFrequencyNoise(const TString, const Int_t&, const Int_t&, const TString);
01113   void ViewHistimeCrystalMeanCorss(const TString, const Int_t&, const Int_t&, const TString);
01114   void ViewHistimeCrystalSigmaOfCorss(const TString, const Int_t&, const Int_t&, const TString);
01115 
01116   void ViewHistimeCrystalPedestalsRuns(const TString, const Int_t&, const Int_t&, const TString);
01117   void ViewHistimeCrystalTotalNoiseRuns(const TString, const Int_t&, const Int_t&, const TString);
01118   void ViewHistimeCrystalLowFrequencyNoiseRuns(const TString, const Int_t&, const Int_t&, const TString);
01119   void ViewHistimeCrystalHighFrequencyNoiseRuns(const TString, const Int_t&, const Int_t&, const TString);
01120   void ViewHistimeCrystalMeanCorssRuns(const TString, const Int_t&, const Int_t&, const TString);
01121   void ViewHistimeCrystalSigmaOfCorssRuns(const TString, const Int_t&, const Int_t&, const TString);
01122 
01123   void MessageCnaCommandReplyA(const TString);
01124   void MessageCnaCommandReplyB(const TString);
01125 
01126 ClassDef(TEcnaGui,1)// Dialog box with GUI + methods for CNA (Correlated Noises Analysis)
01127 
01128 };
01129 
01130 #endif   //    ZTR_TEcnaGui