186 |
|
|
187 |
|
// Get histos to be plotted |
188 |
|
TH1F * first_to_paint; |
189 |
< |
TH1F * first_to_paint_MB[4]; |
189 |
> |
//TH1F * first_to_paint_MB[4]; |
190 |
|
string SLname[3]={"Phi1","Theta","Phi2"}; |
191 |
|
|
192 |
< |
int nbin; |
193 |
< |
float max, max1; |
192 |
> |
//int nbin; |
193 |
> |
//float max, max1; |
194 |
|
|
195 |
|
TH2F *DigiXYS[5][14]; |
196 |
|
TH1F *DigiXSecMBSlLayer[5][14][4][3][4]; |
197 |
|
TH1F *TBoxSecMBSlLayer[5][14][4][3][4]; |
198 |
< |
TH1F *OccupMB[5][4]; |
198 |
> |
//TH1F *OccupMB[5][4]; |
199 |
|
TH1F *Correlated_trig_Bx[5][14][4][3]; |
200 |
|
TH1F *hTrg_effnum_SecMB[5][14][4]; |
201 |
|
TH1F *hTrg_effdenum_SecMB[5][14][4]; |
527 |
|
|
528 |
|
float Max=3000; |
529 |
|
float Max0[12]; |
530 |
< |
float MaxMean=0; |
530 |
> |
//float MaxMean=0; |
531 |
|
float MaxMean0=0; |
532 |
|
float MaxRMS0=0; |
533 |
< |
float MaxRMS=0; |
533 |
> |
//float MaxRMS=0; |
534 |
|
int Ns=0; |
535 |
|
for(int is=0;is<12; is++){ |
536 |
|
if(hDigiXYList[is] != NULL) |
587 |
|
|
588 |
|
// Ocupancies per SL |
589 |
|
// Get histos to be plotted |
590 |
< |
int nbin; |
591 |
< |
float max, max1; |
592 |
< |
char sid1[50]; |
590 |
> |
//int nbin; |
591 |
> |
//float max, max1; |
592 |
> |
//char sid1[50]; |
593 |
|
|
594 |
|
// Occupancies |
595 |
|
TH2F *DigiXYS[5][14]; |
620 |
|
if(DigiXYS[iw][isec-1] != NULL) |
621 |
|
{ |
622 |
|
int nbx= DigiXYS[iw][isec-1]->GetNbinsX() ; |
623 |
< |
int nby= DigiXYS[iw][isec-1]->GetNbinsY() ; |
623 |
> |
//int nby= DigiXYS[iw][isec-1]->GetNbinsY() ; |
624 |
|
|
625 |
|
for(int ich=1;ich<5;ich++){ |
626 |
|
for(int isl=1;isl<4;isl++){ |
686 |
|
DigiXSecMBSlLayer[iw][isec-1][ich-1][isl-1][il-1]->Draw("same"); |
687 |
|
} |
688 |
|
|
689 |
< |
if(ich==4 & isl !=2) |
689 |
> |
if(ich==4 && isl !=2) |
690 |
|
{ |
691 |
|
if(isec ==4 || isec ==10) |
692 |
|
{ |
769 |
|
first_to_paint->GetXaxis()->SetTitleSize(0.09); |
770 |
|
first_to_paint->GetXaxis()->SetTitleOffset(0.5); |
771 |
|
first_to_paint->GetXaxis()->SetNdivisions(308); |
772 |
< |
char htit[240]; |
772 |
> |
//char htit[240]; |
773 |
|
stringstream htitle; htitle << "TimeBox W" << iw-2 << " S" << ins << " MB"<< ic; |
774 |
|
first_to_paint->SetTitle(htitle.str().c_str()); |
775 |
|
first_to_paint->Draw(); |
933 |
|
// STA Phi Hits |
934 |
|
TCanvas *DQM6 = new TCanvas("DQM6", "",301,81,999,699); // open a large canvas |
935 |
|
TH1F *hnHitDT= getHisto<TH1F>("hnHitDT"); |
936 |
< |
int hh=0; |
936 |
> |
//int hh=0; |
937 |
|
if(hnHitDT != NULL) |
938 |
|
{ |
939 |
|
Float_t Nevents = hnHitDT->GetEntries(); |