ndmspc
0.20250128.0
|
#include <PointDraw.h>
Public Member Functions | |
PointRun (std::string macro="NdmspcPointRun.C") | |
virtual | ~PointRun () |
bool | Run (std::string filename, std::string userConfig="", std::string environment="", std::string userConfigRaw="", bool show=false, std::string outfilename="") |
json & | Cfg () |
json * | CfgPtr () |
TFile * | GetInputFile () const |
TList * | GetInputList () const |
THnSparse * | GetResultObject () const |
Int_t * | GetCurrentPoint () |
std::vector< std::string > | GetCurrentPointLabels () |
json | GetCurrentPointValue () |
TList * | GetOutputList () const |
void | SetOutputList (TList *outList) |
void | SetSkipCurrentBin (bool scb=true) |
void | SetProcessExit (bool pe=true) |
Static Public Member Functions | |
static void | SetEnvironment (std::string env) |
static bool | Generate (std::string name="myAnalysis", std::string inFile="myFile.root", std::string inObjectName="myNDHistogram") |
static bool | Merge (std::string name="myAnalysis.json", std::string userConfig="", std::string environment="", std::string userConfigRaw="", std::string fileOpt="?remote=1") |
Private Member Functions | |
bool | LoadConfig (std::string config, std::string userConfig="", std::string environment="", std::string userConfigRaw="", bool show=false, std::string outfilename="") |
Environment. More... | |
bool | Init (std::string extraPath="") |
bool | Finish () |
TList * | OpenInputs () |
THnSparse * | CreateResult () |
bool | ApplyCuts () |
int | ProcessSingleFile () |
bool | ProcessSinglePoint () |
bool | ProcessRecursive (int i) |
bool | ProcessRecursiveInner (Int_t i, std::vector< std::string > &n) |
void | OutputFileOpen () |
void | OutputFileClose () |
int | ProcessHistogramRun () |
Private Attributes | |
TMacro * | fMacro {nullptr} |
int | fVerbose {0} |
Macro. | |
int | fBinCount {0} |
Verbose level. | |
TFile * | fInputFile {nullptr} |
Bin Count (TODO! rename to axis level maybe) | |
TList * | fInputList {nullptr} |
THnSparse * | fResultObject {nullptr} |
TFile * | fCurrentOutputFile {nullptr} |
std::string | fCurrentOutputFileName {} |
TDirectory * | fCurrentOutputRootDirectory {nullptr} |
Int_t | fCurrentPoint [32] |
std::vector< std::string > | fCurrentPointLabels {} |
json | fCurrentPointValue {} |
THnSparse * | fCurrentProccessHistogram {nullptr} |
TH1S * | fMapAxesType {nullptr} |
std::vector< TAxis * > | fCurrentProcessHistogramAxes {} |
std::vector< int > | fCurrentProcessHistogramPoint {} |
bool | fIsSkipBin {false} |
bool | fIsProcessOk {false} |
bool | fIsProcessExit {false} |
TList * | fOutputList {nullptr} |
Static Private Attributes | |
static std::string | fgEnvironment = "" |
PointRun object.
Definition at line 23 of file PointRun.h.
Ndmspc::PointRun::PointRun | ( | std::string | macro = "NdmspcPointRun.C" | ) |
Default constructor
Definition at line 24 of file PointRun.cxx.
|
virtual |
Descructor
Definition at line 35 of file PointRun.cxx.
|
private |
|
private |
|
static |
Generate point macro and config
Definition at line 1052 of file PointRun.cxx.
References Ndmspc::Utils::OpenFile().
|
private |
Init
Definition at line 73 of file PointRun.cxx.
References fVerbose, and Ndmspc::Utils::OpenFile().
|
private |
Environment.
Load config and set default PointRun parameters
Definition at line 42 of file PointRun.cxx.
References fVerbose.
|
private |
Open Input objects
Definition at line 154 of file PointRun.cxx.
References fInputFile, fVerbose, and Ndmspc::Utils::OpenFile().