+ for(Int_t ii=0;ii<3;ii++)
+
+ {
+ sprintf(name,"histoRAWnormevent%d", ii);
+ sprintf(title,"Trend of the Norm Events %s RAW",histoname[ii].Data());
+ histoRAWnormevents[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRAWnormevents[ii]->SetStats(0);
+ histoRAWnormevents[ii]->SetMinimum(0.);
+ histoRAWnormevents[ii]->GetXaxis()->SetTitle("# Run");
+ histoRAWnormevents[ii]->GetXaxis()->SetTicks("-");
+ histoRAWnormevents[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRAWnormevents[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRAWnormevents[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRAWnormevents[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRAWnormevents[ii]->GetYaxis()->SetTitle("entries/(goodch*totevents)");
+ histoRAWnormevents[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRAWnormevents[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRAWnormevents[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRAWnormevents[ii]->SetMarkerStyle(20+ii);
+ histoRAWnormevents[ii]->SetMarkerColor(1+ii);
+
+ sprintf(name,"histoRPnormevent%d", ii);
+ sprintf(title,"Trend of the Norm Events %s RP", histoname[ii].Data());
+ histoRPnormevents[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRPnormevents[ii]->SetStats(0);
+ histoRPnormevents[ii]->SetMinimum(0.);
+ histoRPnormevents[ii]->GetXaxis()->SetTitle("# Run");
+ histoRPnormevents[ii]->GetXaxis()->SetTicks("-");
+ histoRPnormevents[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRPnormevents[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRPnormevents[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRPnormevents[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRPnormevents[ii]->GetYaxis()->SetTitle("entries/(goodch*totevents)");
+ histoRPnormevents[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRPnormevents[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRPnormevents[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRPnormevents[ii]->SetMarkerStyle(20+ii);
+ histoRPnormevents[ii]->SetMarkerColor(1+ii);
+
+
+ sprintf(name,"histoRAWfilledmodules%d", ii);
+ sprintf(title,"Trend of the filled modules %s RAW", histoname[ii].Data());
+ histoRAWfilledmodules[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRAWfilledmodules[ii]->SetStats(0);
+ histoRAWfilledmodules[ii]->SetMaximum(272.);
+ histoRAWfilledmodules[ii]->SetMinimum(-1.);
+ histoRAWfilledmodules[ii]->GetXaxis()->SetTitle("# Run");
+ histoRAWfilledmodules[ii]->GetXaxis()->SetTicks("-");
+ histoRAWfilledmodules[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRAWfilledmodules[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRAWfilledmodules[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRAWfilledmodules[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRAWfilledmodules[ii]->GetYaxis()->SetTitle("modules");
+ histoRAWfilledmodules[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRAWfilledmodules[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRAWfilledmodules[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRAWfilledmodules[ii]->SetMarkerStyle(20+ii);
+ histoRAWfilledmodules[ii]->SetMarkerColor(1+ii);
+
+ sprintf(name,"histoRPfilledmodules%d", ii);
+ sprintf(title,"Trend of the filled modules %s RP", histoname[ii].Data());
+ histoRPfilledmodules[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRPfilledmodules[ii]->GetXaxis()->SetTitle("# Run");
+ histoRPfilledmodules[ii]->SetStats(0);
+ histoRPfilledmodules[ii]->SetMaximum(272.);
+ histoRPfilledmodules[ii]->SetMinimum(-1.);
+ histoRPfilledmodules[ii]->GetXaxis()->SetTicks("-");
+ histoRPfilledmodules[ii]->GetYaxis()->SetTitle("modules");
+ histoRPfilledmodules[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRPfilledmodules[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRPfilledmodules[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRPfilledmodules[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRPfilledmodules[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRPfilledmodules[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRPfilledmodules[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRPfilledmodules[ii]->SetMarkerStyle(20+ii);
+ histoRPfilledmodules[ii]->SetMarkerColor(1+ii);
+
+ sprintf(name,"histoRAWfilleddr%d", ii);
+ sprintf(title,"Trend of the filled drift regions %s RAW", histoname[ii].Data());
+ histoRAWfilleddr[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRAWfilleddr[ii]->GetXaxis()->SetTitle("# Run");
+ histoRAWfilleddr[ii]->SetStats(0);
+ histoRAWfilleddr[ii]->SetMaximum(272.);
+ histoRAWfilleddr[ii]->SetMinimum(-1.);
+ histoRAWfilleddr[ii]->GetXaxis()->SetTicks("-");
+ histoRAWfilleddr[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRAWfilleddr[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRAWfilleddr[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRAWfilleddr[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRAWfilleddr[ii]->GetYaxis()->SetTitle("Drift Regions");
+ histoRAWfilleddr[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRAWfilleddr[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRAWfilleddr[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRAWfilleddr[ii]->SetMarkerStyle(20+ii);
+ histoRAWfilleddr[ii]->SetMarkerColor(1+ii);
+
+ sprintf(name,"histoRPfilleddr%d", ii);
+ sprintf(title,"Trend of the filled drift regions %s RP", histoname[ii].Data());
+ histoRPfilleddr[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRPfilleddr[ii]->SetStats(0);
+ histoRPfilleddr[ii]->SetMaximum(272.);
+ histoRPfilleddr[ii]->SetMinimum(-1.);
+ histoRPfilleddr[ii]->GetXaxis()->SetTitle("# Run");
+ histoRPfilleddr[ii]->GetXaxis()->SetTicks("-");
+ histoRPfilleddr[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRPfilleddr[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRPfilleddr[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRPfilleddr[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRPfilleddr[ii]->GetYaxis()->SetTitle("Drift Regions");
+ histoRPfilleddr[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRPfilleddr[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRPfilleddr[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRPfilleddr[ii]->SetMarkerStyle(20+ii);
+ histoRPfilleddr[ii]->SetMarkerColor(1+ii);
+
+
+ sprintf(name,"histoRAWactivemodules%d", ii);
+ sprintf(title,"Trend of the active module %s RAW", histoname[ii].Data());
+ histoRAWactivemodules[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRAWactivemodules[ii]->SetStats(0);
+ histoRAWactivemodules[ii]->GetXaxis()->SetTitle("# Run");
+ histoRAWactivemodules[ii]->GetXaxis()->SetTicks("-");
+ histoRAWactivemodules[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRAWactivemodules[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRAWactivemodules[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRAWactivemodules[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRAWactivemodules[ii]->GetYaxis()->SetTitle("modules");
+ histoRAWactivemodules[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRAWactivemodules[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRAWactivemodules[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRAWactivemodules[ii]->SetMarkerStyle(24+ii);
+ histoRAWactivemodules[ii]->SetMarkerColor(4);
+
+
+
+ sprintf(name,"histoRPactivemodules%d", ii);
+ sprintf(title,"Trend of the active modules %s RP", histoname[ii].Data());
+ histoRPactivemodules[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRPactivemodules[ii]->SetStats(0);
+ histoRPactivemodules[ii]->GetXaxis()->SetTitle("# Run");
+ histoRPactivemodules[ii]->GetXaxis()->SetTicks("-");
+ histoRPactivemodules[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRPactivemodules[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRPactivemodules[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRPactivemodules[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRPactivemodules[ii]->GetYaxis()->SetTitle("modules");
+ histoRPactivemodules[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRPactivemodules[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRPactivemodules[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRPactivemodules[ii]->SetMarkerStyle(24+ii);
+ histoRPactivemodules[ii]->SetMarkerColor(4);
+
+
+ sprintf(name,"histoRAWactivedr%d", ii);
+ sprintf(title,"Trend of the active drift region %s RAW", histoname[ii].Data());
+ histoRAWactivedr[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRAWactivedr[ii]->SetStats(0);
+ histoRAWactivedr[ii]->GetXaxis()->SetTitle("# Run");
+ histoRAWactivedr[ii]->GetXaxis()->SetTicks("-");
+ histoRAWactivedr[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRAWactivedr[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRAWactivedr[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRAWactivedr[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRAWactivedr[ii]->GetYaxis()->SetTitle("Drift Regions");
+ histoRAWactivedr[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRAWactivedr[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRAWactivedr[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRAWactivedr[ii]->SetMarkerStyle(24+ii);
+ histoRAWactivedr[ii]->SetMarkerColor(4);
+
+ sprintf(name,"histoRPactivedr%d", ii);
+ sprintf(title,"Trend of the active drift region %s RP", histoname[ii].Data());
+ histoRPactivedr[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRPactivedr[ii]->SetStats(0);
+ histoRPactivedr[ii]->GetXaxis()->SetTitle("# Run");
+ histoRPactivedr[ii]->GetXaxis()->SetTicks("-");
+ histoRPactivedr[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRPactivedr[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRPactivedr[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRPactivedr[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRPactivedr[ii]->GetYaxis()->SetTitle("Drift Regions");
+ histoRPactivedr[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRPactivedr[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRPactivedr[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRPactivedr[ii]->SetMarkerStyle(24+ii);
+ histoRPactivedr[ii]->SetMarkerColor(4);
+
+ sprintf(name,"histoRAWoverthmodules%d", ii);
+ sprintf(title,"Trend of the over th modules %s RAW", histoname[ii].Data());
+ histoRAWoverthmodules[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRAWoverthmodules[ii]->SetStats(0);
+ histoRAWoverthmodules[ii]->GetXaxis()->SetTitle("# Run");
+ histoRAWoverthmodules[ii]->GetXaxis()->SetTicks("-");
+ histoRAWoverthmodules[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRAWoverthmodules[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRAWoverthmodules[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRAWoverthmodules[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRAWoverthmodules[ii]->GetYaxis()->SetTitle("modules");
+ histoRAWoverthmodules[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRAWoverthmodules[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRAWoverthmodules[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRAWoverthmodules[ii]->SetMarkerStyle(20+ii);
+ histoRAWoverthmodules[ii]->SetMarkerColor(1+ii);
+
+ sprintf(name,"histoRPoverthmodules%d", ii);
+ sprintf(title,"Trend of the over th modules %s RP", histoname[ii].Data());
+ histoRPoverthmodules[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRPoverthmodules[ii]->SetStats(0);
+ histoRPoverthmodules[ii]->GetXaxis()->SetTitle("# Run");
+ histoRPoverthmodules[ii]->GetXaxis()->SetTicks("-");
+ histoRPoverthmodules[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRPoverthmodules[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRPoverthmodules[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRPoverthmodules[ii]->GetYaxis()->SetTitle("modules");
+ histoRPoverthmodules[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRPoverthmodules[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRPoverthmodules[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRPoverthmodules[ii]->SetMarkerStyle(20+ii);
+ histoRPoverthmodules[ii]->SetMarkerColor(1+ii);
+
+
+ sprintf(name,"histoRAWoverthdr%d", ii);
+ sprintf(title,"Trend of the over th drift regions %s RAW", histoname[ii].Data());
+ histoRAWoverthdr[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRAWoverthdr[ii]->SetStats(0);
+ histoRAWoverthdr[ii]->GetXaxis()->SetTitle("# Run");
+ histoRAWoverthdr[ii]->GetXaxis()->SetTicks("-");
+ histoRAWoverthdr[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRAWoverthdr[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRAWoverthdr[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRAWoverthdr[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRAWoverthdr[ii]->GetYaxis()->SetTitle("Drift Regions");
+ histoRAWoverthdr[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRAWoverthdr[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRAWoverthdr[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRAWoverthdr[ii]->SetMarkerStyle(20+ii);
+ histoRAWoverthdr[ii]->SetMarkerColor(1+ii);
+
+
+ sprintf(name,"histoRPoverthdr%d", ii);
+ sprintf(title,"Trend of the over th drift regions %s RP", histoname[ii].Data());
+ histoRPoverthdr[ii]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histoRPoverthdr[ii]->SetStats(0);
+ histoRPoverthdr[ii]->GetXaxis()->SetTitle("# Run");
+ histoRPoverthdr[ii]->GetXaxis()->SetTicks("-");
+ histoRPoverthdr[ii]->GetXaxis()->SetLabelSize(0.02);
+ histoRPoverthdr[ii]->GetXaxis()->SetTickLength(0.01);
+ histoRPoverthdr[ii]->GetXaxis()->SetTitleSize(0.02);
+ histoRPoverthdr[ii]->GetXaxis()->SetTitleOffset(-2.);
+ histoRPoverthdr[ii]->GetYaxis()->SetTitle("Drift Regions");
+ histoRPoverthdr[ii]->GetYaxis()->SetLabelSize(0.02);
+ histoRPoverthdr[ii]->GetYaxis()->SetTitleSize(0.02);
+ histoRPoverthdr[ii]->GetYaxis()->SetTitleOffset(1.5);
+ histoRPoverthdr[ii]->SetMarkerStyle(20+ii);
+ histoRPoverthdr[ii]->SetMarkerColor(1+ii);
+
+ }
+
+ for(Int_t layer=3;layer<5;layer++)
+ {
+ sprintf(name,"histochargetrend_%d", layer);
+ sprintf(title,"Trend of the Charge of the Layer %d", layer);
+ histochargetrend[layer-3]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ histochargetrend[layer-3]->SetStats(0);
+ histochargetrend[layer-3]->GetXaxis()->SetTicks("-");
+ histochargetrend[layer-3]->GetXaxis()->SetLabelSize(0.02);
+ histochargetrend[layer-3]->GetXaxis()->SetTickLength(0.01);
+ histochargetrend[layer-3]->GetYaxis()->SetTitleSize(0.02);
+ histochargetrend[layer-3]->GetXaxis()->SetTitleOffset(-2.);
+ histochargetrend[layer-3]->GetXaxis()->SetLabelSize(0.02);
+ histochargetrend[layer-3]->GetYaxis()->SetTitleSize(0.02);
+ histochargetrend[layer-3]->GetYaxis()->SetTitleOffset(1.5);
+ histochargetrend[layer-3]->GetXaxis()->SetTitle("# Run");
+ histochargetrend[layer-3]->GetYaxis()->SetTitle("keV");
+ histochargetrend[layer-3]->SetMinimum(0.);
+ histochargetrend[layer-3]->SetMaximum(250.);
+ histochargetrend[layer-3]->SetMarkerStyle(20);
+ histochargetrend[layer-3]->SetMarkerSize(1);
+ histochargetrend[layer-3]->SetMarkerColor(kGreen+4);
+ histochargetrend[layer-3]->SetFillColor(42);
+
+
+ sprintf(name,"historadiustrend_%d", layer);
+ sprintf(title,"Trend of the radius of the Layer %d", layer);
+ historadiustrend[layer-3]=new TH1F(name,title,n.size(),0.,(float)n.size());
+ historadiustrend[layer-3]->SetStats(0);
+ historadiustrend[layer-3]->GetXaxis()->SetTicks("-");
+ historadiustrend[layer-3]->GetXaxis()->SetLabelSize(0.02);
+ historadiustrend[layer-3]->GetXaxis()->SetTickLength(0.01);
+ historadiustrend[layer-3]->GetXaxis()->SetTitleSize(0.02);
+ historadiustrend[layer-3]->GetXaxis()->SetTitleOffset(-2.);
+ historadiustrend[layer-3]->GetYaxis()->SetLabelSize(0.02);
+ historadiustrend[layer-3]->GetYaxis()->SetTitleSize(0.02);
+ historadiustrend[layer-3]->GetYaxis()->SetTitleOffset(1.5);
+ historadiustrend[layer-3]->GetXaxis()->SetTitle("# Run");
+ historadiustrend[layer-3]->GetYaxis()->SetTitle("r [cm]");
+ historadiustrend[layer-3]->SetMinimum(0.);
+ historadiustrend[layer-3]->SetMaximum(26.);
+ historadiustrend[layer-3]->SetMarkerStyle(20);
+ historadiustrend[layer-3]->SetMarkerSize(1);
+ historadiustrend[layer-3]->SetMarkerColor(kGreen+4);
+ historadiustrend[layer-3]->SetFillColor(42);
+ }