| 16 |
_histo.SetTitle("Event rate on S11 Vs. Stoermer cutoff"); |
_histo.SetTitle("Event rate on S11 Vs. Stoermer cutoff"); |
| 17 |
_histo.GetXaxis()->SetTitle("Stoermer cutoff (GV)"); |
_histo.GetXaxis()->SetTitle("Stoermer cutoff (GV)"); |
| 18 |
_histo.GetYaxis()->SetTitle("Event rate on S11 (Hz)"); |
_histo.GetYaxis()->SetTitle("Event rate on S11 (Hz)"); |
| 19 |
_histo.SetBins(1000, 0., 16., 1000, 0., 4000.); |
_histo.SetBins(100, 0., 16., 1000, 0., 4000.); |
| 20 |
} |
} |
| 21 |
|
|
| 22 |
void EvRateS11VsCutoffHistoAction::OnGood(PamLevel2 *event) { |
void EvRateS11VsCutoffHistoAction::OnGood(PamLevel2 *event) { |
| 33 |
TFile outFile(_outFileName, _mode); |
TFile outFile(_outFileName, _mode); |
| 34 |
outFile.cd(); |
outFile.cd(); |
| 35 |
_histo.Write(); |
_histo.Write(); |
| 36 |
//outFile.Close(); |
outFile.Close(); |
| 37 |
} |
} |