#include <EvRateS11VsCutoffHistoAction.h>
Public Member Functions | |
EvRateS11VsCutoffHistoAction (const char *actionName, TString outFileName) | |
Constructor. | |
~EvRateS11VsCutoffHistoAction () | |
Destructor. | |
void | OnGood (PamLevel2 *event) |
Fills histogram with the selected event. | |
void | Finalize () |
Writes the histogram to the output file. | |
Private Attributes | |
TString | _outFileName |
TH2F | _histo |
The event rate on S11 is the mean of the event rates on each PMT of S11.
Definition at line 19 of file EvRateS11VsCutoffHistoAction.h.
EvRateS11VsCutoffHistoAction::EvRateS11VsCutoffHistoAction | ( | const char * | actionName, | |
TString | outFileName | |||
) |
Constructor.
actionName | The action's name. | |
outFileName | The output file name. |
Definition at line 12 of file EvRateS11VsCutoffHistoAction.cpp.
References _histo.
EvRateS11VsCutoffHistoAction::~EvRateS11VsCutoffHistoAction | ( | ) | [inline] |
void EvRateS11VsCutoffHistoAction::Finalize | ( | ) | [virtual] |
Writes the histogram to the output file.
Implements CollectionAction.
Definition at line 31 of file EvRateS11VsCutoffHistoAction.cpp.
References _histo, and _outFileName.
void EvRateS11VsCutoffHistoAction::OnGood | ( | PamLevel2 * | event | ) | [virtual] |
Fills histogram with the selected event.
event | The selected event. |
Implements CollectionAction.
Definition at line 22 of file EvRateS11VsCutoffHistoAction.cpp.
References _histo.
TH2F EvRateS11VsCutoffHistoAction::_histo [private] |
Definition at line 45 of file EvRateS11VsCutoffHistoAction.h.
Referenced by EvRateS11VsCutoffHistoAction(), Finalize(), and OnGood().
TString EvRateS11VsCutoffHistoAction::_outFileName [private] |