TAnaManager Class Reference

#include <TAnaManager.hxx>

Collaboration diagram for TAnaManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAnaManager ()
virtual ~TAnaManager ()
int ProcessMidasEvent (TDataContainer &dataContainer)
 Processes the midas event, fills histograms, etc.
bool HaveV792Histograms ()
 Methods for determining if we have a particular set of histograms.
bool HaveV1190Histograms ()
bool HaveL2249Histograms ()
bool HaveAgilentistograms ()
bool HaveV1720Histograms ()
bool HaveV1730DPPistograms ()
bool HaveV1730Rawistograms ()
bool HaveDT724Histograms ()
TV792HistogramsGetV792Histograms ()
 Methods for getting particular set of histograms.
TV1190HistogramsGetV1190Histograms ()
TL2249HistogramsGetL2249Histograms ()
TAgilentHistogramsGetAgilentistograms ()
TV1720WaveformGetV1720Histograms ()
TV1730DppWaveformGetV1730DPPistograms ()
TV1730RawWaveformGetV1730Rawistograms ()
TDT724WaveformGetDT724Histograms ()

Private Attributes

TV792HistogramsfV792Histogram
TV1190HistogramsfV1190Histogram
TL2249HistogramsfL2249Histogram
TAgilentHistogramsfAgilentHistogram
TV1720WaveformfV1720Waveform
TV1730DppWaveformfV1730DppWaveform
TV1730RawWaveformfV1730RawWaveform
TDT724WaveformfDT724Waveform

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.

Definition at line 28 of file TAnaManager.hxx.


Constructor & Destructor Documentation

TAnaManager::TAnaManager (  ) 

Definition at line 5 of file TAnaManager.cxx.

References THistogramArrayBase::DisableAutoUpdate(), fAgilentHistogram, fDT724Waveform, fL2249Histogram, fV1190Histogram, fV1720Waveform, fV1730DppWaveform, fV1730RawWaveform, and fV792Histogram.

00005                         {
00006 
00007         fV792Histogram = 0;
00008 #ifdef USE_V792
00009         fV792Histogram = new TV792Histograms();
00010         fV792Histogram->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00011 #endif
00012 
00013         fV1190Histogram = 0;
00014 #ifdef USE_V1190
00015         fV1190Histogram = new TV1190Histograms();
00016         fV1190Histogram->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00017 #endif
00018 
00019         fL2249Histogram = 0;
00020 #ifdef USE_L2249
00021   fL2249Histogram = new TL2249Histograms();
00022         fL2249Histogram->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00023 #endif
00024 
00025         fAgilentHistogram = 0;
00026 #ifdef USE_AGILENT
00027         fAgilentHistogram = new TAgilentHistograms();
00028         fAgilentHistogram->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00029 #endif
00030 
00031         fV1720Waveform = 0;
00032 #ifdef USE_V1720
00033         fV1720Waveform = new TV1720Waveform();
00034         fV1720Waveform->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00035 #endif
00036 
00037         fV1730DppWaveform = 0;
00038 #ifdef USE_V1730DPP
00039   fV1730DppWaveform = new TV1730DppWaveform();
00040         fV1730DppWaveform->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00041 #endif
00042 
00043         fV1730RawWaveform = 0;
00044 #ifdef USE_V1730RAW
00045         fV1730RawWaveform = new TV1730RawWaveform();
00046         fV1730RawWaveform->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00047 #endif
00048 
00049         fDT724Waveform = 0;
00050 #ifdef USE_DT724
00051         fDT724Waveform = new TDT724Waveform();
00052         fDT724Waveform->DisableAutoUpdate();  // disable auto-update.  Update histo in AnaManager.
00053 #endif
00054 
00055 };

Here is the call graph for this function:

virtual TAnaManager::~TAnaManager (  )  [inline, virtual]

Definition at line 31 of file TAnaManager.hxx.

00031 {};


Member Function Documentation

TAgilentHistograms * TAnaManager::GetAgilentistograms (  ) 

Definition at line 112 of file TAnaManager.cxx.

References fAgilentHistogram.

Referenced by MyTestLoop::AddAllCanvases().

00112 {return fAgilentHistogram;}

Here is the caller graph for this function:

TDT724Waveform * TAnaManager::GetDT724Histograms (  ) 

Definition at line 116 of file TAnaManager.cxx.

References fDT724Waveform.

Referenced by MyTestLoop::AddAllCanvases().

00116 {return fDT724Waveform;}

Here is the caller graph for this function:

TL2249Histograms * TAnaManager::GetL2249Histograms (  ) 

