1 void res2(TString baseName=
"R_dzVsTanL_3")
3 TCanvas * c =
new TCanvas();
8 for (
int layer=0;layer<6;++layer)
13 case 0: nSector = 4;
break;
14 case 1: nSector = 4;
break;
15 case 2: nSector = 6;
break;
16 case 3: nSector = 6;
break;
17 case 4: nSector = 8;
break;
18 case 5: nSector = 8;
break;
20 for (
int sector=0;sector<nSector;++sector)
22 name = baseName+
"_L"+layer+
"_S"+sector;
25 nameGif = name+
".gif";
26 TH2D * h2 = (TH2D *) gDirectory->Get(name);
27 h2->FitSlicesY(0,40,60,10);
29 TH1D * mean = (TH1D*) gDirectory->Get(name1);
30 TH1D * rms = (TH1D*) gDirectory->Get(name2);
32 mean->SetLineColor(4);
33 mean->SetMarkerColor(4);
34 mean->SetLineWidth(3);