GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TRuntimeObjects Class Reference

Object passed to the online histograms. More...

#include <TRuntimeObjects.h>

Public Member Functions

 TRuntimeObjects (TUnpackedEvent &detectors, TList *objects, TList *variables, TDirectory *directory=NULL)
 Constructor.
template<typename T >
T * GetDetector ()
 Returns a pointer to the detector of type T.
TCutG * GetCut (const std::string &name)
TList & GetObjects ()
TList & GetVariables ()
void FillHistogram (std::string name, int bins, double low, double high, double value)
void FillHistogram (std::string name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue)
double GetVariable (const char *name)

Private Member Functions

 ClassDef (TRuntimeObjects, 0)

Private Attributes

TUnpackedEventdetectors
TList * objects
TList * variables
TDirectory * directory

Detailed Description

Object passed to the online histograms.

For each event, an instance of this type will be passed to the custom histogrammer. This class contains all detectors present, and all existing cuts and histograms.

Constructor & Destructor Documentation

TRuntimeObjects::TRuntimeObjects ( TUnpackedEvent detectors,
TList *  objects,
TList *  variables,
TDirectory *  directory = NULL 
)

Constructor.

Member Function Documentation

TRuntimeObjects::ClassDef ( TRuntimeObjects  ,
 
)
private
void TRuntimeObjects::FillHistogram ( std::string  name,
int  bins,
double  low,
double  high,
double  value 
)
void TRuntimeObjects::FillHistogram ( std::string  name,
int  Xbins,
double  Xlow,
double  Xhigh,
double  Xvalue,
int  Ybins,
double  Ylow,
double  Yhigh,
double  Yvalue 
)
TCutG * TRuntimeObjects::GetCut ( const std::string &  name)
template<typename T >
T* TRuntimeObjects::GetDetector ( )
inline

Returns a pointer to the detector of type T.

TList & TRuntimeObjects::GetObjects ( )
double TRuntimeObjects::GetVariable ( const char *  name)
TList & TRuntimeObjects::GetVariables ( )

Member Data Documentation

TUnpackedEvent& TRuntimeObjects::detectors
private
TDirectory* TRuntimeObjects::directory
private
TList* TRuntimeObjects::objects
private
TList* TRuntimeObjects::variables
private

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