Definition at line 111 of file TAnaManager.cxx.

References fL2249Histogram.

Referenced by MyTestLoop::AddAllCanvases().

00111 {return fL2249Histogram;}

Here is the caller graph for this function:

TV1190Histograms * TAnaManager::GetV1190Histograms (  ) 

Definition at line 110 of file TAnaManager.cxx.

References fV1190Histogram.

Referenced by MyTestLoop::AddAllCanvases().

00110 {return fV1190Histogram;}

Here is the caller graph for this function:

TV1720Waveform * TAnaManager::GetV1720Histograms (  ) 

Definition at line 113 of file TAnaManager.cxx.

References fV1720Waveform.

Referenced by MyTestLoop::AddAllCanvases().

00113 {return fV1720Waveform;}

Here is the caller graph for this function:

TV1730DppWaveform * TAnaManager::GetV1730DPPistograms (  ) 

Definition at line 114 of file TAnaManager.cxx.

References fV1730DppWaveform.

Referenced by MyTestLoop::AddAllCanvases().

00114 {return fV1730DppWaveform;}

Here is the caller graph for this function:

TV1730RawWaveform * TAnaManager::GetV1730Rawistograms (  ) 

Definition at line 115 of file TAnaManager.cxx.

References fV1730RawWaveform.

Referenced by MyTestLoop::AddAllCanvases().

00115 {return fV1730RawWaveform;}

Here is the caller graph for this function:

TV792Histograms * TAnaManager::GetV792Histograms (  ) 

Methods for getting particular set of histograms.

Definition at line 109 of file TAnaManager.cxx.

References fV792Histogram.

Referenced by MyTestLoop::AddAllCanvases().

00109 {return fV792Histogram;}

Here is the caller graph for this function:

bool TAnaManager::HaveAgilentistograms (  ) 

Definition at line 88 of file TAnaManager.cxx.

References fAgilentHistogram.

Referenced by MyTestLoop::AddAllCanvases().

00088                                       {
00089         if(fAgilentHistogram) return true; 
00090         return false;
00091 };

Here is the caller graph for this function:

bool TAnaManager::HaveDT724Histograms (  ) 

Definition at line 104 of file TAnaManager.cxx.

References fDT724Waveform.

Referenced by MyTestLoop::AddAllCanvases().

00104                                      {
00105         if(fDT724Waveform) return true; 
00106         return false;
00107 };

Here is the caller graph for this function:

bool TAnaManager::HaveL2249Histograms (  ) 

Definition at line 84 of file TAnaManager.cxx.

References fL2249Histogram.

Referenced by MyTestLoop::AddAllCanvases().

00084                                      {
00085         if(fL2249Histogram) return true; 
00086         return false;
00087 };

Here is the caller graph for this function:

bool TAnaManager::HaveV1190Histograms (  ) 

Definition at line 80 of file TAnaManager.cxx.

References fV1190Histogram.

Referenced by MyTestLoop::AddAllCanvases().

00080                                      {
00081         if(fV1190Histogram) return true; 
00082         return false;
00083 };

Here is the caller graph for this function:

bool TAnaManager::HaveV1720Histograms (  ) 

Definition at line 92 of file TAnaManager.cxx.

References fV1720Waveform.

Referenced by MyTestLoop::AddAllCanvases().

00092                                      {
00093         if(fV1720Waveform) return true; 
00094         return false;
00095 };

Here is the caller graph for this function:

bool TAnaManager::HaveV1730DPPistograms (  ) 

Definition at line 96 of file TAnaManager.cxx.

References fV1730DppWaveform.

Referenced by MyTestLoop::AddAllCanvases().

00096                                        {
00097         if(fV1730DppWaveform) return true; 
00098         return false;
00099 };

Here is the caller graph for this function:

bool TAnaManager::HaveV1730Rawistograms (  ) 

Definition at line 100 of file TAnaManager.cxx.

References fV1730RawWaveform.

Referenced by MyTestLoop::AddAllCanvases().

00100                                        {
00101         if(fV1730RawWaveform) return true; 
00102         return false;
00103 };

Here is the caller graph for this function:

bool TAnaManager::HaveV792Histograms (  ) 

Methods for determining if we have a particular set of histograms.

Definition at line 76 of file TAnaManager.cxx.

References fV792Histogram.

Referenced by MyTestLoop::AddAllCanvases().

00076                                     {
00077         if(fV792Histogram) return true; 
00078         return false;
00079 }

Here is the caller graph for this function:

int TAnaManager::ProcessMidasEvent ( TDataContainer dataContainer  ) 

Member Data Documentation


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

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1