GRUTinizer
|
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 | |
TUnpackedEvent & | detectors |
TList * | objects |
TList * | variables |
TDirectory * | directory |
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.
TRuntimeObjects::TRuntimeObjects | ( | TUnpackedEvent & | detectors, |
TList * | objects, | ||
TList * | variables, | ||
TDirectory * | directory = NULL |
||
) |
Constructor.
|
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 | ) |
|
inline |
Returns a pointer to the detector of type T.
TList & TRuntimeObjects::GetObjects | ( | ) |
double TRuntimeObjects::GetVariable | ( | const char * | name | ) |
TList & TRuntimeObjects::GetVariables | ( | ) |
|
private |
|
private |
|
private |
|
private |