GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TGRSIFrame.h
Go to the documentation of this file.
1#ifndef TGRSIFRAME_H
2#define TGRSIFRAME_H
3#include "RVersion.h"
4#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 14, 0)
5
6#include <map>
7#include <string>
8
9#include "TList.h"
10
11#include "TGRSIOptions.h"
12#include "TPPG.h"
13#include "TRedirect.h"
14
15#include "ROOT/RDataFrame.hxx"
16#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 24, 0)
17#include "ROOT/RLogger.hxx"
18#endif
19
20/** \addtogroup Framing
21 * * @{
22 * */
23
24////////////////////////////////////////////////////////////////////////////////
25///
26/// \class TGRSIFrame
27///
28/// This class fills the input list with TPPG, run info, analysis options, user
29/// settings, etc. Creating it also triggers the compilation of the user helper
30/// if necessary.
31/// It also provides the infrastructure for running the helper and writing the
32/// output file.
33///
34////////////////////////////////////////////////////////////////////////////////
35
37public:
38 TGRSIFrame();
39
40 void Run(TRedirect*& redirect);
41
42private:
43 std::string fOutputPrefix{"default"};
44 ROOT::RDF::RResultPtr<std::map<std::string, TList>> fOutput;
45
47 TPPG* fPpg{nullptr};
48
49 ROOT::RDataFrame* fDataFrame{nullptr};
50 Long64_t fTotalEntries{0};
51
52#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 24, 0)
53 ROOT::Experimental::RLogScopedVerbosity* fVerbosity{nullptr};
54#endif
55};
56
57/*! @} */
59
60#endif
61#endif
void DummyFunctionToLocateTGRSIFrameLibrary()
ROOT::Experimental::RLogScopedVerbosity * fVerbosity
Definition TGRSIFrame.h:53
TPPG * fPpg
Definition TGRSIFrame.h:47
std::string fOutputPrefix
Definition TGRSIFrame.h:43
TGRSIOptions * fOptions
Definition TGRSIFrame.h:46
void Run(TRedirect *&redirect)
Long64_t fTotalEntries
Definition TGRSIFrame.h:50
ROOT::RDataFrame * fDataFrame
Definition TGRSIFrame.h:49
ROOT::RDF::RResultPtr< std::map< std::string, TList > > fOutput
Definition TGRSIFrame.h:44
Definition TPPG.h:132