ndmspc  v1.2.0-0.1.rc3
Ndmspc::NGnTree Class Reference

NDMSPC tree object for managing multi-dimensional data storage and processing. More...

#include <NGnTree.h>

Inheritance diagram for Ndmspc::NGnTree:

Public Member Functions

 NGnTree ()
 Default constructor. More...
 
 NGnTree (std::vector< TAxis * > axes, std::string filename="", std::string treename="ngnt")
 Constructor from vector of axes. More...
 
 NGnTree (TObjArray *axes, std::string filename="", std::string treename="ngnt")
 Constructor from TObjArray of axes. More...
 
 NGnTree (NGnTree *ngnt, std::string filename="", std::string treename="ngnt")
 Constructor from another NGnTree. More...
 
 NGnTree (NBinning *binning, NStorageTree *treeStorage)
 Constructor from NBinning and NStorageTree. More...
 
 NGnTree (THnSparse *hns, std::string parameterAxis, const std::string &outFileName="/tmp/ngnt_imported.root", json cfg=json::object())
 Constructs an NGnTree object from a THnSparse histogram. More...
 
virtual ~NGnTree ()
 Destructor. More...
 
virtual void Print (Option_t *option="") const override
 Print tree information. More...
 
virtual void Draw (Option_t *option="") override
 Draws the tree object. More...
 
void Play (int timeout=0, std::string binning="", std::vector< int > outputPointIds={0}, std::vector< std::vector< int >> ranges={}, Option_t *option="")
 Play tree data with optional binning and output point IDs. More...
 
NBinningGetBinning () const
 Get pointer to binning object. More...
 
void SetBinning (NBinning *binning)
 Set binning object pointer. More...
 
NStorageTreeGetStorageTree () const
 Get pointer to storage tree object. More...
 
std::map< std::string, TList * > GetOutputs () const
 Get outputs map. More...
 
TList * GetOutput (std::string name="")
 Get output list by name. More...
 
void SetOutputs (std::map< std::string, TList * > outputs)
 Set outputs map. More...
 
NGnTreeGetInput () const
 Get pointer to input NGnTree. More...
 
void SetInput (NGnTree *input)
 Set input NGnTree pointer. More...
 
NGnNavigatorGetNavigator () const
 Returns the navigator associated with this tree. More...
 
void SetNavigator (NGnNavigator *navigator)
 Sets the navigator for this tree. More...
 
bool IsPureCopy () const
 Checks if the tree is a pure copy. More...
 
void SetIsPureCopy (bool val)
 Sets the pure copy status of the tree. More...
 
Long64_t GetEntries () const
 Get number of entries in storage tree. More...
 
Int_t GetEntry (Long64_t entry, bool checkBinningDef=true)
 Get entry by index. More...
 
Int_t GetEntry (std::vector< std::vector< int >> range, bool checkBinningDef=true)
 Retrieves the entry corresponding to the specified range. More...
 
bool Close (bool write=false)
 Close the tree, optionally writing data. More...
 
bool Process (NGnProcessFuncPtr func, const json &cfg=json::object(), std::string binningName="", NGnBeginFuncPtr beginFunc=nullptr, NGnEndFuncPtr endFunc=nullptr)
 Process tree data using a function pointer and configuration. More...
 
bool Process (NGnProcessFuncPtr func, const std::vector< std::string > &defNames, const json &cfg=json::object(), NBinning *binningIn=nullptr, NGnBeginFuncPtr beginFunc=nullptr, NGnEndFuncPtr endFunc=nullptr)
 Process tree data using a function pointer and definition names. More...
 
void SetWorkerMacro (const std::string &macroList)
 Set the macro(s) that TCP workers should load when bootstrapping. More...
 
TList * Projection (const json &cfg, std::string binningName="")
 Project tree data using configuration and binning name. More...
 
