ndmspc 0.20250128.0
Loading...
Searching...
No Matches
Ndmspc::Results Class Reference

Results object. More...

#include <Results.h>

Inheritance diagram for Ndmspc::Results:

Public Member Functions

bool LoadConfig (std::string configfilename="config.json", std::string userconfig="", std::string environment="", std::string userConfigRaw="")
 
bool LoadResults ()
 
void SetFileName (std::string filename)
 
int GetNCuts ()
 
void GenerateTitle ()
 
bool ApplyPoints ()
 
virtual void Draw (Option_t *option="")
 
virtual void Print (Option_t *option="") const
 

Private Attributes

std::string fInputFileName {""}
 
TFile * fInputFile {nullptr}
 file name
 
std::string fResultsHnSparseName {"results"}
 input file
 
THnSparse * fResultHnSparse {nullptr}
 results object name
 
std::string fResultFileName {"results.root"}
 results sparse histogram
 
TH1 * fMapAxesType {nullptr}
 results file name
 
std::string fMapAxesTypeName {"mapAxesType"}
 map axes type
 
DataSource fDataSource {simple}
 map axes type name
 
std::string fParametesAxisName {"parameters"}
 data source
 
std::string fCurrentParameterName {""}
 parameters axis name
 
std::string fMapTitle {""}
 current parameter name
 
std::vector< std::string > fCuts
 map type title
 
std::vector< int > fPoint
 cuts
 
std::vector< std::string > fAxes
 point
 
std::vector< std::string > fAxesTypes
 axes names
 
std::map< std::string, std::vector< std::string > > fAxesLabels
 axes types
 
std::map< std::string, int > fAxesBinSizes
 axes labels
 

Detailed Description

Results object.

Author
Martin Vala mvala.nosp@m.@cer.nosp@m.n.ch

Definition at line 20 of file Results.h.

Constructor & Destructor Documentation

◆ Results()

Ndmspc::Results::Results ( )

Definition at line 13 of file Results.cxx.

◆ ~Results()

Ndmspc::Results::~Results ( )
virtual

Definition at line 14 of file Results.cxx.

Member Function Documentation

◆ ApplyPoints()

bool Ndmspc::Results::ApplyPoints ( )

Apply point

Definition at line 206 of file Results.cxx.

◆ Draw()

void Ndmspc::Results::Draw ( Option_t * option = "")
virtual

Draw results

Definition at line 252 of file Results.cxx.

◆ GenerateTitle()

void Ndmspc::Results::GenerateTitle ( )

Generate title

Definition at line 227 of file Results.cxx.

◆ GetNCuts()

int Ndmspc::Results::GetNCuts ( )
inline

Definition at line 29 of file Results.h.

◆ LoadConfig()

bool Ndmspc::Results::LoadConfig ( std::string configfilename = "config.json",
std::string userconfig = "",
std::string environment = "",
std::string userConfigRaw = "" )

Definition at line 15 of file Results.cxx.

◆ LoadResults()

bool Ndmspc::Results::LoadResults ( )

Load results

Definition at line 74 of file Results.cxx.

◆ Print()

void Ndmspc::Results::Print ( Option_t * option = "") const
virtual

Print results information

Definition at line 42 of file Results.cxx.

◆ SetFileName()

void Ndmspc::Results::SetFileName ( std::string filename)
inline

Definition at line 28 of file Results.h.

Member Data Documentation

◆ fAxes

std::vector<std::string> Ndmspc::Results::fAxes
private

point

Definition at line 50 of file Results.h.

◆ fAxesBinSizes

std::map<std::string, int> Ndmspc::Results::fAxesBinSizes
private

axes labels

Definition at line 53 of file Results.h.

◆ fAxesLabels

std::map<std::string, std::vector<std::string> > Ndmspc::Results::fAxesLabels
private

axes types

Definition at line 52 of file Results.h.

◆ fAxesTypes

std::vector<std::string> Ndmspc::Results::fAxesTypes
private

axes names

Definition at line 51 of file Results.h.

◆ fCurrentParameterName

std::string Ndmspc::Results::fCurrentParameterName {""}
private

parameters axis name

Definition at line 46 of file Results.h.

◆ fCuts

std::vector<std::string> Ndmspc::Results::fCuts
private

map type title

Definition at line 48 of file Results.h.

◆ fDataSource

DataSource Ndmspc::Results::fDataSource {simple}
private

map axes type name

Definition at line 44 of file Results.h.

◆ fInputFile

TFile* Ndmspc::Results::fInputFile {nullptr}
private

file name

Definition at line 38 of file Results.h.

◆ fInputFileName

std::string Ndmspc::Results::fInputFileName {""}
private

Definition at line 37 of file Results.h.

◆ fMapAxesType

TH1* Ndmspc::Results::fMapAxesType {nullptr}
private

results file name

Definition at line 42 of file Results.h.

◆ fMapAxesTypeName

std::string Ndmspc::Results::fMapAxesTypeName {"mapAxesType"}
private

map axes type

Definition at line 43 of file Results.h.

◆ fMapTitle

std::string Ndmspc::Results::fMapTitle {""}
private

current parameter name

Definition at line 47 of file Results.h.

◆ fParametesAxisName

std::string Ndmspc::Results::fParametesAxisName {"parameters"}
private

data source

Definition at line 45 of file Results.h.

◆ fPoint

std::vector<int> Ndmspc::Results::fPoint
private

cuts

Definition at line 49 of file Results.h.

◆ fResultFileName

std::string Ndmspc::Results::fResultFileName {"results.root"}
private

results sparse histogram

Definition at line 41 of file Results.h.

◆ fResultHnSparse

THnSparse* Ndmspc::Results::fResultHnSparse {nullptr}
private

results object name

Definition at line 40 of file Results.h.

◆ fResultsHnSparseName

std::string Ndmspc::Results::fResultsHnSparseName {"results"}
private

input file

Definition at line 39 of file Results.h.


The documentation for this class was generated from the following files: