![]() |
GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
![]() |
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.
Definition at line 28 of file TRuntimeObjects.h.
Public Member Functions | |
TRuntimeObjects (std::shared_ptr< const TFragment > frag, TList *objects, TList *gates, std::vector< TFile * > &cut_files, TDirectory *directory=nullptr, const char *name="default") | |
TRuntimeObjects (TList *objects, TList *gates, std::vector< TFile * > &cut_files, TDirectory *directory=nullptr, const char *name="default") | |
TDirectory * | FillHistogram (const char *dirname, const char *name, int bins, double low, double high, double value, double weight=1) |
TDirectory * | FillHistogram (const char *dirname, const char *name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue, double weight=1) |
TH1 * | FillHistogram (const char *name, int bins, double low, double high, double value, double weight=1) |
TH2 * | FillHistogram (const char *name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue, double weight=1) |
TDirectory * | FillHistogram (const std::string &dirname, const std::string &name, int bins, double low, double high, double value, double weight=1) |
TDirectory * | FillHistogram (const std::string &dirname, const std::string &name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue, double weight=1) |
TH1 * | FillHistogram (const std::string &name, int bins, double low, double high, double value, double weight=1) |
TH2 * | FillHistogram (const std::string &name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue, double weight=1) |
TDirectory * | FillHistogramSym (const char *dirname, const char *name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue) |
TH2 * | FillHistogramSym (const char *name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue) |
TDirectory * | FillHistogramSym (const std::string &dirname, const std::string &name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue) |
TH2 * | FillHistogramSym (const std::string &name, int Xbins, double Xlow, double Xhigh, double Xvalue, int Ybins, double Ylow, double Yhigh, double Yvalue) |
TDirectory * | FillProfileHist (const char *dirname, const char *name, int Xbins, double Xlow, double Xhigh, double Xvalue, double Yvalue) |
TProfile * | FillProfileHist (const char *name, int Xbins, double Xlow, double Xhigh, double Xvalue, double Yvalue) |
TDirectory * | FillProfileHist (const std::string &dirname, const std::string &name, int Xbins, double Xlow, double Xhigh, double Xvalue, double Yvalue) |
TProfile * | FillProfileHist (const std::string &name, int Xbins, double Xlow, double Xhigh, double Xvalue, double Yvalue) |
TCutG * | GetCut (const std::string &name) |
template<typename T > | |
std::shared_ptr< T > | GetDetector () |
TDirectory * | GetDirectory () const |
std::shared_ptr< const TFragment > | GetFragment () |
TList & | GetGates () |
TList * | GetGatesPtr () |
TList & | GetObjects () |
TList * | GetObjectsPtr () |
double | GetVariable (const char *name) const |
void | SetDetectors (std::shared_ptr< TUnpackedEvent > det) |
void | SetDirectory (TDirectory *dir) |
void | SetFragment (std::shared_ptr< const TFragment > frag) |
Static Public Member Functions | |
static TRuntimeObjects * | Get (const std::string &name="default") |
Private Member Functions | |
TDirectory * | FindDirectory (const char *) |
Private Attributes | |
std::vector< TFile * > & | fCut_files |
std::shared_ptr< TUnpackedEvent > | fDetectors |
TDirectory * | fDirectory {nullptr} |
std::shared_ptr< const TFragment > | fFrag |
TList * | fGates {nullptr} |
TList * | fObjects {nullptr} |
Static Private Attributes | |
static std::map< std::string, TRuntimeObjects * > | fRuntimeMap |
TRuntimeObjects::TRuntimeObjects | ( | std::shared_ptr< const TFragment > | frag, |
TList * | objects, | ||
TList * | gates, | ||
std::vector< TFile * > & | cut_files, | ||
TDirectory * | directory = nullptr, | ||
const char * | name = "default" ) |
TRuntimeObjects::TRuntimeObjects | ( | TList * | objects, |
TList * | gates, | ||
std::vector< TFile * > & | cut_files, | ||
TDirectory * | directory = nullptr, | ||
const char * | name = "default" ) |
Definition at line 29 of file TRuntimeObjects.cxx.
References fRuntimeMap.
TDirectory * TRuntimeObjects::FillHistogram | ( | const char * | dirname, |
const char * | name, | ||
int | bins, | ||
double | low, | ||
double | high, | ||
double | value, | ||
double | weight = 1 ) |
Definition at line 62 of file TRuntimeObjects.cxx.
References FindDirectory(), and hist.
TDirectory * TRuntimeObjects::FillHistogram | ( | const char * | dirname, |
const char * | name, | ||
int | Xbins, | ||
double | Xlow, | ||
double | Xhigh, | ||
double | Xvalue, | ||
int | Ybins, | ||
double | Ylow, | ||
double | Yhigh, | ||
double | Yvalue, | ||
double | weight = 1 ) |
Definition at line 79 of file TRuntimeObjects.cxx.
References FindDirectory(), and hist.
TH1 * TRuntimeObjects::FillHistogram | ( | const char * | name, |
int | bins, | ||
double | low, | ||
double | high, | ||
double | value, | ||
double | weight = 1 ) |
Definition at line 37 of file TRuntimeObjects.cxx.
References FillHistogram().
Referenced by FillHistogram(), FillHistogram(), FillHistogram(), FillHistogram(), FillHistogram(), FillHistogram(), MakeAnalysisHistograms(), and MakeFragmentHistograms().
TH2 * TRuntimeObjects::FillHistogram | ( | const char * | name, |
int | Xbins, | ||
double | Xlow, | ||
double | Xhigh, | ||
double | Xvalue, | ||
int | Ybins, | ||
double | Ylow, | ||
double | Yhigh, | ||
double | Yvalue, | ||
double | weight = 1 ) |
Definition at line 43 of file TRuntimeObjects.cxx.
References FillHistogram().
|
inline |
Definition at line 93 of file TRuntimeObjects.h.
References FillHistogram().
|
inline |
Definition at line 98 of file TRuntimeObjects.h.
References FillHistogram().
|
inline |
Definition at line 64 of file TRuntimeObjects.h.
References FillHistogram().
|
inline |
Definition at line 68 of file TRuntimeObjects.h.
References FillHistogram().
TDirectory * TRuntimeObjects::FillHistogramSym | ( | const char * | dirname, |
const char * | name, | ||
int | Xbins, | ||
double | Xlow, | ||
double | Xhigh, | ||
double | Xvalue, | ||
int | Ybins, | ||
double | Ylow, | ||
double | Yhigh, | ||
double | Yvalue ) |
Definition at line 117 of file TRuntimeObjects.cxx.
References FindDirectory(), and hist.
TH2 * TRuntimeObjects::FillHistogramSym | ( | const char * | name, |
int | Xbins, | ||
double | Xlow, | ||
double | Xhigh, | ||
double | Xvalue, | ||
int | Ybins, | ||
double | Ylow, | ||
double | Yhigh, | ||
double | Yvalue ) |
Definition at line 55 of file TRuntimeObjects.cxx.
References FillHistogramSym().
Referenced by FillHistogramSym(), FillHistogramSym(), and FillHistogramSym().
|
inline |
Definition at line 109 of file TRuntimeObjects.h.
References FillHistogramSym().
|
inline |
Definition at line 78 of file TRuntimeObjects.h.
References FillHistogramSym().
TDirectory * TRuntimeObjects::FillProfileHist | ( | const char * | dirname, |
const char * | name, | ||
int | Xbins, | ||
double | Xlow, | ||
double | Xhigh, | ||
double | Xvalue, | ||
double | Yvalue ) |
Definition at line 97 of file TRuntimeObjects.cxx.
References FindDirectory().
TProfile * TRuntimeObjects::FillProfileHist | ( | const char * | name, |
int | Xbins, | ||
double | Xlow, | ||
double | Xhigh, | ||
double | Xvalue, | ||
double | Yvalue ) |
Definition at line 49 of file TRuntimeObjects.cxx.
References FillProfileHist().
Referenced by FillProfileHist(), FillProfileHist(), and FillProfileHist().
|
inline |
Definition at line 104 of file TRuntimeObjects.h.
References FillProfileHist().
|
inline |
Definition at line 73 of file TRuntimeObjects.h.
References FillProfileHist().
|
private |
Definition at line 167 of file TRuntimeObjects.cxx.
References GetObjects().
Referenced by FillHistogram(), FillHistogram(), FillHistogramSym(), and FillProfileHist().
|
inlinestatic |
Definition at line 117 of file TRuntimeObjects.h.
References fRuntimeMap.
TCutG * TRuntimeObjects::GetCut | ( | const std::string & | name | ) |
Definition at line 148 of file TRuntimeObjects.cxx.
References fCut_files.
|
inline |
Returns a pointer to the detector of type T.
Definition at line 41 of file TRuntimeObjects.h.
References fDetectors.
Referenced by MakeAnalysisHistograms().
|
inline |
Definition at line 137 of file TRuntimeObjects.h.
References fDirectory.
|
inline |
Definition at line 46 of file TRuntimeObjects.h.
References fFrag.
Referenced by MakeFragmentHistograms().
TList & TRuntimeObjects::GetGates | ( | ) |
Definition at line 143 of file TRuntimeObjects.cxx.
References fGates.
|
inline |
Definition at line 55 of file TRuntimeObjects.h.
References fGates.
TList & TRuntimeObjects::GetObjects | ( | ) |
Definition at line 138 of file TRuntimeObjects.cxx.
References fObjects.
Referenced by FindDirectory().
|
inline |
Definition at line 54 of file TRuntimeObjects.h.
References fObjects.
double TRuntimeObjects::GetVariable | ( | const char * | name | ) | const |
Definition at line 162 of file TRuntimeObjects.cxx.
References GValue::Value().
|
inline |
Definition at line 130 of file TRuntimeObjects.h.
References fDetectors.
Referenced by TCompiledHistograms::Fill().
|
inline |
Definition at line 133 of file TRuntimeObjects.h.
References fDirectory.
Referenced by TCompiledHistograms::Fill(), and TCompiledHistograms::Fill().
|
inline |
Definition at line 126 of file TRuntimeObjects.h.
References fFrag.
Referenced by TCompiledHistograms::Fill().
|
private |
Definition at line 148 of file TRuntimeObjects.h.
Referenced by GetCut().
|
private |
Definition at line 143 of file TRuntimeObjects.h.
Referenced by GetDetector(), and SetDetectors().
|
private |
Definition at line 150 of file TRuntimeObjects.h.
Referenced by GetDirectory(), and SetDirectory().
|
private |
Definition at line 144 of file TRuntimeObjects.h.
Referenced by GetFragment(), and SetFragment().
|
private |
Definition at line 147 of file TRuntimeObjects.h.
Referenced by GetGates(), and GetGatesPtr().
|
private |
Definition at line 146 of file TRuntimeObjects.h.
Referenced by GetObjects(), and GetObjectsPtr().
|
staticprivate |
Definition at line 140 of file TRuntimeObjects.h.
Referenced by TRuntimeObjects(), TRuntimeObjects(), and Get().