NGnNavigatorReshape (std::string binningName, std::vector< std::vector< int >> levels, int level=0, std::map< int, std::vector< int >> ranges={}, std::map< int, std::vector< int >> rangesBase={})
 Reshape navigator using binning name and levels. More...
 
NGnNavigatorGetResourceStatisticsNavigator (std::string binningName, std::vector< std::vector< int >> levels, int level=0, std::map< int, std::vector< int >> ranges={}, std::map< int, std::vector< int >> rangesBase={})
 Returns a navigator for resource statistics based on binning and levels. More...
 
NParametersGetParameters () const
 Returns the parameters associated with this tree. More...
 
bool InitParameters (const std::vector< std::string > &paramNames)
 Initializes the parameters for the tree using the provided parameter names. More...
 

Static Public Member Functions

static NGnTreeOpen (const std::string &filename, const std::string &branches="", const std::string &treename="ngnt")
 Open NGnTree from file. More...
 
static NGnTreeOpen (TTree *tree, const std::string &branches="", TFile *file=nullptr)
 Open NGnTree from TTree. More...
 
static NGnTreeImport (const std::string &findPath, const std::string &fileName, const std::vector< std::string > &headers, const std::string &outFileName="/tmp/ngnt_imported.root", bool close=true)
 Imports an NGnTree from a specified file. More...
 
static std::string BuildObjectPath (const json &cfg, const json &objCfg, const NBinningPoint *point)
 Helper: build object path string from configuration and a binning point. More...
 

Protected Attributes

NBinningfBinning {nullptr}
 Binning object.
 
NStorageTreefTreeStorage {nullptr}
 Tree storage.
 
std::map< std::string, TList * > fOutputs
 Outputs.
 
NGnTreefInput {nullptr}
 Input NGnTree for processing.
 
NGnNavigatorfNavigator {nullptr}
 ! Navigator object
 
NParametersfParameters {nullptr}
 Parameters object.
 
bool fOwnsBinning {true}
 True when fBinning is owned by this instance.
 
bool fOwnsTreeStorage {true}
 True when fTreeStorage is owned by this instance.
 
bool fIsPureCopy {false}
 Flag indicating pure copy mode.
 
std::string fWorkerMacroList
 Comma-separated macro paths sent to TCP workers.
 

Detailed Description

NDMSPC tree object for managing multi-dimensional data storage and processing.

Provides methods for construction, printing, playing, processing, projections, and access to binning, storage, outputs, and input trees. Supports opening from files/trees, entry management, and integration with NBinning and NStorageTree.

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

Definition at line 75 of file NGnTree.h.

Constructor & Destructor Documentation

◆ NGnTree() [1/6]

Ndmspc::NGnTree::NGnTree ( )

Default constructor.

Global pointer to the HTTP handler map.

This variable holds a pointer to the global HttpHandlerMap instance, which is used to manage HTTP request handlers within the application. It is initialized to nullptr and should be set during application startup.

Definition at line 157 of file NGnTree.cxx.

Referenced by GetResourceStatisticsNavigator(), Import(), NGnTree(), and Open().

◆ NGnTree() [2/6]

Ndmspc::NGnTree::NGnTree ( std::vector< TAxis * >  axes,
std::string  filename = "",
std::string  treename = "ngnt" 
)

Constructor from vector of axes.

Parameters
axesVector of TAxis pointers.
filenameOptional file name.
treenameOptional tree name (default: "ngnt").

Constructor

Definition at line 159 of file NGnTree.cxx.

References fBinning, fNavigator, fTreeStorage, Ndmspc::NStorageTree::InitTree(), and Ndmspc::NGnNavigator::SetGnTree().

◆ NGnTree() [3/6]

Ndmspc::NGnTree::NGnTree ( TObjArray *  axes,
std::string  filename = "",
std::string  treename = "ngnt" 
)

Constructor from TObjArray of axes.

Parameters
axesTObjArray of axes.
filenameOptional file name.
treenameOptional tree name (default: "ngnt").

