efficiency_v_thr.C 345 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
void efficiency_v_thr(){
  TGraph* gr = new TGraph("efficiency_v_voltage.txt");
  gr->SetMarkerStyle(7);
  gr->SetMarkerColor(4);
  gr->GetXaxis()->SetTitle("Reverse Bias Voltage [V]");
  gr->GetYaxis()->SetTitle("Efficiency (%)");
  gr->GetYaxis()->SetRangeUser(0,100);
  gr->SetTitle("Efficiency vs Reverse Bias Voltage");
  gr->Draw("AP");
}