ROOTANA
|
#include <TAnaManager.hxx>
Public Member Functions | |
TAnaManager () | |
virtual | ~TAnaManager () |
int | ProcessMidasEvent (TDataContainer &dataContainer) |
Processes the midas event, fills histograms, etc. More... | |
void | UpdateForPlotting () |
Update those histograms that only need to be updated when we are plotting. More... | |
void | Initialize () |
bool | CheckOption (std::string option) |
void | BeginRun (int transition, int run, int time) |
void | EndRun (int transition, int run, int time) |
void | AddHistogram (THistogramArrayBase *histo) |
void | UpdateTransientPlots (TDataContainer &dataContainer) |
std::vector< THistogramArrayBase * > | GetHistograms () |
Private Attributes | |
TH2F * | fV1720PHCompare |
TH2F * | fV1720TimeCompare |
std::vector< THistogramArrayBase * > | fHistos |
This is an example of how to organize a set of different histograms so that we can access the same information in a display or a batch analyzer. Change the set of ifdef's above to define which equipment to use.
We simplify a lot of code by mostly using an array of THistogramArrayBase classes for storing different histograms.
Definition at line 37 of file TAnaManager.hxx.
TAnaManager::TAnaManager | ( | ) |
|
inlinevirtual |
Definition at line 40 of file TAnaManager.hxx.
void TAnaManager::AddHistogram | ( | THistogramArrayBase * | histo | ) |
Definition at line 68 of file TAnaManager.cxx.
|
inline |
bool TAnaManager::CheckOption | ( | std::string | option | ) |
|
inline |
|
inline |
void TAnaManager::Initialize | ( | ) |
int TAnaManager::ProcessMidasEvent | ( | TDataContainer & | dataContainer | ) |
Processes the midas event, fills histograms, etc.
Definition at line 77 of file TAnaManager.cxx.
void TAnaManager::UpdateForPlotting | ( | ) |
Update those histograms that only need to be updated when we are plotting.
void TAnaManager::UpdateTransientPlots | ( | TDataContainer & | dataContainer | ) |
Definition at line 127 of file TAnaManager.cxx.
|
private |
Definition at line 74 of file TAnaManager.hxx.
|
private |
Definition at line 71 of file TAnaManager.hxx.
|
private |
Definition at line 72 of file TAnaManager.hxx.