Constructor

Definition at line 176 of file NGnTree.cxx.

References fBinning, fNavigator, fTreeStorage, Ndmspc::NStorageTree::InitTree(), and Ndmspc::NGnNavigator::SetGnTree().

◆ NGnTree() [4/6]

Ndmspc::NGnTree::NGnTree ( NGnTree ngnt,
std::string  filename = "",
std::string  treename = "ngnt" 
)

Constructor from another NGnTree.

Parameters
ngntPointer to NGnTree object.
filenameOptional file name.
treenameOptional tree name (default: "ngnt").

Constructor

Definition at line 200 of file NGnTree.cxx.

References fBinning, fNavigator, fTreeStorage, GetBinning(), Ndmspc::NStorageTree::InitTree(), and Ndmspc::NGnNavigator::SetGnTree().

◆ NGnTree() [5/6]

Ndmspc::NGnTree::NGnTree ( NBinning binning,
NStorageTree treeStorage 
)

◆ NGnTree() [6/6]

Ndmspc::NGnTree::NGnTree ( THnSparse *  hns,
std::string  parameterAxis,
const std::string &  outFileName = "/tmp/ngnt_imported.root",
json  cfg = json::object() 
)

Constructs an NGnTree object from a THnSparse histogram.

Parameters
hnsPointer to the input THnSparse histogram.
parameterAxisOptional name of the parameter axis
outFileNameName of the output file to store the imported tree (default: "/tmp/ngnt_imported.root").
cfgOptional JSON configuration object (default: empty object).

Import THnSparse as NGnTree and use given parameter axis as result parameter

Definition at line 254 of file NGnTree.cxx.

References Ndmspc::NBinning::AddBinningDefinition(), BuildObjectPath(), Close(), GetBinning(), Ndmspc::NBinningPoint::GetCfg(), Ndmspc::NBinningPoint::GetEntryNumber(), Ndmspc::NBinningPoint::GetInput(), GetInput(), GetOutput(), Ndmspc::NBinningPoint::GetParameters(), Ndmspc::NBinningPoint::GetStorageCoords(), Ndmspc::NBinningPoint::GetString(), Ndmspc::NBinningPoint::GetTempObject(), InitParameters(), NGnTree(), Open(), Print(), Process(), Ndmspc::NUtils::SetAxisRanges(), SetInput(), Ndmspc::NParameters::SetParameter(), and Ndmspc::NBinningPoint::SetTempObject().

◆ ~NGnTree()

Ndmspc::NGnTree::~NGnTree ( )
virtual

Destructor.

Destructor

Definition at line 453 of file NGnTree.cxx.

References fBinning, fNavigator, fOwnsBinning, fOwnsTreeStorage, fParameters, and fTreeStorage.

Member Function Documentation

◆ BuildObjectPath()

std::string Ndmspc::NGnTree::BuildObjectPath ( const json &  cfg,
const json &  objCfg,
const NBinningPoint point 
)
static

Helper: build object path string from configuration and a binning point.

Parameters
cfgGlobal configuration json (contains axes, defaults, filename, ...).
objCfgObject-specific configuration json (contains prefix, sufix, ...).
pointPointer to NBinningPoint providing bin/min/max/label access.
Returns
Constructed object path string to retrieve from file.

Definition at line 43 of file NGnTree.cxx.

References Ndmspc::NBinningPoint::GetBin(), Ndmspc::NBinningPoint::GetBinCenter(), Ndmspc::NBinningPoint::GetBinLabel(), Ndmspc::NBinningPoint::GetBinMax(), and Ndmspc::NBinningPoint::GetBinMin().

Referenced by NGnTree().

◆ Close()

bool Ndmspc::NGnTree::Close ( bool  write = false)

Close the tree, optionally writing data.

Parameters
writeIf true, write data before closing.
Returns
True if closed successfully.

Close the storage tree

