Streamlining, removed pedestal RMS plots for G1 and G2, they are never useful.
This commit is contained in:
@ -175,8 +175,6 @@ int main(int argc, char* argv[]) {
|
||||
TH2F* pedestalsG2 = new TH2F("pedestalsG2","",NC,-0.5,NC-0.5,NR,-0.5,NR-0.5);
|
||||
|
||||
TH2F* pedeRMSG0 = new TH2F("pedeRMSG0","",NC,-0.5,NC-0.5,NR,-0.5,NR-0.5);
|
||||
TH2F* pedeRMSG1 = new TH2F("pedeRMSG1","",NC,-0.5,NC-0.5,NR,-0.5,NR-0.5);
|
||||
TH2F* pedeRMSG2 = new TH2F("pedeRMSG2","",NC,-0.5,NC-0.5,NR,-0.5,NR-0.5);
|
||||
|
||||
char savename[128];
|
||||
|
||||
@ -278,7 +276,6 @@ int main(int argc, char* argv[]) {
|
||||
for (int i = 0; i < NCH; i++) {
|
||||
if (pixel_mask[i] == true) {
|
||||
pedestalsG1->Fill(i%NC,i/NC,pedestalObject->pedestalOfChannel(i));
|
||||
pedeRMSG1->Fill(i%NC,i/NC,pedestalObject->rmsOfChannel(i));
|
||||
}
|
||||
}
|
||||
pedestalObject->pedestalClear();
|
||||
@ -290,7 +287,6 @@ int main(int argc, char* argv[]) {
|
||||
for (int i = 0; i < NCH; i++) {
|
||||
if (pixel_mask[i] == true) {
|
||||
pedestalsG2->Fill(i%NC,i/NC,pedestalObject->pedestalOfChannel(i));
|
||||
pedeRMSG2->Fill(i%NC,i/NC,pedestalObject->rmsOfChannel(i));
|
||||
}
|
||||
}
|
||||
pedestalObject->pedestalClear();
|
||||
@ -336,30 +332,6 @@ int main(int argc, char* argv[]) {
|
||||
sprintf(savename,"plots/M%s/CurrentSource/pedeRMSG0_M%s.png", module_str.c_str(), module_str.c_str());
|
||||
mapcanvas->SaveAs((const char *)(savename));
|
||||
|
||||
pedeRMSG1->GetXaxis()->SetTitle("Column");
|
||||
pedeRMSG1->GetYaxis()->SetTitle("Row");
|
||||
pedeRMSG1->GetYaxis()->SetTitleOffset(0.7);
|
||||
if (module_str == "006") {
|
||||
pedeRMSG1->GetZaxis()->SetRangeUser(0,400);
|
||||
} else {
|
||||
pedeRMSG1->GetZaxis()->SetRangeUser(0,15);
|
||||
}
|
||||
pedeRMSG1->Draw("colz");
|
||||
sprintf(savename,"plots/M%s/CurrentSource/pedeRMSG1_M%s.png", module_str.c_str(), module_str.c_str());
|
||||
mapcanvas->SaveAs((const char *)(savename));
|
||||
|
||||
pedeRMSG2->GetXaxis()->SetTitle("Column");
|
||||
pedeRMSG2->GetYaxis()->SetTitle("Row");
|
||||
pedeRMSG2->GetYaxis()->SetTitleOffset(0.7);
|
||||
if (module_str == "006") {
|
||||
pedeRMSG2->GetZaxis()->SetRangeUser(0,400);
|
||||
} else {
|
||||
pedeRMSG2->GetZaxis()->SetRangeUser(0,15);
|
||||
}
|
||||
pedeRMSG2->Draw("colz");
|
||||
sprintf(savename,"plots/M%s/CurrentSource/pedeRMSG2_M%s.png", module_str.c_str(), module_str.c_str());
|
||||
mapcanvas->SaveAs((const char *)(savename));
|
||||
|
||||
TH2F *adcmap_avg_g0 [97];
|
||||
TH2F *adcmap_avg_g1 [97];
|
||||
TH2F *adcmap_avg_g2 [97];
|
||||
|
Reference in New Issue
Block a user