Subversion Repositories f9daq

Rev

Rev 38 | Rev 47 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 38 Rev 40
Line 370... Line 370...
370
          double y = h_2d->GetYaxis()->GetBinCenter(j);
370
          double y = h_2d->GetYaxis()->GetBinCenter(j);
371
          if (debug) printf("x=%f y=%f\n", x, y);
371
          if (debug) printf("x=%f y=%f\n", x, y);
372
          h_corrected->Fill(x + c_xOffset, y + c_yOffset, eta);
372
          h_corrected->Fill(x + c_xOffset, y + c_yOffset, eta);
373
        }
373
        }
374
       }
374
       }
375
      //h_corrected->SetTitle("n_pe = - ln P(0);x[mm];y[mm]");
375
      h_corrected->SetTitle("n_pe = - ln P(0);x[mm];y[mm]");
376
      h_corrected->SetTitle(";x[mm];y[mm]");
376
      //h_corrected->SetTitle(";x[mm];y[mm]");
-
 
377
      gStyle->SetPalette(52,0);
377
      h_corrected->GetZaxis()->SetRangeUser(-0.01,0.5);
378
      h_corrected->GetZaxis()->SetRangeUser(-0.05,0.7);
378
      h_corrected->SetContour(50);
379
      h_corrected->SetContour(50);
379
      h_corrected->Draw("colz");
380
      h_corrected->Draw("colz");
380
     
381
     
381
      // collection efficiency
382
      // collection efficiency
382
      int nPoints =0;
383
      int nPoints =0;