Definition at line 1326 of file NGnTree.cxx.

References Ndmspc::NStorageTree::Close(), fOutputs, and fTreeStorage.

Referenced by Import(), Ndmspc::NGnThreadData::Merge(), NGnTree(), and Process().

◆ Draw()

void Ndmspc::NGnTree::Draw ( Option_t *  option = "")
overridevirtual

Draws the tree object.

This method overrides the base class Draw function to provide custom drawing logic for the NGnTree object.

Parameters
optionOptional string to specify drawing options.

Draw object

Definition at line 492 of file NGnTree.cxx.

◆ GetBinning()

◆ GetEntries()

Long64_t Ndmspc::NGnTree::GetEntries ( ) const
inline

Get number of entries in storage tree.

Returns
Number of entries.

Definition at line 236 of file NGnTree.h.

References fTreeStorage, and Ndmspc::NStorageTree::GetEntries().

◆ GetEntry() [1/2]

Int_t Ndmspc::NGnTree::GetEntry ( Long64_t  entry,
bool  checkBinningDef = true 
)

Get entry by index.

Parameters
entryEntry index.
checkBinningDefCheck binning definition.
Returns
Status code.

Get entry

Definition at line 1340 of file NGnTree.cxx.

References fBinning, fParameters, fTreeStorage, Ndmspc::NStorageTree::GetBranch(), Ndmspc::NBinning::GetCurrentDefinitionName(), Ndmspc::NStorageTree::GetEntry(), Ndmspc::NTreeBranch::GetObject(), and Ndmspc::NBinning::GetPoint().

Referenced by GetEntry(), Ndmspc::NGnThreadData::Merge(), Play(), Projection(), and Ndmspc::NGnNavigator::Reshape().

◆ GetEntry() [2/2]

Int_t Ndmspc::NGnTree::GetEntry ( std::vector< std::vector< int >>  range,
bool  checkBinningDef = true 
)

Retrieves the entry corresponding to the specified range.

Parameters
rangeA vector of vectors of integers specifying the range for each dimension.
checkBinningDefIf true, checks the binning definition before retrieving the entry (default: true).
Returns
Int_t The index of the entry corresponding to the given range.

Get entry by range

Definition at line 1355 of file NGnTree.cxx.

References GetEntry().

◆ GetInput()

NGnTree* Ndmspc::NGnTree::GetInput ( ) const
inline

Get pointer to input NGnTree.

Returns
Pointer to NGnTree.

Definition at line 198 of file NGnTree.h.

References fInput.

Referenced by Ndmspc::NGnThreadData::Merge(), NGnTree(), and Ndmspc::NGnThreadData::Process().

◆ GetNavigator()

NGnNavigator* Ndmspc::NGnTree::GetNavigator ( ) const
inline

Returns the navigator associated with this tree.

Returns
Pointer to the NGnNavigator instance.

Definition at line 210 of file NGnTree.h.

References fNavigator.

◆ GetOutput()

TList * Ndmspc::NGnTree::GetOutput ( std::string  name = "")

Get output list by name.

Parameters
nameOutput name (optional).
Returns
Pointer to TList.

Get output list for the given binning definition name

Definition at line 1206 of file NGnTree.cxx.

References fBinning, fOutputs, and Ndmspc::NBinning::GetCurrentDefinitionName().

Referenced by Ndmspc::NGnThreadData::Merge(), NGnTree(), Ndmspc::NGnThreadData::Process(), and Projection().

◆ GetOutputs()

std::map<std::string, TList *> Ndmspc::NGnTree::GetOutputs ( ) const
inline

Get outputs map.

Returns
Map of output names to TList pointers.

Definition at line 179 of file NGnTree.h.

References fOutputs.

Referenced by Ndmspc::NGnThreadData::Merge(), and Process().

◆ GetParameters()

NParameters* Ndmspc::NGnTree::GetParameters ( ) const
inline

Returns the parameters associated with this tree.

