File indexing completed on 2024-04-06 11:57:36
0001 #ifndef ZTR_TEcnaHistos
0002 #define ZTR_TEcnaHistos
0003
0004 #include "TObject.h"
0005 #include <TQObject.h>
0006 #include <RQ_OBJECT.h>
0007
0008 #include <iostream>
0009 #include "TSystem.h"
0010 #include <ctime>
0011 #include "TString.h"
0012
0013 #include "TROOT.h"
0014 #include "TStyle.h"
0015 #include "TGraph.h"
0016 #include "TCanvas.h"
0017 #include "TVectorD.h"
0018 #include "TH1.h"
0019 #include "TH2D.h"
0020 #include "TF1.h"
0021 #include "TPaveText.h"
0022 #include "TColor.h"
0023 #include "TGaxis.h"
0024
0025 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaObject.h"
0026 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaRead.h"
0027 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaWrite.h"
0028 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParPaths.h"
0029 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParCout.h"
0030 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParHistos.h"
0031 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaParEcal.h"
0032 #include "CalibCalorimetry/EcalCorrelatedNoiseAnalysisAlgos/interface/TEcnaNumbering.h"
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134
0135
0136
0137
0138
0139
0140
0141
0142
0143
0144
0145
0146
0147
0148
0149
0150
0151
0152
0153
0154
0155
0156
0157
0158
0159
0160
0161
0162
0163
0164
0165
0166
0167
0168
0169
0170
0171
0172
0173
0174
0175
0176
0177
0178
0179
0180
0181
0182
0183
0184
0185
0186
0187
0188
0189
0190
0191
0192
0193
0194
0195
0196
0197
0198
0199
0200
0201
0202
0203
0204
0205
0206
0207
0208
0209
0210
0211
0212
0213
0214
0215
0216
0217
0218
0219
0220
0221
0222
0223
0224
0225
0226
0227
0228
0229
0230
0231
0232
0233
0234
0235
0236
0237
0238
0239
0240
0241
0242
0243
0244
0245
0246
0247
0248
0249
0250
0251
0252
0253
0254
0255
0256
0257
0258
0259
0260
0261
0262
0263
0264
0265
0266
0267
0268
0269
0270
0271
0272
0273
0274
0275
0276
0277
0278
0279
0280
0281
0282
0283
0284
0285
0286
0287
0288
0289
0290
0291
0292
0293
0294
0295
0296
0297
0298
0299
0300
0301
0302
0303
0304
0305
0306
0307
0308
0309
0310
0311
0312
0313
0314
0315
0316
0317
0318
0319
0320
0321
0322
0323
0324
0325
0326
0327
0328
0329
0330
0331
0332
0333
0334
0335
0336
0337
0338
0339
0340
0341
0342
0343 class TEcnaHistos : public TObject {
0344 RQ_OBJECT("TEcnaHistos")
0345
0346 private:
0347
0348
0349 constexpr static int charArrLen = 512;
0350 Int_t fZerv;
0351 Int_t fUnev;
0352
0353 Int_t fCnaCommand, fCnaError;
0354 Int_t fCnew, fCdelete;
0355 Int_t fCnewRoot, fCdeleteRoot;
0356
0357 TString fTTBELL;
0358
0359
0360 TString fFlagSubDet;
0361 TString fCodeEB;
0362 TString fCodeEE;
0363
0364
0365 TEcnaParHistos* fCnaParHistos;
0366 TEcnaParPaths* fCnaParPaths;
0367 TEcnaParCout* fCnaParCout;
0368 TEcnaWrite* fCnaWrite;
0369 TEcnaParEcal* fEcal;
0370 TEcnaNumbering* fEcalNumbering;
0371 TEcnaHeader* fFileHeader;
0372
0373 TEcnaRead* fMyRootFile;
0374 Int_t fAlreadyRead;
0375 Int_t fMemoAlreadyRead;
0376 Int_t fTobeRead;
0377 TVectorD fReadHistoDummy;
0378 TMatrixD fReadMatrixDummy;
0379
0380 std::ifstream fFcin_f;
0381
0382 TString fFapAnaType;
0383 Int_t fFapNbOfSamples;
0384 Int_t fFapRunNumber;
0385 Int_t fFapFirstReqEvtNumber;
0386 Int_t fFapLastReqEvtNumber;
0387 Int_t fFapReqNbOfEvts;
0388 Int_t fFapStexNumber;
0389
0390 Int_t fFapNbOfEvts;
0391
0392 Int_t fFapMaxNbOfRuns;
0393 Int_t fFapNbOfRuns;
0394 TString fFapFileRuns;
0395
0396 Int_t fStartEvolRun, fStopEvolRun;
0397 Int_t fNbOfExistingRuns;
0398
0399 time_t fStartEvolTime, fStopEvolTime;
0400 TString fStartEvolDate, fStopEvolDate;
0401
0402 TString fFapStexBarrel;
0403 TString fFapStexType;
0404 TString fFapStexDir;
0405 TString fFapStinQuadType;
0406
0407 TString fFapStexName;
0408 TString fFapStinName;
0409 TString fFapXtalName;
0410 TString fFapEchaName;
0411
0412 TString fMyRootFileName;
0413
0414 TString fCfgResultsRootFilePath;
0415 TString fCfgHistoryRunListFilePath;
0416
0417 TString fAsciiFileName;
0418
0419 Bool_t fStatusFileFound;
0420 Bool_t fStatusDataExist;
0421
0422 time_t fStartTime, fStopTime;
0423 TString fStartDate, fStopDate;
0424 TString fRunType;
0425
0426 TString* fT1DAnaType;
0427 Int_t* fT1DRunNumber;
0428
0429 TString* fT1DResultsRootFilePath;
0430 TString* fT1DHistoryRunListFilePath;
0431
0432 Int_t fStinSizeInCrystals;
0433
0434 TString fFlagScaleX;
0435 TString fFlagScaleY;
0436 TString fFlagColPal;
0437 TString fFlagGeneralTitle;
0438
0439 Double_t fUserHistoMin, fUserHistoMax;
0440 TString fFlagUserHistoMin, fFlagUserHistoMax;
0441
0442 Int_t fOptVisLego, fOptVisColz, fOptVisSurf1, fOptVisSurf4;
0443 Int_t fOptVisLine, fOptVisPolm;
0444
0445 Int_t fOptScaleLinx, fOptScaleLogx, fOptScaleLiny, fOptScaleLogy;
0446
0447 TString fCovarianceMatrix, fCorrelationMatrix;
0448
0449 TString fBetweenSamples;
0450 TString fLFBetweenChannels, fHFBetweenChannels;
0451 TString fLFBetweenStins, fHFBetweenStins;
0452
0453 Int_t fTextPaveAlign;
0454 Int_t fTextPaveFont;
0455 Float_t fTextPaveSize;
0456 Int_t fTextBorderSize;
0457
0458 Double_t fXinf, fXsup, fYinf, fYsup;
0459
0460 Double_t fXinfProj, fXsupProj;
0461
0462
0463 Axis_t fH1SameOnePlotXinf;
0464 Axis_t fH1SameOnePlotXsup;
0465
0466 Axis_t fD_NOE_ChNbXinf;
0467 Axis_t fD_NOE_ChNbXsup;
0468 Axis_t fD_NOE_ChDsXinf;
0469 Axis_t fD_NOE_ChDsXsup;
0470 Axis_t fD_Ped_ChNbXinf;
0471 Axis_t fD_Ped_ChNbXsup;
0472 Axis_t fD_Ped_ChDsXinf;
0473 Axis_t fD_Ped_ChDsXsup;
0474 Axis_t fD_TNo_ChNbXinf;
0475 Axis_t fD_TNo_ChNbXsup;
0476 Axis_t fD_TNo_ChDsXinf;
0477 Axis_t fD_TNo_ChDsXsup;
0478 Axis_t fD_MCs_ChNbXinf;
0479 Axis_t fD_MCs_ChNbXsup;
0480 Axis_t fD_MCs_ChDsXinf;
0481 Axis_t fD_MCs_ChDsXsup;
0482 Axis_t fD_LFN_ChNbXinf;
0483 Axis_t fD_LFN_ChNbXsup;
0484 Axis_t fD_LFN_ChDsXinf;
0485 Axis_t fD_LFN_ChDsXsup;
0486 Axis_t fD_HFN_ChNbXinf;
0487 Axis_t fD_HFN_ChNbXsup;
0488 Axis_t fD_HFN_ChDsXinf;
0489 Axis_t fD_HFN_ChDsXsup;
0490 Axis_t fD_SCs_ChNbXinf;
0491 Axis_t fD_SCs_ChNbXsup;
0492 Axis_t fD_SCs_ChDsXinf;
0493 Axis_t fD_SCs_ChDsXsup;
0494
0495 Axis_t fD_MSp_SpNbXinf;
0496 Axis_t fD_MSp_SpNbXsup;
0497 Axis_t fD_MSp_SpDsXinf;
0498 Axis_t fD_MSp_SpDsXsup;
0499 Axis_t fD_SSp_SpNbXinf;
0500 Axis_t fD_SSp_SpNbXsup;
0501 Axis_t fD_SSp_SpDsXinf;
0502 Axis_t fD_SSp_SpDsXsup;
0503 Axis_t fD_Adc_EvDsXinf;
0504 Axis_t fD_Adc_EvDsXsup;
0505 Axis_t fD_Adc_EvNbXinf;
0506 Axis_t fD_Adc_EvNbXsup;
0507 Axis_t fH_Ped_DateXinf;
0508 Axis_t fH_Ped_DateXsup;
0509 Axis_t fH_TNo_DateXinf;
0510 Axis_t fH_TNo_DateXsup;
0511 Axis_t fH_MCs_DateXinf;
0512 Axis_t fH_MCs_DateXsup;
0513 Axis_t fH_LFN_DateXinf;
0514 Axis_t fH_LFN_DateXsup;
0515 Axis_t fH_HFN_DateXinf;
0516 Axis_t fH_HFN_DateXsup;
0517 Axis_t fH_SCs_DateXinf;
0518 Axis_t fH_SCs_DateXsup;
0519
0520 Axis_t fH_Ped_RuDsXinf;
0521 Axis_t fH_Ped_RuDsXsup;
0522 Axis_t fH_TNo_RuDsXinf;
0523 Axis_t fH_TNo_RuDsXsup;
0524 Axis_t fH_MCs_RuDsXinf;
0525 Axis_t fH_MCs_RuDsXsup;
0526 Axis_t fH_LFN_RuDsXinf;
0527 Axis_t fH_LFN_RuDsXsup;
0528 Axis_t fH_HFN_RuDsXinf;
0529 Axis_t fH_HFN_RuDsXsup;
0530 Axis_t fH_SCs_RuDsXinf;
0531 Axis_t fH_SCs_RuDsXsup;
0532
0533
0534
0535 TString fHistoCodeFirst;
0536 Double_t fD_NOE_ChNbYmin;
0537 Double_t fD_NOE_ChNbYmax;
0538 Double_t fD_NOE_ChDsYmin;
0539 Double_t fD_NOE_ChDsYmax;
0540 Double_t fD_Ped_ChNbYmin;
0541 Double_t fD_Ped_ChNbYmax;
0542 Double_t fD_Ped_ChDsYmin;
0543 Double_t fD_Ped_ChDsYmax;
0544 Double_t fD_TNo_ChNbYmin;
0545 Double_t fD_TNo_ChNbYmax;
0546 Double_t fD_TNo_ChDsYmin;
0547 Double_t fD_TNo_ChDsYmax;
0548 Double_t fD_MCs_ChNbYmin;
0549 Double_t fD_MCs_ChNbYmax;
0550 Double_t fD_MCs_ChDsYmin;
0551 Double_t fD_MCs_ChDsYmax;
0552 Double_t fD_LFN_ChNbYmin;
0553 Double_t fD_LFN_ChNbYmax;
0554 Double_t fD_LFN_ChDsYmin;
0555 Double_t fD_LFN_ChDsYmax;
0556 Double_t fD_HFN_ChNbYmin;
0557 Double_t fD_HFN_ChNbYmax;
0558 Double_t fD_HFN_ChDsYmin;
0559 Double_t fD_HFN_ChDsYmax;
0560 Double_t fD_SCs_ChNbYmin;
0561 Double_t fD_SCs_ChNbYmax;
0562 Double_t fD_SCs_ChDsYmin;
0563 Double_t fD_SCs_ChDsYmax;
0564
0565 Double_t fD_MSp_SpNbYmin;
0566 Double_t fD_MSp_SpNbYmax;
0567 Double_t fD_MSp_SpDsYmin;
0568 Double_t fD_MSp_SpDsYmax;
0569 Double_t fD_SSp_SpNbYmin;
0570 Double_t fD_SSp_SpNbYmax;
0571 Double_t fD_SSp_SpDsYmin;
0572 Double_t fD_SSp_SpDsYmax;
0573 Double_t fD_Adc_EvDsYmin;
0574 Double_t fD_Adc_EvDsYmax;
0575 Double_t fD_Adc_EvNbYmin;
0576 Double_t fD_Adc_EvNbYmax;
0577 Double_t fH_Ped_DateYmin;
0578 Double_t fH_Ped_DateYmax;
0579 Double_t fH_TNo_DateYmin;
0580 Double_t fH_TNo_DateYmax;
0581 Double_t fH_MCs_DateYmin;
0582 Double_t fH_MCs_DateYmax;
0583 Double_t fH_LFN_DateYmin;
0584 Double_t fH_LFN_DateYmax;
0585 Double_t fH_HFN_DateYmin;
0586 Double_t fH_HFN_DateYmax;
0587 Double_t fH_SCs_DateYmin;
0588 Double_t fH_SCs_DateYmax;
0589
0590 Double_t fH_Ped_RuDsYmin;
0591 Double_t fH_Ped_RuDsYmax;
0592 Double_t fH_TNo_RuDsYmin;
0593 Double_t fH_TNo_RuDsYmax;
0594 Double_t fH_MCs_RuDsYmin;
0595 Double_t fH_MCs_RuDsYmax;
0596 Double_t fH_LFN_RuDsYmin;
0597 Double_t fH_LFN_RuDsYmax;
0598 Double_t fH_HFN_RuDsYmin;
0599 Double_t fH_HFN_RuDsYmax;
0600 Double_t fH_SCs_RuDsYmin;
0601 Double_t fH_SCs_RuDsYmax;
0602
0603 Double_t fH2LFccMosMatrixYmin;
0604 Double_t fH2LFccMosMatrixYmax;
0605 Double_t fH2HFccMosMatrixYmin;
0606 Double_t fH2HFccMosMatrixYmax;
0607 Double_t fH2CorccInStinsYmin;
0608 Double_t fH2CorccInStinsYmax;
0609
0610
0611 TPaveText* fPavComGeneralTitle;
0612 TPaveText* fPavComStas;
0613 TPaveText* fPavComStex;
0614 TPaveText* fPavComStin;
0615 TPaveText* fPavComXtal;
0616 TPaveText* fPavComAnaRun;
0617 TPaveText* fPavComNbOfEvts;
0618 TPaveText* fPavComSeveralChanging;
0619 TPaveText* fPavComLVRB;
0620 TPaveText* fPavComCxyz;
0621 TPaveText* fPavComEvolRuns;
0622 TPaveText* fPavComEvolNbOfEvtsAna;
0623
0624 TString fOnlyOnePlot;
0625 TString fSeveralPlot;
0626 TString fSameOnePlot;
0627 TString fAllXtalsInStinPlot;
0628 Int_t fPlotAllXtalsInStin;
0629
0630 Int_t fMemoPlotH1SamePlus;
0631 Int_t fMemoPlotD_NOE_ChNb, fMemoPlotD_NOE_ChDs;
0632 Int_t fMemoPlotD_Ped_ChNb, fMemoPlotD_Ped_ChDs;
0633 Int_t fMemoPlotD_TNo_ChNb, fMemoPlotD_TNo_ChDs;
0634 Int_t fMemoPlotD_MCs_ChNb, fMemoPlotD_MCs_ChDs;
0635 Int_t fMemoPlotD_LFN_ChNb, fMemoPlotD_LFN_ChDs;
0636 Int_t fMemoPlotD_HFN_ChNb, fMemoPlotD_HFN_ChDs;
0637 Int_t fMemoPlotD_SCs_ChNb, fMemoPlotD_SCs_ChDs;
0638 Int_t fMemoPlotD_MSp_SpNb, fMemoPlotD_SSp_SpNb;
0639 Int_t fMemoPlotD_MSp_SpDs, fMemoPlotD_SSp_SpDs;
0640 Int_t fMemoPlotD_Adc_EvNb, fMemoPlotD_Adc_EvDs;
0641 Int_t fMemoPlotH_Ped_Date, fMemoPlotH_Ped_RuDs;
0642 Int_t fMemoPlotH_TNo_Date, fMemoPlotH_TNo_RuDs;
0643 Int_t fMemoPlotH_LFN_Date, fMemoPlotH_LFN_RuDs;
0644 Int_t fMemoPlotH_HFN_Date, fMemoPlotH_HFN_RuDs;
0645 Int_t fMemoPlotH_MCs_Date, fMemoPlotH_MCs_RuDs;
0646 Int_t fMemoPlotH_SCs_Date, fMemoPlotH_SCs_RuDs;
0647
0648 Int_t fMemoColorH1SamePlus;
0649 Int_t fMemoColorD_NOE_ChNb, fMemoColorD_NOE_ChDs;
0650 Int_t fMemoColorD_Ped_ChNb, fMemoColorD_Ped_ChDs;
0651 Int_t fMemoColorD_TNo_ChNb, fMemoColorD_TNo_ChDs;
0652 Int_t fMemoColorD_MCs_ChNb, fMemoColorD_MCs_ChDs;
0653 Int_t fMemoColorD_LFN_ChNb, fMemoColorD_LFN_ChDs;
0654 Int_t fMemoColorD_HFN_ChNb, fMemoColorD_HFN_ChDs;
0655 Int_t fMemoColorD_SCs_ChNb, fMemoColorD_SCs_ChDs;
0656 Int_t fMemoColorD_MSp_SpNb, fMemoColorD_SSp_SpNb;
0657 Int_t fMemoColorD_MSp_SpDs, fMemoColorD_SSp_SpDs;
0658 Int_t fMemoColorD_Adc_EvNb, fMemoColorD_Adc_EvDs;
0659 Int_t fMemoColorH_Ped_Date, fMemoColorH_Ped_RuDs;
0660 Int_t fMemoColorH_TNo_Date, fMemoColorH_TNo_RuDs;
0661 Int_t fMemoColorH_LFN_Date, fMemoColorH_LFN_RuDs;
0662 Int_t fMemoColorH_HFN_Date, fMemoColorH_HFN_RuDs;
0663 Int_t fMemoColorH_MCs_Date, fMemoColorH_MCs_RuDs;
0664 Int_t fMemoColorH_SCs_Date, fMemoColorH_SCs_RuDs;
0665
0666 Int_t fNbBinsProj;
0667
0668 TString fXMemoH1SamePlus;
0669 TString fXMemoD_NOE_ChNb;
0670 TString fXMemoD_NOE_ChDs;
0671 TString fXMemoD_Ped_ChNb;
0672 TString fXMemoD_Ped_ChDs;
0673 TString fXMemoD_TNo_ChNb;
0674 TString fXMemoD_TNo_ChDs;
0675 TString fXMemoD_MCs_ChNb;
0676 TString fXMemoD_MCs_ChDs;
0677 TString fXMemoD_LFN_ChNb;
0678 TString fXMemoD_LFN_ChDs;
0679 TString fXMemoD_HFN_ChNb;
0680 TString fXMemoD_HFN_ChDs;
0681 TString fXMemoD_SCs_ChNb;
0682 TString fXMemoD_SCs_ChDs;
0683 TString fXMemoD_MSp_SpNb;
0684 TString fXMemoD_MSp_SpDs;
0685 TString fXMemoD_SSp_SpNb;
0686 TString fXMemoD_SSp_SpDs;
0687 TString fXMemoD_Adc_EvDs;
0688 TString fXMemoD_Adc_EvNb;
0689 TString fXMemoH_Ped_Date;
0690 TString fXMemoH_TNo_Date;
0691 TString fXMemoH_MCs_Date;
0692 TString fXMemoH_LFN_Date;
0693 TString fXMemoH_HFN_Date;
0694 TString fXMemoH_SCs_Date;
0695 TString fXMemoH_Ped_RuDs;
0696 TString fXMemoH_TNo_RuDs;
0697 TString fXMemoH_MCs_RuDs;
0698 TString fXMemoH_LFN_RuDs;
0699 TString fXMemoH_HFN_RuDs;
0700 TString fXMemoH_SCs_RuDs;
0701
0702 TString fYMemoH1SamePlus;
0703 TString fYMemoD_NOE_ChNb;
0704 TString fYMemoD_NOE_ChDs;
0705 TString fYMemoD_Ped_ChNb;
0706 TString fYMemoD_Ped_ChDs;
0707 TString fYMemoD_TNo_ChNb;
0708 TString fYMemoD_TNo_ChDs;
0709 TString fYMemoD_MCs_ChNb;
0710 TString fYMemoD_MCs_ChDs;
0711 TString fYMemoD_LFN_ChNb;
0712 TString fYMemoD_LFN_ChDs;
0713 TString fYMemoD_HFN_ChNb;
0714 TString fYMemoD_HFN_ChDs;
0715 TString fYMemoD_SCs_ChNb;
0716 TString fYMemoD_SCs_ChDs;
0717 TString fYMemoD_MSp_SpNb;
0718 TString fYMemoD_MSp_SpDs;
0719 TString fYMemoD_SSp_SpNb;
0720 TString fYMemoD_SSp_SpDs;
0721 TString fYMemoD_Adc_EvDs;
0722 TString fYMemoD_Adc_EvNb;
0723 TString fYMemoH_Ped_Date;
0724 TString fYMemoH_TNo_Date;
0725 TString fYMemoH_MCs_Date;
0726 TString fYMemoH_LFN_Date;
0727 TString fYMemoH_HFN_Date;
0728 TString fYMemoH_SCs_Date;
0729 TString fYMemoH_Ped_RuDs;
0730 TString fYMemoH_TNo_RuDs;
0731 TString fYMemoH_MCs_RuDs;
0732 TString fYMemoH_LFN_RuDs;
0733 TString fYMemoH_HFN_RuDs;
0734 TString fYMemoH_SCs_RuDs;
0735
0736 Int_t fNbBinsMemoH1SamePlus;
0737 Int_t fNbBinsMemoD_NOE_ChNb;
0738 Int_t fNbBinsMemoD_NOE_ChDs;
0739 Int_t fNbBinsMemoD_Ped_ChNb;
0740 Int_t fNbBinsMemoD_Ped_ChDs;
0741 Int_t fNbBinsMemoD_TNo_ChNb;
0742 Int_t fNbBinsMemoD_TNo_ChDs;
0743 Int_t fNbBinsMemoD_MCs_ChNb;
0744 Int_t fNbBinsMemoD_MCs_ChDs;
0745 Int_t fNbBinsMemoD_LFN_ChNb;
0746 Int_t fNbBinsMemoD_LFN_ChDs;
0747 Int_t fNbBinsMemoD_HFN_ChNb;
0748 Int_t fNbBinsMemoD_HFN_ChDs;
0749 Int_t fNbBinsMemoD_SCs_ChNb;
0750 Int_t fNbBinsMemoD_SCs_ChDs;
0751 Int_t fNbBinsMemoD_MSp_SpNb;
0752 Int_t fNbBinsMemoD_MSp_SpDs;
0753 Int_t fNbBinsMemoD_SSp_SpNb;
0754 Int_t fNbBinsMemoD_SSp_SpDs;
0755 Int_t fNbBinsMemoD_Adc_EvDs;
0756 Int_t fNbBinsMemoD_Adc_EvNb;
0757 Int_t fNbBinsMemoH_Ped_Date;
0758 Int_t fNbBinsMemoH_TNo_Date;
0759 Int_t fNbBinsMemoH_MCs_Date;
0760 Int_t fNbBinsMemoH_LFN_Date;
0761 Int_t fNbBinsMemoH_HFN_Date;
0762 Int_t fNbBinsMemoH_SCs_Date;
0763 Int_t fNbBinsMemoH_Ped_RuDs;
0764 Int_t fNbBinsMemoH_TNo_RuDs;
0765 Int_t fNbBinsMemoH_MCs_RuDs;
0766 Int_t fNbBinsMemoH_LFN_RuDs;
0767 Int_t fNbBinsMemoH_HFN_RuDs;
0768 Int_t fNbBinsMemoH_SCs_RuDs;
0769
0770 TString fCurrentCanvasName;
0771 TCanvas* fCurrentCanvas;
0772
0773 TCanvas* fCanvH1SamePlus;
0774 TCanvas* fCanvD_NOE_ChNb;
0775 TCanvas* fCanvD_NOE_ChDs;
0776 TCanvas* fCanvD_Ped_ChNb;
0777 TCanvas* fCanvD_Ped_ChDs;
0778 TCanvas* fCanvD_TNo_ChNb;
0779 TCanvas* fCanvD_TNo_ChDs;
0780 TCanvas* fCanvD_MCs_ChNb;
0781 TCanvas* fCanvD_MCs_ChDs;
0782 TCanvas* fCanvD_LFN_ChNb;
0783 TCanvas* fCanvD_LFN_ChDs;
0784 TCanvas* fCanvD_HFN_ChNb;
0785 TCanvas* fCanvD_HFN_ChDs;
0786 TCanvas* fCanvD_SCs_ChNb;
0787 TCanvas* fCanvD_SCs_ChDs;
0788 TCanvas* fCanvD_MSp_SpNb;
0789 TCanvas* fCanvD_MSp_SpDs;
0790 TCanvas* fCanvD_SSp_SpNb;
0791 TCanvas* fCanvD_SSp_SpDs;
0792 TCanvas* fCanvD_Adc_EvDs;
0793 TCanvas* fCanvD_Adc_EvNb;
0794 TCanvas* fCanvH_Ped_Date;
0795 TCanvas* fCanvH_TNo_Date;
0796 TCanvas* fCanvH_MCs_Date;
0797 TCanvas* fCanvH_LFN_Date;
0798 TCanvas* fCanvH_HFN_Date;
0799 TCanvas* fCanvH_SCs_Date;
0800 TCanvas* fCanvH_Ped_RuDs;
0801 TCanvas* fCanvH_TNo_RuDs;
0802 TCanvas* fCanvH_MCs_RuDs;
0803 TCanvas* fCanvH_LFN_RuDs;
0804 TCanvas* fCanvH_HFN_RuDs;
0805 TCanvas* fCanvH_SCs_RuDs;
0806
0807 Bool_t fClosedH1SamePlus;
0808 Bool_t fClosedD_NOE_ChNb;
0809 Bool_t fClosedD_NOE_ChDs;
0810 Bool_t fClosedD_Ped_ChNb;
0811 Bool_t fClosedD_Ped_ChDs;
0812 Bool_t fClosedD_TNo_ChNb;
0813 Bool_t fClosedD_TNo_ChDs;
0814 Bool_t fClosedD_MCs_ChNb;
0815 Bool_t fClosedD_MCs_ChDs;
0816 Bool_t fClosedD_LFN_ChNb;
0817 Bool_t fClosedD_LFN_ChDs;
0818 Bool_t fClosedD_HFN_ChNb;
0819 Bool_t fClosedD_HFN_ChDs;
0820 Bool_t fClosedD_SCs_ChNb;
0821 Bool_t fClosedD_SCs_ChDs;
0822 Bool_t fClosedD_MSp_SpNb;
0823 Bool_t fClosedD_MSp_SpDs;
0824 Bool_t fClosedD_SSp_SpNb;
0825 Bool_t fClosedD_SSp_SpDs;
0826 Bool_t fClosedD_Adc_EvNb;
0827 Bool_t fClosedD_Adc_EvDs;
0828 Bool_t fClosedH_Ped_Date;
0829 Bool_t fClosedH_TNo_Date;
0830 Bool_t fClosedH_MCs_Date;
0831 Bool_t fClosedH_LFN_Date;
0832 Bool_t fClosedH_HFN_Date;
0833 Bool_t fClosedH_SCs_Date;
0834 Bool_t fClosedH_Ped_RuDs;
0835 Bool_t fClosedH_TNo_RuDs;
0836 Bool_t fClosedH_MCs_RuDs;
0837 Bool_t fClosedH_LFN_RuDs;
0838 Bool_t fClosedH_HFN_RuDs;
0839 Bool_t fClosedH_SCs_RuDs;
0840
0841 TString fCurrentHistoCode;
0842 TString fCurrentOptPlot;
0843
0844 TVirtualPad* fCurrentPad;
0845
0846 TVirtualPad* fPadH1SamePlus;
0847 TVirtualPad* fPadD_NOE_ChNb;
0848 TVirtualPad* fPadD_NOE_ChDs;
0849 TVirtualPad* fPadD_Ped_ChNb;
0850 TVirtualPad* fPadD_Ped_ChDs;
0851 TVirtualPad* fPadD_TNo_ChNb;
0852 TVirtualPad* fPadD_TNo_ChDs;
0853 TVirtualPad* fPadD_MCs_ChNb;
0854 TVirtualPad* fPadD_MCs_ChDs;
0855 TVirtualPad* fPadD_LFN_ChNb;
0856 TVirtualPad* fPadD_LFN_ChDs;
0857 TVirtualPad* fPadD_HFN_ChNb;
0858 TVirtualPad* fPadD_HFN_ChDs;
0859 TVirtualPad* fPadD_SCs_ChNb;
0860 TVirtualPad* fPadD_SCs_ChDs;
0861 TVirtualPad* fPadD_MSp_SpNb;
0862 TVirtualPad* fPadD_MSp_SpDs;
0863 TVirtualPad* fPadD_SSp_SpNb;
0864 TVirtualPad* fPadD_SSp_SpDs;
0865 TVirtualPad* fPadD_Adc_EvDs;
0866 TVirtualPad* fPadD_Adc_EvNb;
0867 TVirtualPad* fPadH_Ped_Date;
0868 TVirtualPad* fPadH_TNo_Date;
0869 TVirtualPad* fPadH_MCs_Date;
0870 TVirtualPad* fPadH_LFN_Date;
0871 TVirtualPad* fPadH_HFN_Date;
0872 TVirtualPad* fPadH_SCs_Date;
0873 TVirtualPad* fPadH_Ped_RuDs;
0874 TVirtualPad* fPadH_TNo_RuDs;
0875 TVirtualPad* fPadH_MCs_RuDs;
0876 TVirtualPad* fPadH_LFN_RuDs;
0877 TVirtualPad* fPadH_HFN_RuDs;
0878 TVirtualPad* fPadH_SCs_RuDs;
0879
0880 TPaveText* fPavTxtH1SamePlus;
0881 TPaveText* fPavTxtD_NOE_ChNb;
0882 TPaveText* fPavTxtD_NOE_ChDs;
0883 TPaveText* fPavTxtD_Ped_ChNb;
0884 TPaveText* fPavTxtD_Ped_ChDs;
0885 TPaveText* fPavTxtD_TNo_ChNb;
0886 TPaveText* fPavTxtD_TNo_ChDs;
0887 TPaveText* fPavTxtD_MCs_ChNb;
0888 TPaveText* fPavTxtD_MCs_ChDs;
0889 TPaveText* fPavTxtD_LFN_ChNb;
0890 TPaveText* fPavTxtD_LFN_ChDs;
0891 TPaveText* fPavTxtD_HFN_ChNb;
0892 TPaveText* fPavTxtD_HFN_ChDs;
0893 TPaveText* fPavTxtD_SCs_ChNb;
0894 TPaveText* fPavTxtD_SCs_ChDs;
0895 TPaveText* fPavTxtD_MSp_SpNb;
0896 TPaveText* fPavTxtD_MSp_SpDs;
0897 TPaveText* fPavTxtD_SSp_SpNb;
0898 TPaveText* fPavTxtD_SSp_SpDs;
0899 TPaveText* fPavTxtD_Adc_EvDs;
0900 TPaveText* fPavTxtD_Adc_EvNb;
0901 TPaveText* fPavTxtH_Ped_Date;
0902 TPaveText* fPavTxtH_TNo_Date;
0903 TPaveText* fPavTxtH_MCs_Date;
0904 TPaveText* fPavTxtH_LFN_Date;
0905 TPaveText* fPavTxtH_HFN_Date;
0906 TPaveText* fPavTxtH_SCs_Date;
0907 TPaveText* fPavTxtH_Ped_RuDs;
0908 TPaveText* fPavTxtH_TNo_RuDs;
0909 TPaveText* fPavTxtH_MCs_RuDs;
0910 TPaveText* fPavTxtH_LFN_RuDs;
0911 TPaveText* fPavTxtH_HFN_RuDs;
0912 TPaveText* fPavTxtH_SCs_RuDs;
0913
0914 TCanvasImp* fImpH1SamePlus;
0915 TCanvasImp* fImpD_NOE_ChNb;
0916 TCanvasImp* fImpD_NOE_ChDs;
0917 TCanvasImp* fImpD_Ped_ChNb;
0918 TCanvasImp* fImpD_Ped_ChDs;
0919 TCanvasImp* fImpD_TNo_ChNb;
0920 TCanvasImp* fImpD_TNo_ChDs;
0921 TCanvasImp* fImpD_MCs_ChNb;
0922 TCanvasImp* fImpD_MCs_ChDs;
0923 TCanvasImp* fImpD_LFN_ChNb;
0924 TCanvasImp* fImpD_LFN_ChDs;
0925 TCanvasImp* fImpD_HFN_ChNb;
0926 TCanvasImp* fImpD_HFN_ChDs;
0927 TCanvasImp* fImpD_SCs_ChNb;
0928 TCanvasImp* fImpD_SCs_ChDs;
0929 TCanvasImp* fImpD_MSp_SpNb;
0930 TCanvasImp* fImpD_MSp_SpDs;
0931 TCanvasImp* fImpD_SSp_SpNb;
0932 TCanvasImp* fImpD_SSp_SpDs;
0933 TCanvasImp* fImpD_Adc_EvDs;
0934 TCanvasImp* fImpD_Adc_EvNb;
0935 TCanvasImp* fImpH_Ped_Date;
0936 TCanvasImp* fImpH_TNo_Date;
0937 TCanvasImp* fImpH_MCs_Date;
0938 TCanvasImp* fImpH_LFN_Date;
0939 TCanvasImp* fImpH_HFN_Date;
0940 TCanvasImp* fImpH_SCs_Date;
0941 TCanvasImp* fImpH_Ped_RuDs;
0942 TCanvasImp* fImpH_TNo_RuDs;
0943 TCanvasImp* fImpH_MCs_RuDs;
0944 TCanvasImp* fImpH_LFN_RuDs;
0945 TCanvasImp* fImpH_HFN_RuDs;
0946 TCanvasImp* fImpH_SCs_RuDs;
0947
0948 Int_t fCanvSameH1SamePlus;
0949 Int_t fCanvSameD_NOE_ChNb, fCanvSameD_NOE_ChDs;
0950 Int_t fCanvSameD_Ped_ChNb, fCanvSameD_Ped_ChDs;
0951 Int_t fCanvSameD_TNo_ChNb, fCanvSameD_TNo_ChDs;
0952 Int_t fCanvSameD_MCs_ChNb, fCanvSameD_MCs_ChDs;
0953 Int_t fCanvSameD_LFN_ChNb, fCanvSameD_LFN_ChDs;
0954 Int_t fCanvSameD_HFN_ChNb, fCanvSameD_HFN_ChDs;
0955 Int_t fCanvSameD_SCs_ChNb, fCanvSameD_SCs_ChDs;
0956 Int_t fCanvSameD_MSp_SpNb, fCanvSameD_SSp_SpNb;
0957 Int_t fCanvSameD_MSp_SpDs, fCanvSameD_SSp_SpDs;
0958 Int_t fCanvSameD_Adc_EvDs, fCanvSameD_Adc_EvNb;
0959 Int_t fCanvSameH_Ped_Date, fCanvSameH_Ped_RuDs;
0960 Int_t fCanvSameH_TNo_Date, fCanvSameH_TNo_RuDs;
0961 Int_t fCanvSameH_LFN_Date, fCanvSameH_LFN_RuDs;
0962 Int_t fCanvSameH_HFN_Date, fCanvSameH_HFN_RuDs;
0963 Int_t fCanvSameH_MCs_Date, fCanvSameH_MCs_RuDs;
0964 Int_t fCanvSameH_SCs_Date, fCanvSameH_SCs_RuDs;
0965
0966 Int_t fNbOfListFileH_Ped_Date, fNbOfListFileH_TNo_Date, fNbOfListFileH_MCs_Date;
0967 Int_t fNbOfListFileH_LFN_Date, fNbOfListFileH_HFN_Date, fNbOfListFileH_SCs_Date;
0968 Int_t fNbOfListFileH_Ped_RuDs, fNbOfListFileH_TNo_RuDs, fNbOfListFileH_MCs_RuDs;
0969 Int_t fNbOfListFileH_LFN_RuDs, fNbOfListFileH_HFN_RuDs, fNbOfListFileH_SCs_RuDs;
0970
0971
0972
0973 public:
0974
0975 TEcnaHistos();
0976 TEcnaHistos(TEcnaObject*, const TString&);
0977
0978
0979
0980
0981
0982
0983
0984
0985
0986
0987
0988 ~TEcnaHistos() override;
0989
0990 void Init();
0991 void SetEcalSubDetector(const TString&);
0992
0993
0994
0995
0996
0997
0998
0999
1000
1001
1002
1003
1004
1005
1006
1007
1008 void FileParameters(
1009 const TString&, const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&);
1010
1011 void FileParameters(TEcnaRead*);
1012
1013
1014
1015
1016
1017
1018 void PlotMatrix(const TMatrixD&, const TString&, const TString&);
1019 void PlotMatrix(const TMatrixD&, const TString&, const TString&, const TString&);
1020
1021 void PlotMatrix(const TString&, const TString&);
1022 void PlotMatrix(const TString&, const TString&, const TString&);
1023
1024
1025 void PlotMatrix(const TMatrixD&, const TString&, const TString&, const Int_t&, const Int_t&);
1026 void PlotMatrix(const TMatrixD&, const TString&, const TString&, const Int_t&, const Int_t&, const TString&);
1027
1028 void PlotMatrix(const TString&, const TString&, const Int_t&, const Int_t&);
1029 void PlotMatrix(const TString&, const TString&, const Int_t&, const Int_t&, const TString&);
1030
1031
1032
1033
1034
1035 void PlotDetector(const TVectorD&, const TString&, const TString&);
1036 void PlotDetector(const TString&, const TString&);
1037
1038
1039
1040
1041
1042 void Plot1DHisto(const TVectorD&, const TString&, const TString&, const TString&);
1043 void Plot1DHisto(const TVectorD&, const TString&, const TString&, const TString&, const TString&);
1044
1045 void Plot1DHisto(const TString&, const TString&, const TString&);
1046 void Plot1DHisto(const TString&, const TString&, const TString&, const TString&);
1047
1048
1049
1050 void Plot1DHisto(const TVectorD&, const TString&, const TString&, const Int_t&);
1051 void Plot1DHisto(const TVectorD&, const TString&, const TString&, const Int_t&, const TString&);
1052
1053 void Plot1DHisto(const TVectorD&, const TString&, const TString&, const Int_t&, const Int_t&);
1054 void Plot1DHisto(const TVectorD&, const TString&, const TString&, const Int_t&, const Int_t&, const TString&);
1055
1056 void Plot1DHisto(const TString&, const TString&, const Int_t&, const Int_t&);
1057 void Plot1DHisto(const TString&, const TString&, const Int_t&, const Int_t&, const TString&);
1058
1059
1060 void Plot1DHisto(const TVectorD&, const TString&, const TString&, const Int_t&, const Int_t&, const Int_t&);
1061 void Plot1DHisto(
1062 const TVectorD&, const TString&, const TString&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1063
1064 void Plot1DHisto(const TString&, const TString&, const Int_t&, const Int_t&, const Int_t&);
1065 void Plot1DHisto(const TString&, const TString&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1066
1067
1068 void PlotHistory(const TString&, const TString&, const TString&, const Int_t&, const Int_t&);
1069 void PlotHistory(const TString&, const TString&, const TString&, const Int_t&, const Int_t&, const TString&);
1070
1071
1072
1073
1074
1075
1076 void SMTowerNumbering(const Int_t&);
1077 void DeeSCNumbering(const Int_t&);
1078
1079 void TowerCrystalNumbering(const Int_t&, const Int_t&);
1080 void SCCrystalNumbering(const Int_t&, const Int_t&);
1081
1082
1083
1084
1085
1086
1087 void XtalSamplesEv(const TVectorD&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1088 void EvSamplesXtals(const TVectorD&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1089 void XtalSamplesSigma(const TVectorD&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1090 void SigmaSamplesXtals(const TVectorD&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1091
1092 void XtalSamplesEv(const TVectorD&, const Int_t&, const Int_t&, const Int_t&);
1093 void EvSamplesXtals(const TVectorD&, const Int_t&, const Int_t&, const Int_t&);
1094 void XtalSamplesSigma(const TVectorD&, const Int_t&, const Int_t&, const Int_t&);
1095 void SigmaSamplesXtals(const TVectorD&, const Int_t&, const Int_t&, const Int_t&);
1096
1097
1098
1099 void GeneralTitle(const TString&);
1100
1101
1102 void SetHistoScaleX(const TString&);
1103 void SetHistoScaleY(const TString&);
1104 void SetHistoColorPalette(const TString&);
1105
1106
1107 void SetHistoMin(const Double_t&);
1108 void SetHistoMax(const Double_t&);
1109
1110 void SetHistoMin();
1111 void SetHistoMax();
1112
1113
1114 void StartStopDate(const TString&, const TString&);
1115
1116
1117 void RunType(const TString&);
1118
1119
1120 void NumberOfEvents(const Int_t&);
1121
1122
1123
1124 void SetRunNumberFromList(const Int_t&, const Int_t&);
1125 void InitSpecParBeforeFileReading();
1126
1127
1128 void CorrelationsBetweenSamples(const Int_t&);
1129 void CovariancesBetweenSamples(const Int_t&);
1130
1131
1132 void StexHocoVecoLHFCorcc(const TString&);
1133
1134 void StexStinNumbering(const Int_t&);
1135 void StinCrystalNumbering(const Int_t&, const Int_t&);
1136
1137 void ViewStas(const TVectorD&, const Int_t&, const TString&);
1138 void ViewStex(const TVectorD&, const Int_t&, const TString&);
1139 void ViewStin(const Int_t&, const TString&);
1140 void ViewMatrix(const TMatrixD&,
1141 const Int_t&,
1142 const Int_t&,
1143 const Int_t&,
1144 const Int_t&,
1145 const TString&,
1146 const TString&,
1147 const TString&);
1148 void ViewHisto(
1149 const TVectorD&, const Int_t&, const Int_t&, const Int_t&, const Int_t&, const TString&, const TString&);
1150
1151 Int_t GetDSOffset(const Int_t&, const Int_t&);
1152 Int_t GetSCOffset(const Int_t&, const Int_t&, const Int_t&);
1153
1154 void ViewHistime(const TString&, const Int_t&, const Int_t&, const TString&, const TString&);
1155
1156 Int_t GetHistoryRunListParameters(const TString&, const TString&);
1157
1158 void TopAxisForHistos(TH1D*, const TString&, const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&);
1159
1160
1161 void SetXinfMemoFromValue(const TString&, const Double_t&);
1162 void SetXsupMemoFromValue(const TString&, const Double_t&);
1163 void SetXinfMemoFromValue(const Double_t&);
1164 void SetXsupMemoFromValue(const Double_t&);
1165
1166 Double_t GetXinfValueFromMemo(const TString&);
1167 Double_t GetXsupValueFromMemo(const TString&);
1168 Double_t GetXinfValueFromMemo();
1169 Double_t GetXsupValueFromMemo();
1170
1171 Axis_t GetHistoXinf(const TString&, const Int_t&, const TString&);
1172 Axis_t GetHistoXsup(const TString&, const Int_t&, const TString&);
1173
1174 Int_t GetHistoNumberOfBins(const TString&, const Int_t&);
1175
1176
1177 void SetYminMemoFromValue(const TString&, const Double_t&);
1178 void SetYmaxMemoFromValue(const TString&, const Double_t&);
1179
1180 Double_t GetYminValueFromMemo(const TString&);
1181 Double_t GetYmaxValueFromMemo(const TString&);
1182
1183 void SetYminMemoFromPreviousMemo(const TString&);
1184 void SetYmaxMemoFromPreviousMemo(const TString&);
1185
1186 Int_t SetHistoFrameYminYmaxFromMemo(TH1D*, const TString&);
1187 Int_t SetGraphFrameYminYmaxFromMemo(TGraph*, const TString&);
1188
1189 Double_t GetYminFromHistoFrameAndMarginValue(TH1D*, const Double_t);
1190 Double_t GetYmaxFromHistoFrameAndMarginValue(TH1D*, const Double_t);
1191
1192 Double_t GetYminFromGraphFrameAndMarginValue(TGraph*, const Double_t);
1193 Double_t GetYmaxFromGraphFrameAndMarginValue(TGraph*, const Double_t);
1194
1195
1196 void SetAllYminYmaxMemoFromDefaultValues();
1197
1198
1199 void SetXVarMemo(const TString&, const TString&, const TString&);
1200 TString GetXVarFromMemo(const TString&, const TString&);
1201
1202 void SetYVarMemo(const TString&, const TString&, const TString&);
1203 TString GetYVarFromMemo(const TString&, const TString&);
1204
1205 void SetNbBinsMemo(const TString&, const TString&, const Int_t&);
1206 Int_t GetNbBinsFromMemo(const TString&, const TString&);
1207
1208
1209 void ViewStexStinNumberingPad(const Int_t&);
1210 void ViewSMTowerNumberingPad(const Int_t&);
1211 void ViewDeeSCNumberingPad(const Int_t&);
1212
1213 void ViewStinGrid(const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1214 void ViewTowerGrid(
1215 const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1216 void ViewSCGrid(const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1217
1218 void ViewStexGrid(const Int_t&, const TString&);
1219 void ViewSMGrid(const Int_t&, const TString&);
1220 void ViewDeeGrid(const Int_t&, const TString&);
1221
1222 void ViewStasGrid(const Int_t&);
1223 void ViewEBGrid();
1224 void ViewEEGrid(const Int_t&);
1225
1226 void EEDataSectors(const Float_t&, const Float_t&, const Int_t&, const TString&);
1227 void EEGridAxis(const Int_t&, const TString&, const TString&);
1228
1229 void SqrtContourLevels(const Int_t&, Double_t*);
1230
1231 TString StexNumberToString(const Int_t&);
1232
1233 void HistoPlot(TH1D*,
1234 const Int_t&,
1235 const Axis_t&,
1236 const Axis_t&,
1237 const TString&,
1238 const TString&,
1239 const Int_t&,
1240 const Int_t&,
1241 const Int_t&,
1242 const Int_t&,
1243 const Int_t&,
1244 const TString&,
1245 const Int_t&,
1246 const Int_t&);
1247
1248 Double_t NotConnectedSCH1DBin(const Int_t&);
1249 Int_t GetNotConnectedDSSCFromIndex(const Int_t&);
1250 Int_t GetNotConnectedSCForConsFromIndex(const Int_t&);
1251 Int_t ModifiedSCEchaForNotConnectedSCs(const Int_t&, const Int_t&, const Int_t&, const Int_t&, const Int_t&);
1252
1253 Double_t NotCompleteSCH1DBin(const Int_t&);
1254 Int_t GetNotCompleteDSSCFromIndex(const Int_t&);
1255 Int_t GetNotCompleteSCForConsFromIndex(const Int_t&);
1256
1257 void HistimePlot(TGraph*,
1258 Axis_t,
1259 Axis_t,
1260 const TString&,
1261 const TString&,
1262 const Int_t&,
1263 const Int_t&,
1264 const Int_t&,
1265 const Int_t&,
1266 const Int_t&,
1267 const TString&,
1268 const Int_t&);
1269
1270 void SetAllPavesViewMatrix(const TString&, const Int_t&, const Int_t&, const Int_t&);
1271 void SetAllPavesViewStin(const Int_t&);
1272 void SetAllPavesViewStex(const TString&, const Int_t&);
1273 void SetAllPavesViewStex(const Int_t&);
1274 void SetAllPavesViewStas();
1275 void SetAllPavesViewStinCrysNb(const Int_t&, const Int_t&);
1276 void SetAllPavesViewHisto(const TString&, const Int_t&, const Int_t&, const Int_t&, const TString&);
1277 void SetAllPavesViewHisto(const TString&, const Int_t&, const Int_t&, const Int_t&, const TString&, const Int_t&);
1278
1279 Int_t GetXSampInStin(const Int_t&, const Int_t&, const Int_t&, const Int_t&);
1280 Int_t GetYSampInStin(const Int_t&, const Int_t&, const Int_t&, const Int_t&);
1281
1282 Int_t GetXCrysInStex(const Int_t&, const Int_t&, const Int_t&);
1283 Int_t GetYCrysInStex(const Int_t&, const Int_t&, const Int_t&);
1284
1285 Int_t GetXStinInStas(const Int_t&, const Int_t&, const Int_t&);
1286 Int_t GetYStinInStas(const Int_t&, const Int_t&);
1287
1288 TString GetHocoVecoAxisTitle(const TString&);
1289 TString GetEtaPhiAxisTitle(const TString&);
1290 TString GetIXIYAxisTitle(const TString&);
1291
1292 Bool_t GetOkViewHisto(TEcnaRead*, const Int_t&, const Int_t&, const Int_t&, const TString&);
1293 Int_t GetHistoSize(const TString&, const TString&);
1294 TVectorD GetHistoValues(const TVectorD&,
1295 const Int_t&,
1296 TEcnaRead*,
1297 const TString&,
1298 const Int_t&,
1299 const Int_t&,
1300 const Int_t&,
1301 const Int_t&,
1302 const Int_t&,
1303 Int_t&);
1304
1305 TString SetHistoXAxisTitle(const TString&);
1306 TString SetHistoYAxisTitle(const TString&);
1307
1308 void FillHisto(TH1D*, const TVectorD&, const TString&, const Int_t&);
1309
1310 TString GetMemoFlag(const TString&);
1311 TString GetMemoFlag(const TString&, const TString&);
1312
1313 TCanvas* CreateCanvas(const TString&, const TString&, const TString&, UInt_t, UInt_t);
1314 TCanvas* GetCurrentCanvas(const TString&, const TString&);
1315 TCanvas* GetCurrentCanvas();
1316 TString GetCurrentCanvasName();
1317 void PlotCloneOfCurrentCanvas();
1318
1319 void SetParametersCanvas(const TString&, const TString&);
1320 void SetParametersPavTxt(const TString&, const TString&);
1321
1322 TVirtualPad* ActivePad(const TString&, const TString&);
1323 TPaveText* ActivePavTxt(const TString&, const TString&);
1324 void DoCanvasClosed();
1325
1326 void SetHistoPresentation(TH1D*, const TString&);
1327 void SetHistoPresentation(TH1D*, const TString&, const TString&);
1328 void SetGraphPresentation(TGraph*, const TString&, const TString&);
1329
1330 void SetViewHistoColors(TH1D*, const TString&, const TString&, const Int_t&);
1331 void SetViewGraphColors(TGraph*, const TString&, const TString&);
1332
1333 Color_t GetViewHistoColor(const TString&, const TString&);
1334
1335 Int_t GetListFileNumber(const TString&);
1336 void ReInitCanvas(const TString&, const TString&);
1337 void NewCanvas(const TString&);
1338
1339 TString SetCanvasName(const TString&,
1340 const Int_t&,
1341 const Int_t&,
1342 const TString&,
1343 const Int_t&,
1344 const Int_t&,
1345 const Int_t&,
1346 const Int_t&);
1347
1348 Color_t GetSCColor(const TString&, const TString&, const TString&);
1349
1350 void WriteMatrixAscii(const TString&, const TString&, const Int_t&, const Int_t&, const Int_t&, const TMatrixD&);
1351 void WriteHistoAscii(const TString&, const Int_t&, const TVectorD&);
1352
1353 TString AsciiFileName();
1354 Bool_t StatusFileFound();
1355 Bool_t StatusDataExist();
1356
1357 ClassDefOverride(TEcnaHistos, 1)
1358 };
1359
1360 #endif