ROOTANA
Public Member Functions | Private Attributes
TAnaManager Class Reference

#include <TAnaManager.hxx>

Collaboration diagram for TAnaManager:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TAnaManager()

TAnaManager::TAnaManager ( )

Definition at line 5 of file TAnaManager.cxx.

Here is the call graph for this function:

◆ ~TAnaManager()

virtual TAnaManager::~TAnaManager ( )
inlinevirtual

Definition at line 40 of file TAnaManager.hxx.

Member Function Documentation

◆ AddHistogram()

void TAnaManager::AddHistogram ( THistogramArrayBase histo)

Definition at line 68 of file TAnaManager.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BeginRun()

void TAnaManager::BeginRun ( int  transition,
int  run,
int  time 
)
inline

Definition at line 52 of file TAnaManager.hxx.

Here is the caller graph for this function:

◆ CheckOption()

bool TAnaManager::CheckOption ( std::string  option)

◆ EndRun()

void TAnaManager::EndRun ( int  transition,
int  run,
int  time 
)
inline

Definition at line 53 of file TAnaManager.hxx.

Here is the caller graph for this function:

◆ GetHistograms()

std::vector<THistogramArrayBase*> TAnaManager::GetHistograms ( )
inline

Definition at line 64 of file TAnaManager.hxx.

Here is the caller graph for this function:

◆ Initialize()

void TAnaManager::Initialize ( )

◆ ProcessMidasEvent()

int TAnaManager::ProcessMidasEvent ( TDataContainer dataContainer)

Processes the midas event, fills histograms, etc.

Definition at line 77 of file TAnaManager.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateForPlotting()

void TAnaManager::UpdateForPlotting ( )

Update those histograms that only need to be updated when we are plotting.

◆ UpdateTransientPlots()

void TAnaManager::UpdateTransientPlots ( TDataContainer dataContainer)

Definition at line 127 of file TAnaManager.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ fHistos

std::vector<THistogramArrayBase*> TAnaManager::fHistos
private

Definition at line 74 of file TAnaManager.hxx.

◆ fV1720PHCompare

TH2F* TAnaManager::fV1720PHCompare
private

Definition at line 71 of file TAnaManager.hxx.

◆ fV1720TimeCompare

TH2F* TAnaManager::fV1720TimeCompare
private

Definition at line 72 of file TAnaManager.hxx.


The documentation for this class was generated from the following files: