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 "TGCanvas.h"
00017 #include "TGWindow.h"
00018 #include "TGMenu.h"
00019 #include "TGFrame.h"
00020 #include "TGTextEntry.h"
00021 #include "TGLayout.h"
00022 #include "TGFont.h"
00023
00024 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParEcal.h"
00025 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaNumbering.h"
00026 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaHistos.h"
00027 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParHistos.h"
00028 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaRun.h"
00029 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaWrite.h"
00030 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParPaths.h"
00031 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParCout.h"
00032 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaRead.h"
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 class TEcnaGui : public TGMainFrame {
00043
00044 private:
00045
00046
00047
00048 Int_t fgMaxCar;
00049
00050 Int_t fCnew, fCdelete;
00051 Int_t fCnewRoot, fCdeleteRoot;
00052
00053 TString fTTBELL;
00054
00055 Int_t fCnaCommand, fCnaError;
00056
00057 Int_t fConfirmSubmit;
00058 Int_t fConfirmRunNumber;
00059 TString fConfirmRunNumberString;
00060 Int_t fConfirmCalcScc;
00061
00062
00063
00064 TGWindow* fCnaP;
00065 UInt_t fCnaW, fCnaH;
00066 TString fSubDet;
00067 TString fStexName, fStinName;
00068
00069
00070
00071 TEcnaHistos* fHistos;
00072 TEcnaParHistos* fCnaParHistos;
00073 TEcnaParPaths* fCnaParPaths;
00074 TEcnaParCout* fCnaParCout;
00075 TEcnaParEcal* fEcal;
00076 TEcnaNumbering* fEcalNumbering;
00077 TEcnaWrite* fCnaWrite;
00078 TEcnaRead* fMyRootFile;
00079
00080
00081 TGLayoutHints *fLayoutGeneral, *fLayoutBottLeft, *fLayoutBottRight;
00082 TGLayoutHints *fLayoutTopLeft, *fLayoutTopRight;
00083 TGLayoutHints *fLayoutCenterYLeft, *fLayoutCenterYRight, *fLayoutCenterXTop;
00084
00085 TGCompositeFrame *fVoidFrame;
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102 TGCompositeFrame *fAnaNorsRunFrame;
00103 TGLayoutHints *fLayoutAnaNorsRunFrame;
00104
00105 TGCompositeFrame *fAnaFrame;
00106 TGTextButton *fAnaBut;
00107 Int_t fAnaButC;
00108 TGLayoutHints *fLayoutAnaBut;
00109 TGTextEntry *fAnaText;
00110 TGTextBuffer *fEntryAnaNumber;
00111 TGLayoutHints *fLayoutAnaField;
00112
00113 TGCompositeFrame *fFevFrame;
00114 TGTextButton *fFevBut;
00115 TGLayoutHints *fLayoutFevBut;
00116 TGTextEntry *fFevText;
00117 TGTextBuffer *fEntryFevNumber;
00118 TGLayoutHints *fLayoutFevFieldText;
00119 TGLayoutHints *fLayoutFevFieldFrame;
00120
00121 TGCompositeFrame *fRunFrame;
00122 TGTextButton *fRunBut;
00123 Int_t fRunButC;
00124 TGLayoutHints *fLayoutRunBut;
00125 TGTextEntry *fRunText;
00126 TGTextBuffer *fEntryRunNumber;
00127 TGLayoutHints *fLayoutRunField;
00128
00129
00130 TGCompositeFrame *fFevLevStexFrame;
00131 TGLayoutHints *fLayoutFevLevStexFrame;
00132
00133 TGCompositeFrame *fNorsFrame;
00134 TGTextButton *fNorsBut;
00135 Int_t fNorsButC;
00136 TGLayoutHints *fLayoutNorsBut;
00137 TGTextEntry *fNorsText;
00138 TGTextBuffer *fEntryNorsNumber;
00139 TGLayoutHints *fLayoutNorsField;
00140
00141
00142 TGCompositeFrame *fLevFrame;
00143 TGTextButton *fLevBut;
00144 TGLayoutHints *fLayoutLevBut;
00145 TGTextEntry *fLevText;
00146 TGTextBuffer *fEntryLevNumber;
00147 TGLayoutHints *fLayoutLevFieldText;
00148 TGLayoutHints *fLayoutLevFieldFrame;
00149
00150 TGPopupMenu *fMenuClean;
00151 TGMenuBar *fMenuBarClean;
00152 Int_t fMenuCleanSubC, fMenuCleanJobC, fMenuCleanPythC, fMenuCleanAllC;
00153 TGLayoutHints *fLayoutRunCleanFrame;
00154
00155 TGPopupMenu *fMenuSubmit;
00156 TGMenuBar *fMenuBarSubmit;
00157 Int_t fMenuSubmit8nmC, fMenuSubmit1nhC, fMenuSubmit8nhC, fMenuSubmit1ndC, fMenuSubmit1nwC;
00158
00159
00160 TGCompositeFrame *fCompStRqFrame;
00161 TGLayoutHints *fLayoutCompStRqFrame;
00162
00163 TGCompositeFrame *fStexFrame;
00164 TGTextButton *fStexBut;
00165 TGLayoutHints *fLayoutStexBut;
00166 TGTextEntry *fStexText;
00167 TGTextBuffer *fEntryStexNumber;
00168 TGLayoutHints *fLayoutStexFieldText;
00169 TGLayoutHints *fLayoutStexFieldFrame;
00170
00171
00172 TGCompositeFrame *fRevFrame;
00173 TGTextButton *fRevBut;
00174 TGLayoutHints *fLayoutRevBut;
00175 TGTextEntry *fRevText;
00176 TGTextBuffer *fEntryRevNumber;
00177 TGLayoutHints *fLayoutRevFieldText;
00178 TGLayoutHints *fLayoutRevFieldFrame;
00179
00180
00181 TGCompositeFrame *fCompStnbFrame;
00182 TGLayoutHints *fLayoutCompStnbFrame;
00183
00184
00185 TGTextButton *fButStexNb;
00186 Int_t fButStexNbC;
00187 TGLayoutHints *fLayoutStexNbBut;
00188
00189 TGCompositeFrame *fNbSampForCalcFrame;
00190 TGTextButton *fNbSampForCalcBut;
00191 TGLayoutHints *fLayoutNbSampForCalcBut;
00192 TGTextEntry *fNbSampForCalcText;
00193 TGTextBuffer *fEntryNbSampForCalcNumber;
00194 TGLayoutHints *fLayoutNbSampForCalcFieldText;
00195 TGLayoutHints *fLayoutNbSampForCalcFieldFrame;
00196
00197 TGPopupMenu *fMenuComput;
00198 TGMenuBar *fMenuBarComput;
00199 Int_t fMenuComputStdC, fMenuComputSccC, fMenuComputSttC;
00200 TGLayoutHints *fLayoutRunComputFrame;
00201
00202
00203
00204
00205 TGCompositeFrame *fStexUpFrame;
00206
00207
00208
00209
00210
00211 TGCompositeFrame *fVmmD_NOE_ChNbFrame;
00212
00213 TGCompositeFrame *fVmaxD_NOE_ChNbFrame;
00214 TGTextButton *fVmaxD_NOE_ChNbBut;
00215 TGLayoutHints *fLayoutVmaxD_NOE_ChNbBut;
00216 TGTextBuffer *fEntryVmaxD_NOE_ChNbNumber;
00217 TGTextEntry *fVmaxD_NOE_ChNbText;
00218 TGLayoutHints *fLayoutVmaxD_NOE_ChNbFieldText;
00219 TGLayoutHints *fLayoutVmaxD_NOE_ChNbFrame;
00220
00221 TGCompositeFrame *fVminD_NOE_ChNbFrame;
00222 TGTextButton *fVminD_NOE_ChNbBut;
00223 TGLayoutHints *fLayoutVminD_NOE_ChNbBut;
00224 TGTextBuffer *fEntryVminD_NOE_ChNbNumber;
00225 TGTextEntry *fVminD_NOE_ChNbText;
00226 TGLayoutHints *fLayoutVminD_NOE_ChNbFieldText;
00227 TGLayoutHints *fLayoutVminD_NOE_ChNbFrame;
00228
00229 TGPopupMenu *fMenuD_NOE_ChNb;
00230 TGMenuBar *fMenuBarD_NOE_ChNb;
00231 TGLayoutHints *fLayoutMenuBarD_NOE_ChNb;
00232 Int_t fMenuD_NOE_ChNbFullC;
00233 Int_t fMenuD_NOE_ChNbSameC;
00234 Int_t fMenuD_NOE_ChNbHocoVecoC;
00235 Int_t fMenuD_NOE_ChNbAsciiFileC;
00236
00237 TGLayoutHints *fLayoutVmmD_NOE_ChNbFrame;
00238
00239
00240 TGCompositeFrame *fStexHozFrame;
00241
00242
00243 TGCompositeFrame *fVmmD_Ped_ChNbFrame;
00244
00245 TGCompositeFrame *fVmaxD_Ped_ChNbFrame;
00246 TGTextButton *fVmaxD_Ped_ChNbBut;
00247 TGLayoutHints *fLayoutVmaxD_Ped_ChNbBut;
00248 TGTextEntry *fVmaxD_Ped_ChNbText;
00249 TGTextBuffer *fEntryVmaxD_Ped_ChNbNumber;
00250 TGLayoutHints *fLayoutVmaxD_Ped_ChNbFieldText;
00251 TGLayoutHints *fLayoutVmaxD_Ped_ChNbFrame;
00252
00253 TGCompositeFrame *fVminD_Ped_ChNbFrame;
00254 TGTextButton *fVminD_Ped_ChNbBut;
00255 TGLayoutHints *fLayoutVminD_Ped_ChNbBut;
00256 TGTextEntry *fVminD_Ped_ChNbText;
00257 TGTextBuffer *fEntryVminD_Ped_ChNbNumber;
00258 TGLayoutHints *fLayoutVminD_Ped_ChNbFieldText;
00259 TGLayoutHints *fLayoutVminD_Ped_ChNbFrame;
00260
00261 TGPopupMenu *fMenuD_Ped_ChNb;
00262 TGMenuBar *fMenuBarD_Ped_ChNb;
00263 TGLayoutHints *fLayoutMenuBarD_Ped_ChNb;
00264 Int_t fMenuD_Ped_ChNbFullC;
00265 Int_t fMenuD_Ped_ChNbSameC;
00266 Int_t fMenuD_Ped_ChNbHocoVecoC;
00267 Int_t fMenuD_Ped_ChNbAsciiFileC;
00268
00269 TGLayoutHints *fLayoutVmmD_Ped_ChNbFrame;
00270
00271
00272 TGCompositeFrame *fVmmD_TNo_ChNbFrame;
00273
00274 TGCompositeFrame *fVmaxD_TNo_ChNbFrame;
00275 TGTextButton *fVmaxD_TNo_ChNbBut;
00276 TGLayoutHints *fLayoutVmaxD_TNo_ChNbBut;
00277 TGTextBuffer *fEntryVmaxD_TNo_ChNbNumber;
00278 TGTextEntry *fVmaxD_TNo_ChNbText;
00279 TGLayoutHints *fLayoutVmaxD_TNo_ChNbFieldText;
00280 TGLayoutHints *fLayoutVmaxD_TNo_ChNbFrame;
00281
00282 TGCompositeFrame *fVminD_TNo_ChNbFrame;
00283 TGTextButton *fVminD_TNo_ChNbBut;
00284 TGLayoutHints *fLayoutVminD_TNo_ChNbBut;
00285 TGTextBuffer *fEntryVminD_TNo_ChNbNumber;
00286 TGTextEntry *fVminD_TNo_ChNbText;
00287 TGLayoutHints *fLayoutVminD_TNo_ChNbFieldText;
00288 TGLayoutHints *fLayoutVminD_TNo_ChNbFrame;
00289
00290 TGPopupMenu *fMenuD_TNo_ChNb;
00291 TGMenuBar *fMenuBarD_TNo_ChNb;
00292 TGLayoutHints *fLayoutMenuBarD_TNo_ChNb;
00293 Int_t fMenuD_TNo_ChNbFullC;
00294 Int_t fMenuD_TNo_ChNbSameC;
00295 Int_t fMenuD_TNo_ChNbSamePC;
00296 Int_t fMenuD_TNo_ChNbHocoVecoC;
00297 Int_t fMenuD_TNo_ChNbAsciiFileC;
00298
00299 TGLayoutHints *fLayoutVmmD_TNo_ChNbFrame;
00300
00301
00302 TGCompositeFrame *fVmmD_LFN_ChNbFrame;
00303
00304 TGCompositeFrame *fVmaxD_LFN_ChNbFrame;
00305 TGTextButton *fVmaxD_LFN_ChNbBut;
00306 TGLayoutHints *fLayoutVmaxD_LFN_ChNbBut;
00307 TGTextEntry *fVmaxD_LFN_ChNbText;
00308 TGTextBuffer *fEntryVmaxD_LFN_ChNbNumber;
00309 TGLayoutHints *fLayoutVmaxD_LFN_ChNbFieldText;
00310 TGLayoutHints *fLayoutVmaxD_LFN_ChNbFrame;
00311
00312 TGCompositeFrame *fVminD_LFN_ChNbFrame;
00313 TGTextButton *fVminD_LFN_ChNbBut;
00314 TGLayoutHints *fLayoutVminD_LFN_ChNbBut;
00315 TGTextBuffer *fEntryVminD_LFN_ChNbNumber;
00316 TGTextEntry *fVminD_LFN_ChNbText;
00317 TGLayoutHints *fLayoutVminD_LFN_ChNbFieldText;
00318 TGLayoutHints *fLayoutVminD_LFN_ChNbFrame;
00319
00320 TGPopupMenu *fMenuD_LFN_ChNb;
00321 TGMenuBar *fMenuBarD_LFN_ChNb;
00322 TGLayoutHints *fLayoutMenuBarD_LFN_ChNb;
00323 Int_t fMenuD_LFN_ChNbFullC;
00324 Int_t fMenuD_LFN_ChNbSameC;
00325 Int_t fMenuD_LFN_ChNbSamePC;
00326 Int_t fMenuD_LFN_ChNbHocoVecoC;
00327 Int_t fMenuD_LFN_ChNbAsciiFileC;
00328
00329 TGLayoutHints *fLayoutVmmD_LFN_ChNbFrame;
00330
00331
00332 TGCompositeFrame *fVmmD_HFN_ChNbFrame;
00333
00334 TGCompositeFrame *fVmaxD_HFN_ChNbFrame;
00335 TGTextButton *fVmaxD_HFN_ChNbBut;
00336 TGLayoutHints *fLayoutVmaxD_HFN_ChNbBut;
00337 TGTextEntry *fVmaxD_HFN_ChNbText;
00338 TGTextBuffer *fEntryVmaxD_HFN_ChNbNumber;
00339 TGLayoutHints *fLayoutVmaxD_HFN_ChNbFieldText;
00340 TGLayoutHints *fLayoutVmaxD_HFN_ChNbFrame;
00341
00342 TGCompositeFrame *fVminD_HFN_ChNbFrame;
00343 TGTextButton *fVminD_HFN_ChNbBut;
00344 TGLayoutHints *fLayoutVminD_HFN_ChNbBut;
00345 TGTextBuffer *fEntryVminD_HFN_ChNbNumber;
00346 TGTextEntry *fVminD_HFN_ChNbText;
00347 TGLayoutHints *fLayoutVminD_HFN_ChNbFieldText;
00348 TGLayoutHints *fLayoutVminD_HFN_ChNbFrame;
00349
00350 TGPopupMenu *fMenuD_HFN_ChNb;
00351 TGMenuBar *fMenuBarD_HFN_ChNb;
00352 TGLayoutHints *fLayoutMenuBarD_HFN_ChNb;
00353 Int_t fMenuD_HFN_ChNbFullC;
00354 Int_t fMenuD_HFN_ChNbSameC;
00355 Int_t fMenuD_HFN_ChNbSamePC;
00356 Int_t fMenuD_HFN_ChNbHocoVecoC;
00357 Int_t fMenuD_HFN_ChNbAsciiFileC;
00358
00359 TGLayoutHints *fLayoutVmmD_HFN_ChNbFrame;
00360
00361
00362 TGCompositeFrame *fVmmD_MCs_ChNbFrame;
00363
00364 TGCompositeFrame *fVmaxD_MCs_ChNbFrame;
00365 TGTextButton *fVmaxD_MCs_ChNbBut;
00366 TGLayoutHints *fLayoutVmaxD_MCs_ChNbBut;
00367 TGTextEntry *fVmaxD_MCs_ChNbText;
00368 TGTextBuffer *fEntryVmaxD_MCs_ChNbNumber;
00369 TGLayoutHints *fLayoutVmaxD_MCs_ChNbFieldText;
00370 TGLayoutHints *fLayoutVmaxD_MCs_ChNbFrame;
00371
00372 TGCompositeFrame *fVminD_MCs_ChNbFrame;
00373 TGTextButton *fVminD_MCs_ChNbBut;
00374 TGLayoutHints *fLayoutVminD_MCs_ChNbBut;
00375 TGTextBuffer *fEntryVminD_MCs_ChNbNumber;
00376 TGTextEntry *fVminD_MCs_ChNbText;
00377 TGLayoutHints *fLayoutVminD_MCs_ChNbFieldText;
00378 TGLayoutHints *fLayoutVminD_MCs_ChNbFrame;
00379
00380 TGPopupMenu *fMenuD_MCs_ChNb;
00381 TGMenuBar *fMenuBarD_MCs_ChNb;
00382 TGLayoutHints *fLayoutMenuBarD_MCs_ChNb;
00383 Int_t fMenuD_MCs_ChNbFullC;
00384 Int_t fMenuD_MCs_ChNbSameC;
00385 Int_t fMenuD_MCs_ChNbSamePC;
00386 Int_t fMenuD_MCs_ChNbHocoVecoC;
00387 Int_t fMenuD_MCs_ChNbAsciiFileC;
00388
00389 TGLayoutHints *fLayoutVmmD_MCs_ChNbFrame;
00390
00391
00392 TGCompositeFrame *fVmmD_SCs_ChNbFrame;
00393
00394 TGCompositeFrame *fVmaxD_SCs_ChNbFrame;
00395 TGTextButton *fVmaxD_SCs_ChNbBut;
00396 TGLayoutHints *fLayoutVmaxD_SCs_ChNbBut;
00397 TGTextEntry *fVmaxD_SCs_ChNbText;
00398 TGTextBuffer *fEntryVmaxD_SCs_ChNbNumber;
00399 TGLayoutHints *fLayoutVmaxD_SCs_ChNbFieldText;
00400 TGLayoutHints *fLayoutVmaxD_SCs_ChNbFrame;
00401
00402 TGCompositeFrame *fVminD_SCs_ChNbFrame;
00403 TGTextButton *fVminD_SCs_ChNbBut;
00404 TGLayoutHints *fLayoutVminD_SCs_ChNbBut;
00405 TGTextEntry *fVminD_SCs_ChNbText;
00406 TGTextBuffer *fEntryVminD_SCs_ChNbNumber;
00407 TGLayoutHints *fLayoutVminD_SCs_ChNbFieldText;
00408 TGLayoutHints *fLayoutVminD_SCs_ChNbFrame;
00409
00410 TGPopupMenu *fMenuD_SCs_ChNb;
00411 TGMenuBar *fMenuBarD_SCs_ChNb;
00412 TGLayoutHints *fLayoutMenuBarD_SCs_ChNb;
00413 Int_t fMenuD_SCs_ChNbFullC;
00414 Int_t fMenuD_SCs_ChNbSameC;
00415 Int_t fMenuD_SCs_ChNbSamePC;
00416 Int_t fMenuD_SCs_ChNbHocoVecoC;
00417 Int_t fMenuD_SCs_ChNbAsciiFileC;
00418
00419 TGLayoutHints *fLayoutVmmD_SCs_ChNbFrame;
00420
00421
00422
00423 TGLayoutHints *fLayoutStexHozFrame;
00424
00425
00426 TGCompositeFrame *fVmmLHFccFrame;
00427
00428 TGCompositeFrame *fVmaxLHFccFrame;
00429 TGTextButton *fVmaxLHFccBut;
00430 TGLayoutHints *fLayoutVmaxLHFccBut;
00431 TGTextEntry *fVmaxLHFccText;
00432 TGTextBuffer *fEntryVmaxLHFccNumber;
00433 TGLayoutHints *fLayoutVmaxLHFccFieldText;
00434 TGLayoutHints *fLayoutVmaxLHFccFrame;
00435
00436 TGCompositeFrame *fVminLHFccFrame;
00437 TGTextButton *fVminLHFccBut;
00438 TGLayoutHints *fLayoutVminLHFccBut;
00439 TGTextBuffer *fEntryVminLHFccNumber;
00440 TGTextEntry *fVminLHFccText;
00441 TGLayoutHints *fLayoutVminLHFccFieldText;
00442 TGLayoutHints *fLayoutVminLHFccFrame;
00443
00444 TGPopupMenu *fMenuLHFcc;
00445 TGMenuBar *fMenuBarLHFcc;
00446 TGLayoutHints *fLayoutMenuBarLHFcc;
00447 Int_t fMenuLFccColzC, fMenuLFccLegoC, fMenuHFccColzC, fMenuHFccLegoC;
00448
00449 TGLayoutHints *fLayoutVmmLHFccFrame;
00450
00451
00452 TGCompositeFrame *fVmmLFccMosFrame;
00453
00454 TGCompositeFrame *fVmaxLFccMosFrame;
00455 TGTextButton *fVmaxLFccMosBut;
00456 TGLayoutHints *fLayoutVmaxLFccMosBut;
00457 TGTextEntry *fVmaxLFccMosText;
00458 TGTextBuffer *fEntryVmaxLFccMosNumber;
00459 TGLayoutHints *fLayoutVmaxLFccMosFieldText;
00460 TGLayoutHints *fLayoutVmaxLFccMosFrame;
00461
00462 TGCompositeFrame *fVminLFccMosFrame;
00463 TGTextButton *fVminLFccMosBut;
00464 TGLayoutHints *fLayoutVminLFccMosBut;
00465 TGTextEntry *fVminLFccMosText;
00466 TGTextBuffer *fEntryVminLFccMosNumber;
00467 TGLayoutHints *fLayoutVminLFccMosFieldText;
00468 TGLayoutHints *fLayoutVminLFccMosFrame;
00469
00470 TGPopupMenu *fMenuLFccMos;
00471 TGMenuBar *fMenuBarLFccMos;
00472 TGLayoutHints *fLayoutMenuBarLFccMos;
00473 Int_t fMenuLFccMosColzC, fMenuLFccMosLegoC;
00474
00475 TGLayoutHints *fLayoutVmmLFccMosFrame;
00476
00477
00478 TGCompositeFrame *fVmmHFccMosFrame;
00479
00480 TGCompositeFrame *fVmaxHFccMosFrame;
00481 TGTextButton *fVmaxHFccMosBut;
00482 TGLayoutHints *fLayoutVmaxHFccMosBut;
00483 TGTextEntry *fVmaxHFccMosText;
00484 TGTextBuffer *fEntryVmaxHFccMosNumber;
00485 TGLayoutHints *fLayoutVmaxHFccMosFieldText;
00486 TGLayoutHints *fLayoutVmaxHFccMosFrame;
00487
00488 TGCompositeFrame *fVminHFccMosFrame;
00489 TGTextButton *fVminHFccMosBut;
00490 TGLayoutHints *fLayoutVminHFccMosBut;
00491 TGTextEntry *fVminHFccMosText;
00492 TGTextBuffer *fEntryVminHFccMosNumber;
00493 TGLayoutHints *fLayoutVminHFccMosFieldText;
00494 TGLayoutHints *fLayoutVminHFccMosFrame;
00495
00496 TGPopupMenu *fMenuHFccMos;
00497 TGMenuBar *fMenuBarHFccMos;
00498 TGLayoutHints *fLayoutMenuBarHFccMos;
00499 Int_t fMenuHFccMosColzC, fMenuHFccMosLegoC;
00500
00501 TGLayoutHints *fLayoutVmmHFccMosFrame;
00502
00503
00504 TGLayoutHints *fLayoutStexUpFrame;
00505
00506
00507
00508
00509 TGCompositeFrame *fStinSpFrame;
00510
00511
00512 TGCompositeFrame *fTxSubFrame;
00513
00514 TGCompositeFrame *fStinAFrame;
00515 TGTextButton *fStinABut;
00516 Int_t fStinAButC;
00517 TGLayoutHints *fLayoutStinABut;
00518 TGTextBuffer *fEntryStinANumber;
00519 TGTextEntry *fStinAText;
00520 TGLayoutHints *fLayoutStinAField;
00521
00522
00523 TGTextButton *fButChNb;
00524 Int_t fButChNbC;
00525 TGLayoutHints *fLayoutChNbBut;
00526
00527
00528 TGPopupMenu *fMenuCorssAll;
00529 TGMenuBar *fMenuBarCorssAll;
00530 Int_t fMenuCorssAllColzC;
00531
00532 TGPopupMenu *fMenuCovssAll;
00533 TGMenuBar *fMenuBarCovssAll;
00534 Int_t fMenuCovssAllColzC;
00535
00536 TGLayoutHints *fLayoutTxSubFrame;
00537
00538
00539 TGCompositeFrame *fTySubFrame;
00540
00541 TGCompositeFrame *fStinBFrame;
00542 TGTextButton *fStinBBut;
00543 Int_t fStinBButC;
00544 TGLayoutHints *fLayoutStinBBut;
00545 TGTextBuffer *fEntryStinBNumber;
00546 TGTextEntry *fStinBText;
00547 TGLayoutHints *fLayoutStinBField;
00548
00549 TGLayoutHints *fLayoutTySubFrame;
00550
00551 TGLayoutHints *fLayoutStinSpFrame;
00552
00553
00554 TGPopupMenu *fMenuLFCorcc;
00555 TGMenuBar *fMenuBarLFCorcc;
00556 Int_t fMenuLFCorccColzC, fMenuLFCorccLegoC;
00557
00558 TGPopupMenu *fMenuHFCorcc;
00559 TGMenuBar *fMenuBarHFCorcc;
00560 Int_t fMenuHFCorccColzC, fMenuHFCorccLegoC;
00561
00562
00563
00564
00565 TGCompositeFrame *fChSpFrame;
00566
00567
00568 TGCompositeFrame *fChSubFrame;
00569
00570 TGCompositeFrame *fChanFrame;
00571 TGTextButton *fChanBut;
00572 Int_t fChanButC;
00573 TGLayoutHints *fLayoutChanBut;
00574 TGTextBuffer *fEntryChanNumber;
00575 TGTextEntry *fChanText;
00576 TGLayoutHints *fLayoutChanField;
00577
00578
00579 TGPopupMenu *fMenuCorss;
00580 TGMenuBar *fMenuBarCorss;
00581 Int_t fMenuCorssColzC, fMenuCorssBoxC, fMenuCorssTextC;
00582 Int_t fMenuCorssContzC, fMenuCorssLegoC;
00583 Int_t fMenuCorssSurf1C, fMenuCorssSurf2C, fMenuCorssSurf3C, fMenuCorssSurf4C;
00584 Int_t fMenuCorssAsciiFileC;
00585
00586 TGPopupMenu *fMenuCovss;
00587 TGMenuBar *fMenuBarCovss;
00588 Int_t fMenuCovssColzC, fMenuCovssBoxC, fMenuCovssTextC;
00589 Int_t fMenuCovssContzC, fMenuCovssLegoC;
00590 Int_t fMenuCovssSurf1C, fMenuCovssSurf2C, fMenuCovssSurf3C, fMenuCovssSurf4C;
00591 Int_t fMenuCovssAsciiFileC;
00592
00593 TGPopupMenu *fMenuD_MSp_Samp;
00594 TGMenuBar *fMenuBarD_MSp_Samp;
00595 Int_t fMenuD_MSp_SampLineFullC, fMenuD_MSp_SampLineSameC;
00596
00597 TGPopupMenu *fMenuD_SSp_Samp;
00598 TGMenuBar *fMenuBarD_SSp_Samp;
00599 Int_t fMenuD_SSp_SampLineFullC, fMenuD_SSp_SampLineSameC;
00600
00601 TGLayoutHints *fLayoutChSubFrame;
00602
00603
00604 TGCompositeFrame *fSpSubFrame;
00605
00606 TGCompositeFrame *fSampFrame;
00607 TGTextButton *fSampBut;
00608 TGLayoutHints *fLayoutSampBut;
00609 Int_t fSampButC;
00610 TGTextEntry *fSampText;
00611 TGTextBuffer *fEntrySampNumber;
00612 TGLayoutHints *fLayoutSampField;
00613
00614 TGLayoutHints *fLayoutSpSubFrame;
00615
00616
00617
00618
00619
00620 TGLayoutHints *fLayoutChSpFrame;
00621
00622
00623 TGPopupMenu *fMenuAdcProj;
00624 TGMenuBar *fMenuBarAdcProj;
00625 TGLayoutHints *fLayoutMenuBarAdcProj;
00626 Int_t fMenuAdcProjLineLinyFullC;
00627 Int_t fMenuAdcProjLineLinySameC;
00628
00629 Int_t fMenuAdcProjSampLineFullC;
00630 Int_t fMenuAdcProjSampLineSameC;
00631
00632
00633
00634
00635 TGCompositeFrame *fRulFrame;
00636 TGTextButton *fRulBut;
00637 TGLayoutHints *fLayoutRulBut;
00638 TGTextEntry *fRulText;
00639 TGTextBuffer *fEntryRulNumber;
00640 TGLayoutHints *fLayoutRulFieldText;
00641 TGLayoutHints *fLayoutRulFieldFrame;
00642
00643
00644 TGPopupMenu *fMenuHistory;
00645 TGMenuBar *fMenuBarHistory;
00646 Int_t fMenuH_Ped_DatePolmFullC, fMenuH_Ped_DatePolmSameC;
00647 Int_t fMenuH_TNo_DatePolmFullC, fMenuH_TNo_DatePolmSameC, fMenuH_TNo_DatePolmSamePC;
00648 Int_t fMenuH_LFN_DatePolmFullC, fMenuH_LFN_DatePolmSameC, fMenuH_LFN_DatePolmSamePC;
00649 Int_t fMenuH_HFN_DatePolmFullC, fMenuH_HFN_DatePolmSameC, fMenuH_HFN_DatePolmSamePC;
00650 Int_t fMenuH_MCs_DatePolmFullC, fMenuH_MCs_DatePolmSameC, fMenuH_MCs_DatePolmSamePC;
00651 Int_t fMenuH_SCs_DatePolmFullC, fMenuH_SCs_DatePolmSameC, fMenuH_SCs_DatePolmSamePC;
00652
00653
00654
00655
00656 TGCompositeFrame *fLinLogFrame;
00657
00658
00659 TGCheckButton *fButLogx;
00660 Int_t fButLogxC;
00661 TGLayoutHints *fLayoutLogxBut;
00662
00663 TGCheckButton *fButLogy;
00664 Int_t fButLogyC;
00665 TGLayoutHints *fLayoutLogyBut;
00666
00667
00668 TGCheckButton *fButProjy;
00669 Int_t fButProjyC;
00670 TGLayoutHints *fLayoutProjyBut;
00671
00672
00673 TGCompositeFrame *fGentFrame;
00674 TGTextButton *fGentBut;
00675 TGLayoutHints *fLayoutGentBut;
00676 TGTextEntry *fGentText;
00677 TGTextBuffer *fEntryGentNumber;
00678 TGLayoutHints *fLayoutGentFieldText;
00679 TGLayoutHints *fLayoutGentFieldFrame;
00680
00681
00682 TGCompositeFrame *fColorExitFrame;
00683 TGLayoutHints *fLayoutColorExitFrame;
00684
00685
00686 TGCheckButton *fButColPal;
00687 Int_t fButColPalC;
00688 TGLayoutHints *fLayoutColPalBut;
00689
00690 TGTextButton *fButExit;
00691 Int_t fButExitC;
00692 TGLayoutHints *fLayoutExitBut;
00693
00694
00695 TGCompositeFrame *fLastFrame;
00696
00697
00698 TGTextButton *fButClone;
00699 Int_t fButCloneC;
00700 TGLayoutHints *fLayoutCloneBut;
00701
00702 TGTextButton *fButRoot;
00703 Int_t fButRootC;
00704 TGLayoutHints *fLayoutRootBut;
00705
00706 TGTextButton *fButHelp;
00707 Int_t fButHelpC;
00708 TGLayoutHints *fLayoutHelpBut;
00709
00710
00711
00712
00713
00714 TString fKeyAnaType;
00715
00716 Int_t fKeyNbOfSamples;
00717 TString fKeyNbOfSamplesString;
00718 Int_t fKeyRunNumber;
00719 TString fKeyRunNumberString;
00720 Int_t fKeyFirstReqEvtNumber;
00721 TString fKeyFirstReqEvtNumberString;
00722 Int_t fKeyLastReqEvtNumber;
00723 TString fKeyLastReqEvtNumberString;
00724 Int_t fKeyReqNbOfEvts;
00725 TString fKeyReqNbOfEvtsString;
00726
00727 Int_t fKeyStexNumber;
00728 TString fKeyStexNumberString;
00729 Int_t fKeyNbOfSampForCalc;
00730 TString fKeyNbOfSampForCalcString;
00731
00732 TString fKeyFileNameRunList;
00733 TString fKeyRunListInitCode;
00734
00735
00736
00737 TString fPythonFileName;
00738
00739 TString fKeyScaleX;
00740 TString fKeyScaleY;
00741 TString fKeyProjY;
00742 TString fKeyColPal;
00743 TString fKeyGeneralTitle;
00744
00745
00746
00747 Int_t fKeyStinANumber;
00748 Int_t fKeyStinBNumber;
00749 Int_t fKeyChanNumber;
00750 Int_t fKeySampNumber;
00751
00752
00753
00754 Double_t fKeyVminD_NOE_ChNb;
00755 Double_t fKeyVmaxD_NOE_ChNb;
00756
00757 Double_t fKeyVminD_Ped_ChNb;
00758 Double_t fKeyVmaxD_Ped_ChNb;
00759
00760 Double_t fKeyVminD_TNo_ChNb;
00761 Double_t fKeyVmaxD_TNo_ChNb;
00762
00763 Double_t fKeyVminD_MCs_ChNb;
00764 Double_t fKeyVmaxD_MCs_ChNb;
00765
00766 Double_t fKeyVminD_LFN_ChNb;
00767 Double_t fKeyVmaxD_LFN_ChNb;
00768
00769 Double_t fKeyVminD_HFN_ChNb;
00770 Double_t fKeyVmaxD_HFN_ChNb;
00771
00772 Double_t fKeyVminD_SCs_ChNb;
00773 Double_t fKeyVmaxD_SCs_ChNb;
00774
00775 Double_t fKeyVminLFccMos;
00776 Double_t fKeyVmaxLFccMos;
00777 Double_t fKeyVminHFccMos;
00778 Double_t fKeyVmaxHFccMos;
00779
00780 Double_t fKeyVminLHFcc;
00781 Double_t fKeyVmaxLHFcc;
00782
00783
00784
00785 TString fMemoScaleX;
00786 TString fMemoScaleY;
00787 TString fMemoProjY;
00788
00789 TString fMemoColPal;
00790
00791 TString fOptPlotFull;
00792 TString fOptPlotSame;
00793 TString fOptPlotSameP;
00794 TString fOptAscii;
00795
00796
00797
00798 public:
00799 TEcnaGui(const TGWindow *, UInt_t, UInt_t, const TString);
00800 virtual ~TEcnaGui();
00801
00802 void InitKeys();
00803
00804 void DisplayInEntryField(TGTextEntry*, Int_t&);
00805 void DisplayInEntryField(TGTextEntry*, Double_t&);
00806 void DisplayInEntryField(TGTextEntry*, const TString);
00807
00808 void DoButtonAna();
00809
00810
00811 void DoButtonNors();
00812 void DoButtonRun();
00813
00814
00815 void DoButtonFev();
00816 void DoButtonLev();
00817 void DoButtonRev();
00818 void DoButtonStex();
00819 void DoButtonNbSampForCalc();
00820 void DoButtonStexNb();
00821
00822
00823 void DoButtonVminD_NOE_ChNb();
00824 void DoButtonVmaxD_NOE_ChNb();
00825
00826 void DoButtonVminD_Ped_ChNb();
00827 void DoButtonVmaxD_Ped_ChNb();
00828
00829 void DoButtonVminD_TNo_ChNb();
00830 void DoButtonVmaxD_TNo_ChNb();
00831
00832 void DoButtonVminD_LFN_ChNb();
00833 void DoButtonVmaxD_LFN_ChNb();
00834
00835 void DoButtonVminD_HFN_ChNb();
00836 void DoButtonVmaxD_HFN_ChNb();
00837
00838 void DoButtonVminD_MCs_ChNb();
00839 void DoButtonVmaxD_MCs_ChNb();
00840
00841 void DoButtonVminD_SCs_ChNb();
00842 void DoButtonVmaxD_SCs_ChNb();
00843
00844 void DoButtonVminLFccMos();
00845 void DoButtonVmaxLFccMos();
00846 void DoButtonVminHFccMos();
00847 void DoButtonVmaxHFccMos();
00848
00849 void DoButtonVminLHFcc();
00850 void DoButtonVmaxLHFcc();
00851
00852
00853
00854 void DoButtonStinA();
00855 void DoButtonStinB();
00856
00857 void DoButtonChNb();
00858 void DoButtonChan();
00859 void DoButtonSamp();
00860
00861 void DoButtonRul();
00862
00863 void DoButtonLogx();
00864 void DoButtonLogy();
00865 void DoButtonProjy();
00866
00867 void DoButtonGent();
00868
00869 void DoButtonColPal();
00870 void DoButtonExit();
00871
00872 void DoButtonClone();
00873 void DoButtonRoot();
00874 void DoButtonHelp();
00875
00876 void HandleMenu(Int_t);
00877
00878 void SubmitOnBatchSystem(const TString);
00879 void CleanBatchFiles(const TString);
00880 void Calculations(const TString);
00881
00882
00883
00884
00885
00886
00887 void ViewMatrixLowFrequencyMeanCorrelationsBetweenStins(const TString);
00888 void ViewMatrixHighFrequencyMeanCorrelationsBetweenStins(const TString);
00889
00890 void ViewMatrixLowFrequencyCorrelationsBetweenChannels(const Int_t&, const Int_t&, const TString);
00891 void ViewMatrixHighFrequencyCorrelationsBetweenChannels(const Int_t&, const Int_t&, const TString);
00892
00893 void ViewMatrixCorrelationSamples(const Int_t&, const Int_t&, const TString);
00894 void ViewMatrixCovarianceSamples(const Int_t&, const Int_t&, const TString);
00895
00896 void ViewSorSNumberOfEvents();
00897 void ViewSorSPedestals();
00898 void ViewSorSTotalNoise();
00899 void ViewSorSMeanOfCorss();
00900 void ViewSorSLowFrequencyNoise();
00901 void ViewSorSHighFrequencyNoise();
00902 void ViewSorSSigmaOfCorss();
00903
00904 void ViewStexLowFrequencyCorcc();
00905 void ViewStexHighFrequencyCorcc();
00906
00907 void ViewStinCorrelationSamples(const Int_t&);
00908 void ViewStinCovarianceSamples(const Int_t&);
00909 void ViewStinCrystalNumbering(const Int_t&);
00910 void ViewStexStinNumbering();
00911
00912 void ViewHistoSorSNumberOfEventsOfCrystals(const TString);
00913 void ViewHistoSorSNumberOfEventsDistribution(const TString);
00914 void ViewHistoSorSPedestalsOfCrystals(const TString);
00915 void ViewHistoSorSPedestalsDistribution(const TString);
00916 void ViewHistoSorSTotalNoiseOfCrystals(const TString);
00917 void ViewHistoSorSTotalNoiseDistribution(const TString);
00918 void ViewHistoSorSMeanOfCorssOfCrystals(const TString);
00919 void ViewHistoSorSMeanOfCorssDistribution(const TString);
00920 void ViewHistoSorSLowFrequencyNoiseOfCrystals(const TString);
00921 void ViewHistoSorSLowFrequencyNoiseDistribution(const TString);
00922 void ViewHistoSorSHighFrequencyNoiseOfCrystals(const TString);
00923 void ViewHistoSorSHighFrequencyNoiseDistribution(const TString);
00924 void ViewHistoSorSSigmaOfCorssOfCrystals(const TString);
00925 void ViewHistoSorSSigmaOfCorssDistribution(const TString);
00926
00927 void ViewHistoCrystalSampleMeans(const Int_t&, const Int_t&, const TString);
00928 void ViewHistoCrystalSigmasOfSamples(const Int_t&, const Int_t&, const TString);
00929 void ViewHistoCrystalSampleValues(const Int_t&, const Int_t&, const Int_t&, const TString);
00930
00931 void ViewHistoSampleEventDistribution(const Int_t&, const Int_t&, const Int_t&, const TString);
00932
00933 void ViewHistimeCrystalPedestals(const TString, const Int_t&, const Int_t&, const TString);
00934 void ViewHistimeCrystalTotalNoise(const TString, const Int_t&, const Int_t&, const TString);
00935 void ViewHistimeCrystalLowFrequencyNoise(const TString, const Int_t&, const Int_t&, const TString);
00936 void ViewHistimeCrystalHighFrequencyNoise(const TString, const Int_t&, const Int_t&, const TString);
00937 void ViewHistimeCrystalMeanOfCorss(const TString, const Int_t&, const Int_t&, const TString);
00938 void ViewHistimeCrystalSigmaOfCorss(const TString, const Int_t&, const Int_t&, const TString);
00939
00940 void ViewHistimeCrystalPedestalsRuns(const TString, const Int_t&, const Int_t&, const TString);
00941 void ViewHistimeCrystalTotalNoiseRuns(const TString, const Int_t&, const Int_t&, const TString);
00942 void ViewHistimeCrystalLowFrequencyNoiseRuns(const TString, const Int_t&, const Int_t&, const TString);
00943 void ViewHistimeCrystalHighFrequencyNoiseRuns(const TString, const Int_t&, const Int_t&, const TString);
00944 void ViewHistimeCrystalMeanOfCorssRuns(const TString, const Int_t&, const Int_t&, const TString);
00945 void ViewHistimeCrystalSigmaOfCorssRuns(const TString, const Int_t&, const Int_t&, const TString);
00946
00947 void MessageCnaCommandReplyA(const TString);
00948 void MessageCnaCommandReplyB(const TString);
00949
00950 ClassDef(TEcnaGui,1)
00951
00952 };
00953
00954 #endif // ZTR_TEcnaGui