/[PAMELA software]/PamCut/CollectionActions/EvRateS11VsCutoffHistoAction/EvRateS11VsCutoffHistoAction.cpp
ViewVC logotype

Diff of /PamCut/CollectionActions/EvRateS11VsCutoffHistoAction/EvRateS11VsCutoffHistoAction.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by pam-fi, Mon Jun 8 10:37:19 2009 UTC revision 1.4 by pam-fi, Wed Aug 5 13:58:41 2009 UTC
# Line 16  EvRateS11VsCutoffHistoAction::EvRateS11V Line 16  EvRateS11VsCutoffHistoAction::EvRateS11V
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) {
# Line 33  void EvRateS11VsCutoffHistoAction::Final Line 33  void EvRateS11VsCutoffHistoAction::Final
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  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23