Returns
Pointer to NParameters object containing the tree's parameters.

Definition at line 329 of file NGnTree.h.

References fParameters.

Referenced by Ndmspc::NGnThreadData::Init(), and Process().

◆ GetResourceStatisticsNavigator()

NGnNavigator * Ndmspc::NGnTree::GetResourceStatisticsNavigator ( std::string  binningName,
std::vector< std::vector< int >>  levels,
int  level = 0,
std::map< int, std::vector< int >>  ranges = {},
std::map< int, std::vector< int >>  rangesBase = {} 
)

Returns a navigator for resource statistics based on binning and levels.

Parameters
binningNameName of the binning scheme to use.
levelsA vector of vectors specifying the levels for binning.
levelThe starting level (default is 0).
rangesOptional map specifying ranges for each level.
rangesBaseOptional map specifying base ranges for each level.
Returns
Pointer to NGnNavigator configured for resource statistics.

Get resource statistics navigator

Definition at line 1636 of file NGnTree.cxx.

References fBinning, fOutputs, Ndmspc::NBinning::GetCurrentDefinitionName(), NGnTree(), and Open().

◆ GetStorageTree()

NStorageTree* Ndmspc::NGnTree::GetStorageTree ( ) const
inline

Get pointer to storage tree object.

Returns
Pointer to NStorageTree.

Definition at line 173 of file NGnTree.h.

References fTreeStorage.

Referenced by Import(), Ndmspc::NGnThreadData::Init(), Ndmspc::NGnThreadData::Merge(), Ndmspc::NGnThreadData::Process(), Process(), Projection(), and Ndmspc::NGnNavigator::Reshape().

◆ Import()

NGnTree * Ndmspc::NGnTree::Import ( const std::string &  findPath,
const std::string &  fileName,
const std::vector< std::string > &  headers,
const std::string &  outFileName = "/tmp/ngnt_imported.root",
bool  close = true 
)
static

Imports an NGnTree from a specified file.

Searches for the file in the given path, using the provided headers, and imports the NGnTree. Optionally, the imported tree can be saved to a specified output file.

Parameters
findPathThe directory path to search for the file.
fileNameThe name of the file to import.
headersA vector of header strings to use during import.
outFileNameThe output file name to save the imported tree (default: "/tmp/ngnt_imported.root").
Returns
A pointer to the imported NGnTree object, or nullptr on failure.

Import NGnTree from mutiple files in the given path

Definition at line 1693 of file NGnTree.cxx.

References Ndmspc::NBinning::AddBinningDefinition(), Ndmspc::NStorageTree::AddBranch(), Ndmspc::NUtils::ArrayToVector(), Ndmspc::NUtils::AxesFromDirectory(), Close(), Ndmspc::NUtils::Find(), Ndmspc::NBinning::GetAxes(), Ndmspc::NBinningPoint::GetBinLabel(), GetBinning(), Ndmspc::NStorageTree::GetBranch(), Ndmspc::NBinningPoint::GetCfg(), Ndmspc::NBinningPoint::GetCoords(), Ndmspc::NUtils::GetCoordsString(), Ndmspc::NStorageTree::GetFileName(), Ndmspc::NBinningPoint::GetNDimensionsContent(), Ndmspc::NBinningPoint::GetStorageTree(), GetStorageTree(), Ndmspc::NBinningPoint::GetTempObject(), Ndmspc::NBinningPoint::GetTreeStorage(), NGnTree(), Open(), Process(), Ndmspc::NTreeBranch::SetAddress(), SetIsPureCopy(), and Ndmspc::NBinningPoint::SetTempObject().

◆ InitParameters()

bool Ndmspc::NGnTree::InitParameters ( const std::vector< std::string > &  paramNames)

Initializes the parameters for the tree using the provided parameter names.

This function sets up the internal parameter structure based on the given list of parameter names.

