{ TCanvas *cHDP2 = new TCanvas("cHDP2", "HDP2"); cHDP2->Divide(4, 4); cHDP2->cd( 1); hGet4DistDoubleHits_000->Draw("colz"); cHDP2->cd( 2); hGet4DistDoubleHits_001->Draw("colz"); cHDP2->cd( 3); hGet4DistDoubleHits_002->Draw("colz"); cHDP2->cd( 4); hGet4DistDoubleHits_003->Draw("colz"); cHDP2->cd( 5); hGet4DistDoubleHits_004->Draw("colz"); cHDP2->cd( 6); hGet4DistDoubleHits_005->Draw("colz"); cHDP2->cd( 7); hGet4DistDoubleHits_006->Draw("colz"); cHDP2->cd( 8); hGet4DistDoubleHits_007->Draw("colz"); cHDP2->cd( 9); hGet4DistDoubleHits_008->Draw("colz"); cHDP2->cd(10); hGet4DistDoubleHits_009->Draw("colz"); cHDP2->cd(11); hGet4DistDoubleHits_010->Draw("colz"); cHDP2->cd(12); hGet4DistDoubleHits_011->Draw("colz"); cHDP2->cd(13); hGet4DistDoubleHits_012->Draw("colz"); cHDP2->cd(14); hGet4DistDoubleHits_013->Draw("colz"); cHDP2->cd(15); hGet4DistDoubleHits_014->Draw("colz"); cHDP2->cd(16); hGet4DistDoubleHits_015->Draw("colz"); TCanvas *cTSUStrip = new TCanvas("cTSUStrip", "TSU Strip"); cTSUStrip->Divide(4, 4); cTSUStrip->cd( 1); hGet4DistDoubleHits_016->Draw("colz"); cTSUStrip->cd( 2); hGet4DistDoubleHits_017->Draw("colz"); cTSUStrip->cd( 3); hGet4DistDoubleHits_018->Draw("colz"); cTSUStrip->cd( 4); hGet4DistDoubleHits_019->Draw("colz"); cTSUStrip->cd( 5); hGet4DistDoubleHits_020->Draw("colz"); cTSUStrip->cd( 6); hGet4DistDoubleHits_021->Draw("colz"); cTSUStrip->cd( 7); hGet4DistDoubleHits_022->Draw("colz"); cTSUStrip->cd( 8); hGet4DistDoubleHits_023->Draw("colz"); cTSUStrip->cd( 9); hGet4DistDoubleHits_064->Draw("colz"); cTSUStrip->cd(10); hGet4DistDoubleHits_065->Draw("colz"); cTSUStrip->cd(11); hGet4DistDoubleHits_066->Draw("colz"); cTSUStrip->cd(12); hGet4DistDoubleHits_067->Draw("colz"); cTSUStrip->cd(13); hGet4DistDoubleHits_068->Draw("colz"); cTSUStrip->cd(14); hGet4DistDoubleHits_069->Draw("colz"); cTSUStrip->cd(15); hGet4DistDoubleHits_070->Draw("colz"); cTSUStrip->cd(16); hGet4DistDoubleHits_071->Draw("colz"); TCanvas *cHDP5 = new TCanvas("cHDP5", "HDP5"); cHDP5->Divide(4, 2); cHDP5->cd( 1); hGet4DistDoubleHits_072->Draw("colz"); cHDP5->cd( 2); hGet4DistDoubleHits_073->Draw("colz"); cHDP5->cd( 3); hGet4DistDoubleHits_074->Draw("colz"); cHDP5->cd( 4); hGet4DistDoubleHits_075->Draw("colz"); cHDP5->cd( 5); hGet4DistDoubleHits_076->Draw("colz"); cHDP5->cd( 6); hGet4DistDoubleHits_077->Draw("colz"); cHDP5->cd( 7); hGet4DistDoubleHits_078->Draw("colz"); cHDP5->cd( 8); hGet4DistDoubleHits_079->Draw("colz"); /* TCanvas *cUSTC = new TCanvas("cUSTC", "USTC"); cUSTC->Divide(4, 3); cUSTC->cd( 1); hGet4DistDoubleHits_080->Draw("colz"); cUSTC->cd( 2); hGet4DistDoubleHits_081->Draw("colz"); cUSTC->cd( 3); hGet4DistDoubleHits_082->Draw("colz"); cUSTC->cd( 4); hGet4DistDoubleHits_083->Draw("colz"); cUSTC->cd( 5); hGet4DistDoubleHits_084->Draw("colz"); cUSTC->cd( 6); hGet4DistDoubleHits_085->Draw("colz"); cUSTC->cd( 7); hGet4DistDoubleHits_086->Draw("colz"); cUSTC->cd( 8); hGet4DistDoubleHits_087->Draw("colz"); */ TCanvas *cHDP2_Third = new TCanvas("cHDP2_Third", "HDP2_Third"); cHDP2_Third->Divide(4, 4); cHDP2_Third->cd( 1); hGet4DistTripleHits_000->Draw("colz"); cHDP2_Third->cd( 2); hGet4DistTripleHits_001->Draw("colz"); cHDP2_Third->cd( 3); hGet4DistTripleHits_002->Draw("colz"); cHDP2_Third->cd( 4); hGet4DistTripleHits_003->Draw("colz"); cHDP2_Third->cd( 5); hGet4DistTripleHits_004->Draw("colz"); cHDP2_Third->cd( 6); hGet4DistTripleHits_005->Draw("colz"); cHDP2_Third->cd( 7); hGet4DistTripleHits_006->Draw("colz"); cHDP2_Third->cd( 8); hGet4DistTripleHits_007->Draw("colz"); cHDP2_Third->cd( 9); hGet4DistTripleHits_008->Draw("colz"); cHDP2_Third->cd(10); hGet4DistTripleHits_009->Draw("colz"); cHDP2_Third->cd(11); hGet4DistTripleHits_010->Draw("colz"); cHDP2_Third->cd(12); hGet4DistTripleHits_011->Draw("colz"); cHDP2_Third->cd(13); hGet4DistTripleHits_012->Draw("colz"); cHDP2_Third->cd(14); hGet4DistTripleHits_013->Draw("colz"); cHDP2_Third->cd(15); hGet4DistTripleHits_014->Draw("colz"); cHDP2_Third->cd(16); hGet4DistTripleHits_015->Draw("colz"); TCanvas *cTSUStrip_Third = new TCanvas("cTSUStrip_Third", "TSU Strip_Third"); cTSUStrip_Third->Divide(4, 4); cTSUStrip_Third->cd( 1); hGet4DistTripleHits_016->Draw("colz"); cTSUStrip_Third->cd( 2); hGet4DistTripleHits_017->Draw("colz"); cTSUStrip_Third->cd( 3); hGet4DistTripleHits_018->Draw("colz"); cTSUStrip_Third->cd( 4); hGet4DistTripleHits_019->Draw("colz"); cTSUStrip_Third->cd( 5); hGet4DistTripleHits_020->Draw("colz"); cTSUStrip_Third->cd( 6); hGet4DistTripleHits_021->Draw("colz"); cTSUStrip_Third->cd( 7); hGet4DistTripleHits_022->Draw("colz"); cTSUStrip_Third->cd( 8); hGet4DistTripleHits_023->Draw("colz"); cTSUStrip_Third->cd( 9); hGet4DistTripleHits_064->Draw("colz"); cTSUStrip_Third->cd(10); hGet4DistTripleHits_065->Draw("colz"); cTSUStrip_Third->cd(11); hGet4DistTripleHits_066->Draw("colz"); cTSUStrip_Third->cd(12); hGet4DistTripleHits_067->Draw("colz"); cTSUStrip_Third->cd(13); hGet4DistTripleHits_068->Draw("colz"); cTSUStrip_Third->cd(14); hGet4DistTripleHits_069->Draw("colz"); cTSUStrip_Third->cd(15); hGet4DistTripleHits_070->Draw("colz"); cTSUStrip_Third->cd(16); hGet4DistTripleHits_071->Draw("colz"); TCanvas *cHDP5_Third = new TCanvas("cHDP5_Third", "HDP5_Third"); cHDP5_Third->Divide(4, 2); cHDP5_Third->cd( 1); hGet4DistTripleHits_072->Draw("colz"); cHDP5_Third->cd( 2); hGet4DistTripleHits_073->Draw("colz"); cHDP5_Third->cd( 3); hGet4DistTripleHits_074->Draw("colz"); cHDP5_Third->cd( 4); hGet4DistTripleHits_075->Draw("colz"); cHDP5_Third->cd( 5); hGet4DistTripleHits_076->Draw("colz"); cHDP5_Third->cd( 6); hGet4DistTripleHits_077->Draw("colz"); cHDP5_Third->cd( 7); hGet4DistTripleHits_078->Draw("colz"); cHDP5_Third->cd( 8); hGet4DistTripleHits_079->Draw("colz"); /* TCanvas *cUSTC_Third = new TCanvas("cUSTC_Third", "USTC_Third"); cUSTC_Third->Divide(4, 3); cUSTC_Third->cd( 1); hGet4DistTripleHits_080->Draw("colz"); cUSTC_Third->cd( 2); hGet4DistTripleHits_081->Draw("colz"); cUSTC_Third->cd( 3); hGet4DistTripleHits_082->Draw("colz"); cUSTC_Third->cd( 4); hGet4DistTripleHits_083->Draw("colz"); cUSTC_Third->cd( 5); hGet4DistTripleHits_084->Draw("colz"); cUSTC_Third->cd( 6); hGet4DistTripleHits_085->Draw("colz"); cUSTC_Third->cd( 7); hGet4DistTripleHits_086->Draw("colz"); cUSTC_Third->cd( 8); hGet4DistTripleHits_087->Draw("colz"); */ Int_t iNbTdcs = 48; Int_t iNbChChip = 4; TProfile * profDistDouble[iNbTdcs]; TProfile * profDistTriple[iNbTdcs]; profDistDouble[ 0] = hGet4DistDoubleHits_000->ProfileX( "ProfDouble_000" ); profDistDouble[ 1] = hGet4DistDoubleHits_001->ProfileX( "ProfDouble_001" ); profDistDouble[ 2] = hGet4DistDoubleHits_002->ProfileX( "ProfDouble_002" ); profDistDouble[ 3] = hGet4DistDoubleHits_003->ProfileX( "ProfDouble_003" ); profDistDouble[ 4] = hGet4DistDoubleHits_004->ProfileX( "ProfDouble_004" ); profDistDouble[ 5] = hGet4DistDoubleHits_005->ProfileX( "ProfDouble_005" ); profDistDouble[ 6] = hGet4DistDoubleHits_006->ProfileX( "ProfDouble_006" ); profDistDouble[ 7] = hGet4DistDoubleHits_007->ProfileX( "ProfDouble_007" ); profDistDouble[ 8] = hGet4DistDoubleHits_008->ProfileX( "ProfDouble_008" ); profDistDouble[ 9] = hGet4DistDoubleHits_009->ProfileX( "ProfDouble_009" ); profDistDouble[10] = hGet4DistDoubleHits_010->ProfileX( "ProfDouble_010" ); profDistDouble[11] = hGet4DistDoubleHits_011->ProfileX( "ProfDouble_011" ); profDistDouble[12] = hGet4DistDoubleHits_012->ProfileX( "ProfDouble_012" ); profDistDouble[13] = hGet4DistDoubleHits_013->ProfileX( "ProfDouble_013" ); profDistDouble[14] = hGet4DistDoubleHits_014->ProfileX( "ProfDouble_014" ); profDistDouble[15] = hGet4DistDoubleHits_015->ProfileX( "ProfDouble_015" ); profDistDouble[16] = hGet4DistDoubleHits_016->ProfileX( "ProfDouble_016" ); profDistDouble[17] = hGet4DistDoubleHits_017->ProfileX( "ProfDouble_017" ); profDistDouble[18] = hGet4DistDoubleHits_018->ProfileX( "ProfDouble_018" ); profDistDouble[19] = hGet4DistDoubleHits_019->ProfileX( "ProfDouble_019" ); profDistDouble[20] = hGet4DistDoubleHits_020->ProfileX( "ProfDouble_020" ); profDistDouble[21] = hGet4DistDoubleHits_021->ProfileX( "ProfDouble_021" ); profDistDouble[22] = hGet4DistDoubleHits_022->ProfileX( "ProfDouble_022" ); profDistDouble[23] = hGet4DistDoubleHits_023->ProfileX( "ProfDouble_023" ); profDistDouble[24] = hGet4DistDoubleHits_064->ProfileX( "ProfDouble_024" ); profDistDouble[25] = hGet4DistDoubleHits_065->ProfileX( "ProfDouble_025" ); profDistDouble[26] = hGet4DistDoubleHits_066->ProfileX( "ProfDouble_026" ); profDistDouble[27] = hGet4DistDoubleHits_067->ProfileX( "ProfDouble_027" ); profDistDouble[28] = hGet4DistDoubleHits_068->ProfileX( "ProfDouble_028" ); profDistDouble[29] = hGet4DistDoubleHits_069->ProfileX( "ProfDouble_029" ); profDistDouble[30] = hGet4DistDoubleHits_070->ProfileX( "ProfDouble_030" ); profDistDouble[31] = hGet4DistDoubleHits_071->ProfileX( "ProfDouble_031" ); profDistDouble[32] = hGet4DistDoubleHits_072->ProfileX( "ProfDouble_032" ); profDistDouble[33] = hGet4DistDoubleHits_073->ProfileX( "ProfDouble_033" ); profDistDouble[34] = hGet4DistDoubleHits_074->ProfileX( "ProfDouble_034" ); profDistDouble[35] = hGet4DistDoubleHits_075->ProfileX( "ProfDouble_035" ); profDistDouble[36] = hGet4DistDoubleHits_076->ProfileX( "ProfDouble_036" ); profDistDouble[37] = hGet4DistDoubleHits_077->ProfileX( "ProfDouble_037" ); profDistDouble[38] = hGet4DistDoubleHits_078->ProfileX( "ProfDouble_038" ); profDistDouble[39] = hGet4DistDoubleHits_079->ProfileX( "ProfDouble_039" ); /* profDistDouble[40] = hGet4DistDoubleHits_080->ProfileX( "ProfDouble_040" ); profDistDouble[41] = hGet4DistDoubleHits_081->ProfileX( "ProfDouble_041" ); profDistDouble[42] = hGet4DistDoubleHits_082->ProfileX( "ProfDouble_042" ); profDistDouble[43] = hGet4DistDoubleHits_083->ProfileX( "ProfDouble_043" ); profDistDouble[44] = hGet4DistDoubleHits_084->ProfileX( "ProfDouble_044" ); profDistDouble[45] = hGet4DistDoubleHits_085->ProfileX( "ProfDouble_045" ); profDistDouble[46] = hGet4DistDoubleHits_086->ProfileX( "ProfDouble_046" ); profDistDouble[47] = hGet4DistDoubleHits_087->ProfileX( "ProfDouble_047" ); */ profDistTriple[ 0] = hGet4DistTripleHits_000->ProfileX( "ProfTriple_000" ); profDistTriple[ 1] = hGet4DistTripleHits_001->ProfileX( "ProfTriple_001" ); profDistTriple[ 2] = hGet4DistTripleHits_002->ProfileX( "ProfTriple_002" ); profDistTriple[ 3] = hGet4DistTripleHits_003->ProfileX( "ProfTriple_003" ); profDistTriple[ 4] = hGet4DistTripleHits_004->ProfileX( "ProfTriple_004" ); profDistTriple[ 5] = hGet4DistTripleHits_005->ProfileX( "ProfTriple_005" ); profDistTriple[ 6] = hGet4DistTripleHits_006->ProfileX( "ProfTriple_006" ); profDistTriple[ 7] = hGet4DistTripleHits_007->ProfileX( "ProfTriple_007" ); profDistTriple[ 8] = hGet4DistTripleHits_008->ProfileX( "ProfTriple_008" ); profDistTriple[ 9] = hGet4DistTripleHits_009->ProfileX( "ProfTriple_009" ); profDistTriple[10] = hGet4DistTripleHits_010->ProfileX( "ProfTriple_010" ); profDistTriple[11] = hGet4DistTripleHits_011->ProfileX( "ProfTriple_011" ); profDistTriple[12] = hGet4DistTripleHits_012->ProfileX( "ProfTriple_012" ); profDistTriple[13] = hGet4DistTripleHits_013->ProfileX( "ProfTriple_013" ); profDistTriple[14] = hGet4DistTripleHits_014->ProfileX( "ProfTriple_014" ); profDistTriple[15] = hGet4DistTripleHits_015->ProfileX( "ProfTriple_015" ); profDistTriple[16] = hGet4DistTripleHits_016->ProfileX( "ProfTriple_016" ); profDistTriple[17] = hGet4DistTripleHits_017->ProfileX( "ProfTriple_017" ); profDistTriple[18] = hGet4DistTripleHits_018->ProfileX( "ProfTriple_018" ); profDistTriple[19] = hGet4DistTripleHits_019->ProfileX( "ProfTriple_019" ); profDistTriple[20] = hGet4DistTripleHits_020->ProfileX( "ProfTriple_020" ); profDistTriple[21] = hGet4DistTripleHits_021->ProfileX( "ProfTriple_021" ); profDistTriple[22] = hGet4DistTripleHits_022->ProfileX( "ProfTriple_022" ); profDistTriple[23] = hGet4DistTripleHits_023->ProfileX( "ProfTriple_023" ); profDistTriple[24] = hGet4DistTripleHits_064->ProfileX( "ProfTriple_024" ); profDistTriple[25] = hGet4DistTripleHits_065->ProfileX( "ProfTriple_025" ); profDistTriple[26] = hGet4DistTripleHits_066->ProfileX( "ProfTriple_026" ); profDistTriple[27] = hGet4DistTripleHits_067->ProfileX( "ProfTriple_027" ); profDistTriple[28] = hGet4DistTripleHits_068->ProfileX( "ProfTriple_028" ); profDistTriple[29] = hGet4DistTripleHits_069->ProfileX( "ProfTriple_029" ); profDistTriple[30] = hGet4DistTripleHits_070->ProfileX( "ProfTriple_030" ); profDistTriple[31] = hGet4DistTripleHits_071->ProfileX( "ProfTriple_031" ); profDistTriple[32] = hGet4DistTripleHits_072->ProfileX( "ProfTriple_032" ); profDistTriple[33] = hGet4DistTripleHits_073->ProfileX( "ProfTriple_033" ); profDistTriple[34] = hGet4DistTripleHits_074->ProfileX( "ProfTriple_034" ); profDistTriple[35] = hGet4DistTripleHits_075->ProfileX( "ProfTriple_035" ); profDistTriple[36] = hGet4DistTripleHits_076->ProfileX( "ProfTriple_036" ); profDistTriple[37] = hGet4DistTripleHits_077->ProfileX( "ProfTriple_037" ); profDistTriple[38] = hGet4DistTripleHits_078->ProfileX( "ProfTriple_038" ); profDistTriple[39] = hGet4DistTripleHits_079->ProfileX( "ProfTriple_039" ); /* profDistTriple[40] = hGet4DistTripleHits_080->ProfileX( "ProfTriple_040" ); profDistTriple[41] = hGet4DistTripleHits_081->ProfileX( "ProfTriple_041" ); profDistTriple[42] = hGet4DistTripleHits_082->ProfileX( "ProfTriple_042" ); profDistTriple[43] = hGet4DistTripleHits_083->ProfileX( "ProfTriple_043" ); profDistTriple[44] = hGet4DistTripleHits_084->ProfileX( "ProfTriple_044" ); profDistTriple[45] = hGet4DistTripleHits_085->ProfileX( "ProfTriple_045" ); profDistTriple[46] = hGet4DistTripleHits_086->ProfileX( "ProfTriple_046" ); profDistTriple[47] = hGet4DistTripleHits_087->ProfileX( "ProfTriple_047" ); */ TH1D* hDoubleHitsDistLeftHDP2 = new TH1D("hDoubleHitsDistLeftHDP2", "2nd hit distance per channel for HDP2, left; Strip; Mean deltaT 1st-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hDoubleHitsDistRightHDP2 = new TH1D("hDoubleHitsDistRightHDP2", "2nd hit distance per channel for HDP2, right; Strip; Mean deltaT 1st-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hTripleHitsDistLeftHDP2 = new TH1D("hTripleHitsDistLeftHDP2", "3rd hit distance per channel for HDP2, left; Strip; Mean deltaT 3rd-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hTripleHitsDistRightHDP2 = new TH1D("hTripleHitsDistRightHDP2", "3rd hit distance per channel for HDP2, right; Strip; Mean deltaT 3rd-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hDoubleHitsDistLeftTSUS = new TH1D("hDoubleHitsDistLeftTSUS", "2nd hit distance per channel for TSUS, left; Strip; Mean deltaT 1st-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hDoubleHitsDistRightTSUS = new TH1D("hDoubleHitsDistRightTSUS", "2nd hit distance per channel for TSUS, right; Strip; Mean deltaT 1st-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hTripleHitsDistLeftTSUS = new TH1D("hTripleHitsDistLeftTSUS", "3rd hit distance per channel for TSUS, left; Strip; Mean deltaT 3rd-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hTripleHitsDistRightTSUS = new TH1D("hTripleHitsDistRightTSUS", "3rd hit distance per channel for TSUS, right; Strip; Mean deltaT 3rd-2nd [ns]", 32, -0.5, 31.5 ); TH1D* hDoubleHitsDistLeftHDP5 = new TH1D("hDoubleHitsDistLeftHDP5", "2nd hit distance per channel for HDP5, left; Strip; Mean deltaT 1st-2nd [ns]", 16, -0.5, 15.5 ); TH1D* hDoubleHitsDistRightHDP5 = new TH1D("hDoubleHitsDistRightHDP5", "2nd hit distance per channel for HDP5, right; Strip; Mean deltaT 1st-2nd [ns]", 16, -0.5, 15.5 ); TH1D* hTripleHitsDistLeftHDP5 = new TH1D("hTripleHitsDistLeftHDP5", "3rd hit distance per channel for HDP5, left; Strip; Mean deltaT 3rd-2nd [ns]", 16, -0.5, 15.5 ); TH1D* hTripleHitsDistRightHDP5 = new TH1D("hTripleHitsDistRightHDP5", "3rd hit distance per channel for HDP5, right; Strip; Mean deltaT 3rd-2nd [ns]", 16, -0.5, 15.5 ); /* TH1D* hDoubleHitsDistLeftUSTC = new TH1D("hDoubleHitsDistLeftUSTC", "2nd hit distance per channel for USTC, left; Strip; Mean deltaT 1st-2nd [ns]", 16, -0.5, 15.5 ); TH1D* hDoubleHitsDistRightUSTC = new TH1D("hDoubleHitsDistRightUSTC", "2nd hit distance per channel for USTC, right; Strip; Mean deltaT 1st-2nd [ns]", 16, -0.5, 15.5 ); TH1D* hTripleHitsDistLeftUSTC = new TH1D("hTripleHitsDistLeftUSTC", "3rd hit distance per channel for USTC, left; Strip; Mean deltaT 3rd-2nd [ns]", 16, -0.5, 15.5 ); TH1D* hTripleHitsDistRightUSTC = new TH1D("hTripleHitsDistRightUSTC", "3rd hit distance per channel for USTC, right; Strip; Mean deltaT 3rd-2nd [ns]", 16, -0.5, 15.5 ); */ for( Int_t iChip = 0; iChip < 4; iChip++) for(Int_t iChan = 0; iChan < iNbChChip; iChan++) { // Double HDP2 0-15 hDoubleHitsDistLeftHDP2->SetBinContent( ( 0+iChip)*iNbChChip + iChan + 1, profDistDouble[ iChip]->GetBinContent(iChan) ); hDoubleHitsDistLeftHDP2->SetBinError( ( 0+iChip)*iNbChChip + iChan + 1, profDistDouble[ iChip]->GetBinError(iChan) ); hDoubleHitsDistRightHDP2->SetBinContent( ( 4-iChip)*iNbChChip - iChan, profDistDouble[ 4 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistRightHDP2->SetBinError( ( 4-iChip)*iNbChChip - iChan, profDistDouble[ 4 + iChip]->GetBinError(iChan) ); // Double HDP2 16-31 hDoubleHitsDistLeftHDP2->SetBinContent( ( 4+iChip)*iNbChChip + iChan + 1, profDistDouble[ 8 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistLeftHDP2->SetBinError( ( 4+iChip)*iNbChChip + iChan + 1, profDistDouble[ 8 + iChip]->GetBinError(iChan) ); hDoubleHitsDistRightHDP2->SetBinContent( ( 8-iChip)*iNbChChip - iChan, profDistDouble[12 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistRightHDP2->SetBinError( ( 8-iChip)*iNbChChip - iChan, profDistDouble[12 + iChip]->GetBinError(iChan) ); // Triple HDP2 0-15 hTripleHitsDistLeftHDP2->SetBinContent( ( 0+iChip)*iNbChChip + iChan + 1, profDistTriple[ iChip]->GetBinContent(iChan) ); hTripleHitsDistLeftHDP2->SetBinError( ( 0+iChip)*iNbChChip + iChan + 1, profDistTriple[ iChip]->GetBinError(iChan) ); hTripleHitsDistRightHDP2->SetBinContent( ( 4-iChip)*iNbChChip - iChan, profDistTriple[ 4 + iChip]->GetBinContent(iChan) ); hTripleHitsDistRightHDP2->SetBinError( ( 4-iChip)*iNbChChip - iChan, profDistTriple[ 4 + iChip]->GetBinError(iChan) ); // Triple HDP2 16-31 hTripleHitsDistLeftHDP2->SetBinContent( ( 4+iChip)*iNbChChip + iChan + 1, profDistTriple[ 8 + iChip]->GetBinContent(iChan) ); hTripleHitsDistLeftHDP2->SetBinError( ( 4+iChip)*iNbChChip + iChan + 1, profDistTriple[ 8 + iChip]->GetBinError(iChan) ); hTripleHitsDistRightHDP2->SetBinContent( ( 8-iChip)*iNbChChip - iChan, profDistTriple[12 + iChip]->GetBinContent(iChan) ); hTripleHitsDistRightHDP2->SetBinError( ( 8-iChip)*iNbChChip - iChan, profDistTriple[12 + iChip]->GetBinError(iChan) ); // Double TSUS 0-15 hDoubleHitsDistLeftTSUS->SetBinContent( (0+iChip)*iNbChChip + iChan + 1, profDistDouble[16 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistLeftTSUS->SetBinError( (0+iChip)*iNbChChip + iChan + 1, profDistDouble[16 + iChip]->GetBinError(iChan) ); hDoubleHitsDistRightTSUS->SetBinContent( (4-iChip)*iNbChChip - iChan, profDistDouble[20 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistRightTSUS->SetBinError( (4-iChip)*iNbChChip - iChan, profDistDouble[20 + iChip]->GetBinError(iChan) ); // Double TSUS 16-31 hDoubleHitsDistLeftTSUS->SetBinContent( (4+iChip)*iNbChChip + iChan + 1, profDistDouble[24 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistLeftTSUS->SetBinError( (4+iChip)*iNbChChip + iChan + 1, profDistDouble[24 + iChip]->GetBinError(iChan) ); hDoubleHitsDistRightTSUS->SetBinContent( (8-iChip)*iNbChChip - iChan, profDistDouble[28 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistRightTSUS->SetBinError( (8-iChip)*iNbChChip - iChan, profDistDouble[28 + iChip]->GetBinError(iChan) ); // Triple TSUS 0-15 hTripleHitsDistLeftTSUS->SetBinContent( (0+iChip)*iNbChChip + iChan + 1, profDistTriple[16 + iChip]->GetBinContent(iChan) ); hTripleHitsDistLeftTSUS->SetBinError( (0+iChip)*iNbChChip + iChan + 1, profDistTriple[16 + iChip]->GetBinError(iChan) ); hTripleHitsDistRightTSUS->SetBinContent( (4-iChip)*iNbChChip - iChan, profDistTriple[20 + iChip]->GetBinContent(iChan) ); hTripleHitsDistRightTSUS->SetBinError( (4-iChip)*iNbChChip - iChan, profDistTriple[20 + iChip]->GetBinError(iChan) ); // Triple TSUS 16-31 hTripleHitsDistLeftTSUS->SetBinContent( (4+iChip)*iNbChChip + iChan + 1, profDistTriple[24 + iChip]->GetBinContent(iChan) ); hTripleHitsDistLeftTSUS->SetBinError( (4+iChip)*iNbChChip + iChan + 1, profDistTriple[24 + iChip]->GetBinError(iChan) ); hTripleHitsDistRightTSUS->SetBinContent( (8-iChip)*iNbChChip - iChan, profDistTriple[28 + iChip]->GetBinContent(iChan) ); hTripleHitsDistRightTSUS->SetBinError( (8-iChip)*iNbChChip - iChan, profDistTriple[28 + iChip]->GetBinError(iChan) ); // Double HDP5 0-15 hDoubleHitsDistLeftHDP5->SetBinContent( (0+iChip)*iNbChChip + iChan + 1, profDistDouble[32 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistLeftHDP5->SetBinError( (0+iChip)*iNbChChip + iChan + 1, profDistDouble[32 + iChip]->GetBinError(iChan) ); hDoubleHitsDistRightHDP5->SetBinContent( (4-iChip)*iNbChChip - iChan, profDistDouble[36 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistRightHDP5->SetBinError( (4-iChip)*iNbChChip - iChan, profDistDouble[36 + iChip]->GetBinError(iChan) ); // Triple HDP5 0-15 hTripleHitsDistLeftHDP5->SetBinContent( (0+iChip)*iNbChChip + iChan + 1, profDistTriple[32 + iChip]->GetBinContent(iChan) ); hTripleHitsDistLeftHDP5->SetBinError( (0+iChip)*iNbChChip + iChan + 1, profDistTriple[32 + iChip]->GetBinError(iChan) ); hTripleHitsDistRightHDP5->SetBinContent( (4-iChip)*iNbChChip - iChan, profDistTriple[36 + iChip]->GetBinContent(iChan) ); hTripleHitsDistRightHDP5->SetBinError( (4-iChip)*iNbChChip - iChan, profDistTriple[36 + iChip]->GetBinError(iChan) ); /* // Double USTC 0-15 hDoubleHitsDistLeftUSTC->SetBinContent( (0+iChip)*iNbChChip + iChan + 1, profDistDouble[32 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistLeftUSTC->SetBinError( (0+iChip)*iNbChChip + iChan + 1, profDistDouble[32 + iChip]->GetBinError(iChan) ); hDoubleHitsDistRightUSTC->SetBinContent( (4-iChip)*iNbChChip - iChan, profDistDouble[36 + iChip]->GetBinContent(iChan) ); hDoubleHitsDistRightUSTC->SetBinError( (4-iChip)*iNbChChip - iChan, profDistDouble[36 + iChip]->GetBinError(iChan) ); // Triple USTC 0-15 hTripleHitsDistLeftUSTC->SetBinContent( (0+iChip)*iNbChChip + iChan + 1, profDistTriple[32 + iChip]->GetBinContent(iChan) ); hTripleHitsDistLeftUSTC->SetBinError( (0+iChip)*iNbChChip + iChan + 1, profDistTriple[32 + iChip]->GetBinError(iChan) ); hTripleHitsDistRightUSTC->SetBinContent( (4-iChip)*iNbChChip - iChan, profDistTriple[36 + iChip]->GetBinContent(iChan) ); hTripleHitsDistRightUSTC->SetBinError( (4-iChip)*iNbChChip - iChan, profDistTriple[36 + iChip]->GetBinError(iChan) ); */ } // for(Int_t iChan = 0; iChan < iNbChChip; iChan++) TCanvas *cHDP2S = new TCanvas("cHDP2S", "HDP2 summary"); cHDP2S->Divide(2); cHDP2S->cd(1); hDoubleHitsDistLeftHDP2->SetStats(kFALSE); hDoubleHitsDistLeftHDP2->SetLineColor( kBlue ); hDoubleHitsDistLeftHDP2->Draw("E"); hDoubleHitsDistRightHDP2->SetStats(kFALSE); hDoubleHitsDistRightHDP2->SetLineColor( kRed ); hDoubleHitsDistRightHDP2->Draw("E Same"); cHDP2S->cd(2); hTripleHitsDistLeftHDP2->SetStats(kFALSE); hTripleHitsDistLeftHDP2->SetLineColor( kBlue ); hTripleHitsDistLeftHDP2->Draw("E"); hTripleHitsDistRightHDP2->SetStats(kFALSE); hTripleHitsDistRightHDP2->SetLineColor( kRed ); hTripleHitsDistRightHDP2->Draw("E Same"); TCanvas *cTSUStripS = new TCanvas("cTSUStripS", "TSU Strip summary"); cTSUStripS->Divide(2); cTSUStripS->cd(1); hDoubleHitsDistLeftTSUS->SetStats(kFALSE); hDoubleHitsDistLeftTSUS->SetLineColor( kBlue ); hDoubleHitsDistLeftTSUS->Draw("E"); hDoubleHitsDistRightTSUS->SetStats(kFALSE); hDoubleHitsDistRightTSUS->SetLineColor( kRed ); hDoubleHitsDistRightTSUS->Draw("E Same"); cTSUStripS->cd(2); hTripleHitsDistLeftTSUS->SetStats(kFALSE); hTripleHitsDistLeftTSUS->SetLineColor( kBlue ); hTripleHitsDistLeftTSUS->Draw("E"); hTripleHitsDistRightTSUS->SetStats(kFALSE); hTripleHitsDistRightTSUS->SetLineColor( kRed ); hTripleHitsDistRightTSUS->Draw("E Same"); TCanvas *cHDP5S = new TCanvas("cHDP5S", "HDP5 summary"); cHDP5S->Divide(2); cHDP5S->cd(1); hDoubleHitsDistLeftHDP5->SetStats(kFALSE); hDoubleHitsDistLeftHDP5->SetLineColor( kBlue ); hDoubleHitsDistLeftHDP5->Draw("E"); hDoubleHitsDistRightHDP5->SetStats(kFALSE); hDoubleHitsDistRightHDP5->SetLineColor( kRed ); hDoubleHitsDistRightHDP5->Draw("E Same"); cHDP5S->cd(2); hTripleHitsDistLeftHDP5->SetStats(kFALSE); hTripleHitsDistLeftHDP5->SetLineColor( kBlue ); hTripleHitsDistLeftHDP5->Draw("E"); hTripleHitsDistRightHDP5->SetStats(kFALSE); hTripleHitsDistRightHDP5->SetLineColor( kRed ); hTripleHitsDistRightHDP5->Draw("E Same"); }