Streamlining, removed pedestal RMS plots for G1 and G2, they are never useful.
This commit is contained in:
@ -73,8 +73,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);
|
||||
|
||||
// open pede file
|
||||
sprintf(savename,"%s/%s_%%6.6d.dat", data_loc.c_str(), pede_file.c_str());
|
||||
@ -180,7 +178,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();
|
||||
@ -192,7 +189,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();
|
||||
@ -245,22 +241,6 @@ int main(int argc, char* argv[]) {
|
||||
sprintf(savename,"plots/M%s/CuFluo/%s/pedeRMSG0_%s_M%s.png", module_str.c_str(), gain_str.c_str(), gain_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);
|
||||
pedeRMSG1->GetZaxis()->SetRangeUser(0,100);
|
||||
pedeRMSG1->Draw("colz");
|
||||
sprintf(savename,"plots/M%s/CuFluo/%s/pedeRMSG1_%s_M%s.png", module_str.c_str(), gain_str.c_str(), gain_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);
|
||||
pedeRMSG2->GetZaxis()->SetRangeUser(0,300);
|
||||
pedeRMSG2->Draw("colz");
|
||||
sprintf(savename,"plots/M%s/CuFluo/%s/pedeRMSG2_%s_M%s.png", module_str.c_str(), gain_str.c_str(), gain_str.c_str(), module_str.c_str());
|
||||
mapcanvas->SaveAs((const char *)(savename));
|
||||
|
||||
TH2I* adc2d_1 = new TH2I("adc2d_1","",1200,-200-0.5,1000-0.5,65536,(65536*0-0.5),(65536*1-0.5));
|
||||
TH2I* adc2d_2 = new TH2I("adc2d_2","",1200,-200-0.5,1000-0.5,65536,(65536*1-0.5),(65536*2-0.5));
|
||||
TH2I* adc2d_3 = new TH2I("adc2d_3","",1200,-200-0.5,1000-0.5,65536,(65536*2-0.5),(65536*3-0.5));
|
||||
|
Reference in New Issue
Block a user