Parameters
paramNamesA vector of strings containing the names of the parameters to initialize.
Returns
true if initialization was successful, false otherwise.

Initialize parameters

Definition at line 1672 of file NGnTree.cxx.

References fParameters.

Referenced by NGnTree().

◆ IsPureCopy()

bool Ndmspc::NGnTree::IsPureCopy ( ) const
inline

Checks if the tree is a pure copy.

Returns
true if the tree is a pure copy, false otherwise.

Definition at line 223 of file NGnTree.h.

References fIsPureCopy.

Referenced by Ndmspc::NGnThreadData::Init().

◆ Open() [1/2]

NGnTree * Ndmspc::NGnTree::Open ( const std::string &  filename,
const std::string &  branches = "",
const std::string &  treename = "ngnt" 
)
static

Open NGnTree from file.

Parameters
filenameFile name.
branchesBranches to open.
treenameTree name (default: "ngnt").
Returns
Pointer to opened NGnTree.

Open NGnTree from file

Definition at line 1222 of file NGnTree.cxx.

Referenced by GetResourceStatisticsNavigator(), Import(), Ndmspc::NGnThreadData::Init(), Ndmspc::NGnThreadData::Merge(), NGnTree(), and Projection().

◆ Open() [2/2]

NGnTree * Ndmspc::NGnTree::Open ( TTree *  tree,
const std::string &  branches = "",
TFile *  file = nullptr 
)
static

Open NGnTree from TTree.

Parameters
treePointer to TTree.
branchesBranches to open.
filePointer to TFile.
Returns
Pointer to opened NGnTree.

Open NGnTree from existing tree

Definition at line 1246 of file NGnTree.cxx.

References Ndmspc::NStorageTree::GetBranchesMap(), Ndmspc::NUtils::GetCoordsString(), NGnTree(), Ndmspc::NStorageTree::SetBranchAddresses(), Ndmspc::NStorageTree::SetEnabledBranches(), Ndmspc::NStorageTree::SetFileTree(), Ndmspc::NGnNavigator::SetGnTree(), SetNavigator(), SetOutputs(), and Ndmspc::NUtils::Tokenize().

◆ Play()

void Ndmspc::NGnTree::Play ( int  timeout = 0,
std::string  binning = "",
std::vector< int >  outputPointIds = {0},
std::vector< std::vector< int >>  ranges = {},
Option_t *  option = "" 
)

Play tree data with optional binning and output point IDs.

Parameters
timeoutTimeout in seconds.
binningBinning name.
outputPointIdsVector of output point IDs.
rangesVector of ranges for axes.
optionPlay options.
wsOptional workspace string.

Play the tree

Definition at line 1364 of file NGnTree.cxx.

References fBinning, fTreeStorage, Ndmspc::NStorageTree::GetBranch(), Ndmspc::NBinningDef::GetContent(), Ndmspc::NBinning::GetCurrentDefinitionName(), Ndmspc::NBinning::GetDefinition(), Ndmspc::NBinning::GetDefinitionNames(), GetEntry(), Ndmspc::NTreeBranch::GetObject(), Ndmspc::NBinning::GetPoint(), Ndmspc::NBinningPoint::GetStorageCoords(), Ndmspc::NBinningDef::Print(), Ndmspc::NBinningPoint::Print(), and Ndmspc::NUtils::SetAxisRanges().

◆ Print()

void Ndmspc::NGnTree::Print ( Option_t *  option = "") const
overridevirtual

Print tree information.

Parameters
optionPrint options.

Print object

Definition at line 468 of file NGnTree.cxx.

References fBinning, fTreeStorage, Ndmspc::NBinning::Print(), and Ndmspc::NStorageTree::Print().

Referenced by NGnTree(), and Ndmspc::NGnNavigator::Print().

◆ Process() [1/2]

