

Definition at line 21 of file TCompiledHistograms.h.
Public Member Functions | |
| TCompiledHistograms () | |
| TCompiledHistograms (std::string input_lib, std::string func_name) | |
| void | AddCutFile (TFile *cut_file) |
| void | ClearHistograms () |
| void | Fill (std::shared_ptr< const TFragment > frag) |
| void | Fill (std::shared_ptr< TUnpackedEvent > detectors) |
| TDirectory * | GetDefaultDirectory () |
| TList * | GetGates () |
| std::string | GetLibraryName () const |
| TList * | GetObjects () |
| void | Load (std::string libname, std::string func_name) |
| void | Reload () |
| void | SetDefaultDirectory (TDirectory *dir) |
| Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) override |
Private Member Functions | |
| ClassDefOverride (TCompiledHistograms, 0) | |
| bool | file_exists () |
| time_t | get_timestamp () |
| void | swap_lib (TCompiledHistograms &other) |
Private Attributes | |
| int | fCheck_every |
| std::vector< TFile * > | fCut_files |
| TDirectory * | fDefault_directory |
| void(* | fFunc )(TRuntimeObjects &) |
| std::string | fFunc_name |
| TList | fGates |
| time_t | fLast_checked |
| time_t | fLast_modified |
| std::string | fLibname |
| std::shared_ptr< DynamicLibrary > | fLibrary |
| std::mutex | fMutex |
| TRuntimeObjects | fObj |
| TList | fObjects |
#include <TCompiledHistograms.h>
Inheritance diagram for TCompiledHistograms:
Collaboration diagram for TCompiledHistograms:| TCompiledHistograms::TCompiledHistograms | ( | ) |
Definition at line 23 of file TCompiledHistograms.cxx.
| TCompiledHistograms::TCompiledHistograms | ( | std::string | input_lib, |
| std::string | func_name | ||
| ) |
Definition at line 29 of file TCompiledHistograms.cxx.
References fFunc, fFunc_name, fLast_checked, fLast_modified, fLibname, fLibrary, and get_timestamp().
| void TCompiledHistograms::AddCutFile | ( | TFile * | cut_file | ) |
Definition at line 179 of file TCompiledHistograms.cxx.
References fCut_files.
Referenced by TFragHistLoop::AddCutFile(), and TAnalysisHistLoop::AddCutFile().
|
private |
| void TCompiledHistograms::ClearHistograms | ( | ) |
Definition at line 46 of file TCompiledHistograms.cxx.
References fMutex, fObjects, and hist.
Referenced by TFragHistLoop::ClearHistograms(), and TAnalysisHistLoop::ClearHistograms().
|
private |
| void TCompiledHistograms::Fill | ( | std::shared_ptr< const TFragment > | frag | ) |
Definition at line 139 of file TCompiledHistograms.cxx.
References fCheck_every, fDefault_directory, fFunc, fLast_checked, fLibrary, fMutex, fObj, Reload(), TRuntimeObjects::SetDirectory(), and TRuntimeObjects::SetFragment().
Referenced by TFragHistLoop::Iteration(), and TAnalysisHistLoop::Iteration().
| void TCompiledHistograms::Fill | ( | std::shared_ptr< TUnpackedEvent > | detectors | ) |
Definition at line 159 of file TCompiledHistograms.cxx.
References fCheck_every, fDefault_directory, fFunc, fLast_checked, fLibrary, fMutex, fObj, Reload(), TRuntimeObjects::SetDetectors(), and TRuntimeObjects::SetDirectory().
|
private |
Definition at line 71 of file TCompiledHistograms.cxx.
References fLibname.
Referenced by Reload(), and TCompiledHistograms().
|
inline |
Definition at line 36 of file TCompiledHistograms.h.
References fDefault_directory.
|
inline |
Definition at line 41 of file TCompiledHistograms.h.
References fGates.
Referenced by TFragHistLoop::GetGates(), and TAnalysisHistLoop::GetGates().
|
inline |
Definition at line 33 of file TCompiledHistograms.h.
References fLibname.
Referenced by TFragHistLoop::GetLibraryName(), and TAnalysisHistLoop::GetLibraryName().
|
inline |
Definition at line 40 of file TCompiledHistograms.h.
References fObjects.
Referenced by TFragHistLoop::GetObjects(), and TAnalysisHistLoop::GetObjects().
| void TCompiledHistograms::Load | ( | std::string | libname, |
| std::string | func_name | ||
| ) |
Definition at line 113 of file TCompiledHistograms.cxx.
References swap_lib().
Referenced by TFragHistLoop::LoadLibrary(), and TAnalysisHistLoop::LoadLibrary().
| void TCompiledHistograms::Reload | ( | ) |
Definition at line 119 of file TCompiledHistograms.cxx.
References fFunc_name, file_exists(), fLast_checked, fLast_modified, fLibname, get_timestamp(), and swap_lib().
Referenced by Fill().
| void TCompiledHistograms::SetDefaultDirectory | ( | TDirectory * | dir | ) |
Definition at line 186 of file TCompiledHistograms.cxx.
References fDefault_directory, fObjects, and hist.
Referenced by TFragHistLoop::OpenFile(), and TAnalysisHistLoop::OpenFile().
|
private |
Definition at line 128 of file TCompiledHistograms.cxx.
References fCheck_every, fFunc, fFunc_name, fLast_checked, fLast_modified, fLibname, and fLibrary.
|
override |
Definition at line 84 of file TCompiledHistograms.cxx.
References fObjects.
Referenced by TFragHistLoop::Write(), and TAnalysisHistLoop::Write().
|
private |
Definition at line 62 of file TCompiledHistograms.h.
Referenced by Fill(), and swap_lib().
|
private |
Definition at line 66 of file TCompiledHistograms.h.
Referenced by AddCutFile().
|
private |
Definition at line 68 of file TCompiledHistograms.h.
Referenced by Fill(), GetDefaultDirectory(), and SetDefaultDirectory().
|
private |
Definition at line 58 of file TCompiledHistograms.h.
Referenced by Fill(), swap_lib(), and TCompiledHistograms().
|
private |
Definition at line 53 of file TCompiledHistograms.h.
Referenced by Reload(), swap_lib(), and TCompiledHistograms().
|
private |
Definition at line 65 of file TCompiledHistograms.h.
Referenced by GetGates().
|
private |
Definition at line 60 of file TCompiledHistograms.h.
Referenced by Fill(), Reload(), swap_lib(), and TCompiledHistograms().
|
private |
Definition at line 59 of file TCompiledHistograms.h.
Referenced by Reload(), swap_lib(), and TCompiledHistograms().
|
private |
Definition at line 52 of file TCompiledHistograms.h.
Referenced by file_exists(), get_timestamp(), GetLibraryName(), Reload(), swap_lib(), and TCompiledHistograms().
|
private |
Definition at line 55 of file TCompiledHistograms.h.
Referenced by Fill(), swap_lib(), and TCompiledHistograms().
|
private |
Definition at line 56 of file TCompiledHistograms.h.
Referenced by ClearHistograms(), and Fill().
|
private |
Definition at line 70 of file TCompiledHistograms.h.
Referenced by Fill().
|
private |
Definition at line 64 of file TCompiledHistograms.h.
Referenced by ClearHistograms(), GetObjects(), SetDefaultDirectory(), and Write().