ndmspc 0.20250304.0
|
#include <PointDraw.h>
Public Member Functions | |
PointDraw () | |
virtual | ~PointDraw () |
int | DrawPoint (int level, std::string config="myAnalysis.json", std::string userConfig="", std::string environment="", std::string userConfigRaw="", std::string binning="") |
void | HighlightMain (TVirtualPad *pad, TObject *obj, Int_t xBin, Int_t yBin) |
void | HighlightParam (TVirtualPad *pad, TObject *obj, Int_t xBin, Int_t yBin) |
void | HighlightData (TVirtualPad *pad, TObject *obj, Int_t xBin, Int_t yBin) |
void | HighlightProjectionPoint (TVirtualPad *pad, TObject *obj, Int_t xBin, Int_t yBin) |
void | UpdateRanges () |
void | DrawProjections (bool ignoreMapping=false) |
void | DrawUser () |
Static Public Member Functions | |
static void | SetEnvironment (std::string env) |
Sets environment. | |
Protected Attributes | |
TFile * | fIn = nullptr |
Input file. | |
THnSparse * | fResultHnSparse = nullptr |
Result HnSparse. | |
std::string | fCurrentParameterName |
Current parameter name. | |
std::string | fCurrentContentPath |
Current content path. | |
std::vector< int > | fParameterPoint |
Parameter point. | |
std::vector< int > | fProjectionAxes |
Projection axes. | |
TH1 * | fMapAxesType = nullptr |
Map axes type. | |
std::string | fMapTitle |
Map title. | |
TH1 * | fParamMapHistogram = nullptr |
Param map histogram. | |
int | fNDimCuts = 0 |
Number of dimension cuts. | |
std::vector< std::string > | fData {} |
Data. | |
std::vector< int > | fDataId {} |
Data ids. | |
std::vector< std::string > | fMc {} |
MC. | |
std::vector< int > | fMcId {} |
MC ids. | |
Static Protected Attributes | |
static std::string | fgEnvironment = "" |
Currnet environment. | |
PointDraw object.
Definition at line 21 of file PointDraw.h.
Ndmspc::PointDraw::PointDraw | ( | ) |
Default constructor
Definition at line 22 of file PointDraw.cxx.
|
virtual |
Descructor
Definition at line 30 of file PointDraw.cxx.
int Ndmspc::PointDraw::DrawPoint | ( | int | level, |
std::string | config = "myAnalysis.json", | ||
std::string | userConfig = "", | ||
std::string | environment = "", | ||
std::string | userConfigRaw = "", | ||
std::string | binning = "" ) |
Draw
Definition at line 37 of file PointDraw.cxx.
References DrawProjections(), fCurrentParameterName, fData, fDataId, fIn, fMapAxesType, fMapTitle, fMc, fMcId, fNDimCuts, fParameterPoint, fProjectionAxes, fResultHnSparse, Ndmspc::Utils::GetCutsPath(), and Ndmspc::Core::LoadConfig().
void Ndmspc::PointDraw::DrawProjections | ( | bool | ignoreMapping = false | ) |
Draw projections
Definition at line 405 of file PointDraw.cxx.
References fCurrentParameterName, fParameterPoint, fProjectionAxes, fResultHnSparse, and UpdateRanges().
Referenced by DrawPoint(), HighlightData(), HighlightParam(), and HighlightProjectionPoint().
void Ndmspc::PointDraw::DrawUser | ( | ) |
Draw user function
Definition at line 326 of file PointDraw.cxx.
References fCurrentContentPath, and fIn.
Referenced by HighlightData(), and HighlightProjectionPoint().
void Ndmspc::PointDraw::HighlightData | ( | TVirtualPad * | pad, |
TObject * | obj, | ||
Int_t | xBin, | ||
Int_t | yBin ) |
Data highlight function
Definition at line 548 of file PointDraw.cxx.
References DrawProjections(), DrawUser(), fData, fDataId, fMc, fMcId, fParameterPoint, and Ndmspc::Utils::Tokenize().
Referenced by HighlightMain().
void Ndmspc::PointDraw::HighlightMain | ( | TVirtualPad * | pad, |
TObject * | obj, | ||
Int_t | xBin, | ||
Int_t | yBin ) |
Main highlight function
Definition at line 512 of file PointDraw.cxx.
References HighlightData(), and HighlightParam().
void Ndmspc::PointDraw::HighlightParam | ( | TVirtualPad * | pad, |
TObject * | obj, | ||
Int_t | xBin, | ||
Int_t | yBin ) |
Param highlight function
Definition at line 527 of file PointDraw.cxx.
References DrawProjections(), fCurrentParameterName, fParameterPoint, and fParamMapHistogram.
Referenced by HighlightMain().
void Ndmspc::PointDraw::HighlightProjectionPoint | ( | TVirtualPad * | pad, |
TObject * | obj, | ||
Int_t | xBin, | ||
Int_t | yBin ) |
Projection point highlight function
Definition at line 601 of file PointDraw.cxx.
References DrawProjections(), DrawUser(), fParameterPoint, and fProjectionAxes.
|
inlinestatic |
void Ndmspc::PointDraw::UpdateRanges | ( | ) |
Update ranges
Definition at line 382 of file PointDraw.cxx.
References fCurrentContentPath, fParameterPoint, and fResultHnSparse.
Referenced by DrawProjections().
|
protected |
Current content path.
Definition at line 33 of file PointDraw.h.
Referenced by DrawUser(), and UpdateRanges().
|
protected |
Current parameter name.
Definition at line 32 of file PointDraw.h.
Referenced by DrawPoint(), DrawProjections(), and HighlightParam().
|
protected |
|
protected |
Data ids.
Definition at line 41 of file PointDraw.h.
Referenced by DrawPoint(), and HighlightData().
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Parameter point.
Definition at line 34 of file PointDraw.h.
Referenced by DrawPoint(), DrawProjections(), HighlightData(), HighlightParam(), HighlightProjectionPoint(), and UpdateRanges().
|
protected |
|
protected |
Projection axes.
Definition at line 35 of file PointDraw.h.
Referenced by DrawPoint(), DrawProjections(), and HighlightProjectionPoint().
|
protected |
Result HnSparse.
Definition at line 31 of file PointDraw.h.
Referenced by DrawPoint(), DrawProjections(), and UpdateRanges().