bool Ndmspc::NGnTree::Process ( NGnProcessFuncPtr  func,
const json &  cfg = json::object(),
std::string  binningName = "",
NGnBeginFuncPtr  beginFunc = nullptr,
NGnEndFuncPtr  endFunc = nullptr 
)

Process tree data using a function pointer and configuration.

Parameters
funcProcessing function pointer.
cfgJSON configuration object.
binningNameBinning name.
Returns
True if processed successfully.

Process the sparse object with the given function

Definition at line 501 of file NGnTree.cxx.

References fBinning, Ndmspc::NBinning::GetDefinitionNames(), Ndmspc::NBinning::Reset(), and Ndmspc::NBinning::SetCfg().

Referenced by Import(), NGnTree(), and Projection().

◆ Process() [2/2]

bool Ndmspc::NGnTree::Process ( NGnProcessFuncPtr  func,
const std::vector< std::string > &  defNames,
const json &  cfg = json::object(),
NBinning binningIn = nullptr,
NGnBeginFuncPtr  beginFunc = nullptr,
NGnEndFuncPtr  endFunc = nullptr 
)

◆ Projection()

TList * Ndmspc::NGnTree::Projection ( const json &  cfg,
std::string  binningName = "" 
)

◆ Reshape()

NGnNavigator * Ndmspc::NGnTree::Reshape ( std::string  binningName,
std::vector< std::vector< int >>  levels,
int  level = 0,
std::map< int, std::vector< int >>  ranges = {},
std::map< int, std::vector< int >>  rangesBase = {} 
)

Reshape navigator using binning name and levels.

Parameters
binningNameName of binning definition.
levelsVector of levels.
levelCurrent level (default: 0).
rangesMap of ranges for axes.
rangesBaseMap of base ranges for axes.
Returns
Pointer to reshaped NGnNavigator.

Reshape the navigator

Definition at line 1623 of file NGnTree.cxx.

References Ndmspc::NGnNavigator::Reshape(), and Ndmspc::NGnNavigator::SetGnTree().

◆ SetBinning()

void Ndmspc::NGnTree::SetBinning ( NBinning binning)
inline

Set binning object pointer.

Parameters
binningPointer to NBinning.

Definition at line 167 of file NGnTree.h.

References fBinning.

◆ SetInput()

void Ndmspc::NGnTree::SetInput ( NGnTree input)
inline

Set input NGnTree pointer.

Parameters
inputPointer to NGnTree.

Definition at line 204 of file NGnTree.h.

References fInput.

Referenced by Ndmspc::NGnThreadData::Init(), NGnTree(), and Projection().

◆ SetIsPureCopy()

void Ndmspc::NGnTree::SetIsPureCopy ( bool  val)
inline

Sets the pure copy status of the tree.

Parameters
valBoolean value to set the pure copy status.

Definition at line 230 of file NGnTree.h.

References fIsPureCopy.

Referenced by Import().

◆ SetNavigator()

void Ndmspc::NGnTree::SetNavigator ( NGnNavigator navigator)

Sets the navigator for this tree.

Parameters
navigatorPointer to the NGnNavigator instance to associate.

Set navigator

Definition at line 1312 of file NGnTree.cxx.

References fNavigator.

Referenced by Open().

◆ SetOutputs()

void Ndmspc::NGnTree::SetOutputs ( std::map< std::string, TList * >  outputs)
inline

Set outputs map.

Parameters
outputsMap of output names to TList pointers.

Definition at line 192 of file NGnTree.h.

References fOutputs.

Referenced by Open().

◆ SetWorkerMacro()

void Ndmspc::NGnTree::SetWorkerMacro ( const std::string &  macroList)
inline

Set the macro(s) that TCP workers should load when bootstrapping.

Call this before Process() on the supervisor side. The macro list is sent to each worker via the CONFIG bootstrap message so workers do not need to be started with –macro on the command line.

Parameters
macroListComma-separated list of macro file paths or URLs.

Definition at line 292 of file NGnTree.h.

References fWorkerMacroList.


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